bifacial_radiance icon indicating copy to clipboard operation
bifacial_radiance copied to clipboard

Issues with startime format mm_dd_hh on readWeatherFile

Open shirubana opened this issue 2 years ago • 2 comments

First identified TMY3 subhourly format failing on readEPWWeatherFile

simulation_D8.ini

[timeControlParamsDict] starttime = 06_21_12 endtime = 06_22_12

weatherFile = C:\Users\sayala\Documents\GitHub\bifacial_radiance\tests\Custom_WeatherFile_TMY3format_15mins_2021_wTrackerAngles_BESTFieldData.csv

image

shirubana avatar Oct 11 '22 14:10 shirubana

starttime format causing funny things in Solargis as well,. maybe related to #439 ? Accroding to documentation

    starttime : str
        Limited start time option in 'YYYY-mm-dd_HHMM' or 'mm_dd_HH' format

Dont work

[timeControlParamsDict] starttime = 06_21_1130 endtime = 06_22_1230

[timeControlParamsDict] starttime = 06_21_11 endtime = 06_22_12

[timeControlParamsDict] starttime = 06_21 endtime = 06_22

simulation D9 testing with solargis in the test folder:

WORKS: [timeControlParamsDict] starttime = 2020-06-21_1130 endtime = 2020-06-22_1230

[timeControlParamsDict] starttime = 2020-06-21_11 endtime = 2020-06-22_12

[timeControlParamsDict] starttime = 2020-06-21 endtime = 2020-06-22

shirubana avatar Oct 11 '22 15:10 shirubana

I tried reading Solargis TMY file however, it somehow not parsing the info and gives the error message. I found a way-out by creating TMY3 from solargis and it worked.

image

jaivik1 avatar Feb 08 '23 07:02 jaivik1