Can Open studio OpenStudio generate Zonecontrol:thermostat?ZoneControl:Thermostat?
I need to create a thermostat dualsetpoint
But when I set ScheduleWeek for the ScheduleYear using C# code it's failed.
After reading the source code, the problem is it will check the assumedYear.
"if (yd.assumedYear() != untilDate.assumedBaseYear()){ LOG(Error, ..."
First question: Do I need to check the function return value each time? Open Studio does not throw exceptions?
If throw where can I know what exceptions may be thrown for each function? How can I get the Open Studio log for debugging like the log in this example?
Second question: I know the assumedyear of the date is 2009. Then I set the yeardescription's assumedyear to 2009 too.
The scheduleweek set successfully. Then two scheduleyears set for the OS:ThermostatSetpoint:DualSetpoint. But still no dualsetpoint and zonecontrol:thermostat in the IDF
Third question: What does assumedyear mean? Why do we check this?