thank you all for your replies it means a lot to me. thanks.
below is the beginning of the program in which I need to build the GUI. I added some comments so that we can understand what I need to do.
first of all, I need to build some welcome pages and ass the user to provide some information such as his or her name.
from PySSC import PySSC
if name == âmainâ:
ssc = PySSC()
print (âCurrent folder = C:/Users/romia/Desktop/residential pv with batteryâ)
print (âSSC Version = â, ssc.version())
print (âSSC Build Information = â, ssc.build_info().decode(âutf - 8â))
ssc.module_exec_set_print(0)
data = ssc.data_create()
ssc.data_set_number( data, bâen_belpeâ, 1 )
# ssc.data_set_array_from_csv( data, bâloadâ, bâC:/Users/romia/Desktop/residential pv with battery/load.csvâ);
ssc.data_set_string( data, bâsolar_resource_fileâ, bâC:/SAM/2020.11.29/solar_resource/phoenix_az_33.450495_-111.983688_psmv3_60_tmy.csvâ ); **âher I need to be able to ass the user to provide this information by choosing a file in a databaseâ**in the next window we can ask the user to provide information such as floor area, stories, year built, number of occupant etcâŚ
ssc.data_set_number( data, bâfloor_areaâ, 2000 )
ssc.data_set_number( data, bâStoriesâ, 2 )
ssc.data_set_number( data, bâYrBuiltâ, 1980 )
ssc.data_set_number( data, bâRetrofitsâ, 0 )
ssc.data_set_number( data, bâOccupantsâ, 4 )
Occ_Schedule =[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ];
ssc.data_set_array( data, bâOcc_Scheduleâ, Occ_Schedule);
ssc.data_set_number( data, bâTHeatâ, 68 )
ssc.data_set_number( data, bâTCoolâ, 76 )
ssc.data_set_number( data, bâTHeatSBâ, 68 )
ssc.data_set_number( data, bâTCoolSBâ, 76 )
T_Sched =[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ];
ssc.data_set_array( data, bâT_Schedâ, T_Sched);
ssc.data_set_number( data, bâen_heatâ, 1 )
ssc.data_set_number( data, bâen_coolâ, 1 )
I hope you understand what I mean. this program is working as I want but I just need to create windows and label around it. please this is just the beginning of the code.
regards