Revision history [back]
Can OpenStudio generate 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?
Can OpenStudio generate 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?
Can OpenStudio Open studio 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?
Can Open studio generate Zonecontrol:thermostat?
I need to create a In the OSM one thermostat dualsetpoint
is set with following code
zone.setThermostatSetpointDualSetpoint(thermostatDualSetpoint);
, !- Illuminance Map Name
, !- Group Rendering Name
{638ab791-d9fe-41f6-9946-bce75374631d}, !- Thermostat Name
No; !- Use Ideal Air Loads
But when I set ScheduleWeek for in the ScheduleYear using C# code it's failed.
After reading the source code, the problem translated IDF there 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? no this information. No DualSetpoint
, no ZoneControl:Thermostat
.
Does 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? support that?
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?
Can Open studio generate Zonecontrol:thermostat?
In the OSM one thermostat is set with following code
zone.setThermostatSetpointDualSetpoint(thermostatDualSetpoint);
, !- Illuminance Map Name
, !- Group Rendering Name
{638ab791-d9fe-41f6-9946-bce75374631d}, !- Thermostat Name
No; !- Use Ideal Air Loads
But in the translated IDF there is no this information. No DualSetpoint
, no ZoneControl:Thermostat
.
Does Open Studio support that?
Can Open studio generate Zonecontrol:thermostat?
In the OSM one thermostat is set with following codecode
zone.setThermostatSetpointDualSetpoint(thermostatDualSetpoint);
zone.setThermostatSetpointDualSetpoint(thermostatDualSetpoint);
But in the translated IDF there is no this information. No dualsetpoint. No ZoneControl:Thermostat.
Does Open Studio support that? DualSetpoint
, no ZoneControl:Thermostat
.