-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TimeseriesObjectiveFunction fails because of missing year argument #27
Comments
Another useful update for this measure would be to remove
|
@brianlball and @lgentile in addition to writing documentation we should also add a test to this measures. Could try to use FRP for test which might be the quickest, or could make a simple purpose made sample model for the test and documentation. Maybe there is another project we are working on that would be good for test and documentation. |
Another comment/improvement to this measure (and all other measures in general) is to break up the |
Another improvement is to use a standardized time format (ISO 8601) so that users don't have to reformat data after using other tools (e.g. Python Pandas). Maybe that's an EnergyPlus issue though. Additionally, the measure failed when using the |
Hi, If possible, could you please share a csv file example so I can use it as a template? Thank you. |
The year from the CSV file needs to be added as an argument to the
MonthOfYear
call in line 546 (or use line 544 instead).openstudio-calibration-gem/lib/measures/TimeseriesObjectiveFunction/measure.rb
Lines 535 to 547 in f45c3ca
Without it, OpenStudio assumes 2009, which fails the >= conditional below for timestamps after 2009.
openstudio-calibration-gem/lib/measures/TimeseriesObjectiveFunction/measure.rb
Lines 554 to 559 in f45c3ca
Experienced this issue with timeseries data in the following format.
datetime,occ_zone_temp_ave,plm_zone_temp_ave,
10/30/2020 0:00,25.61841766,23.6810688,
10/30/2020 0:01,25.61639483,23.692894,
10/30/2020 0:02,25.62348463,23.70474212,
10/30/2020 0:03,25.62786781,23.69617423,
10/30/2020 0:04,25.62711445,23.69417523,
10/30/2020 0:05,25.63245887,23.69228997,
The text was updated successfully, but these errors were encountered: