-
Notifications
You must be signed in to change notification settings - Fork 26
Description
Possibly related to NatLabRockies/OpenStudio#1749, NatLabRockies/OpenStudio#1747
Setting a SetpointManager:Scheduled control variable to 'HumidityRatio' (or 'MassFlowRate', or any controlVariable other than temperature) and leaving the default Schedule Name (referencing a schedule of type: Temperature) is allowed and the model will save. Attempting to run this model will cause an error at ModelToIdf, but with no error or output message (/resources/run/1-ModelToIdf-0 is empty).
The only notification that this is wrong will occur upon re-opening the model, which will fail due to draft strictness with the following error:
The collection is INVALID at strictness level 'Draft', because of the errors:
Object level data error of type DataType .
Error pertains to an object of type 'OS:Schedule:Ruleset', named 'Deck Temperature'.
Additional information about the error type: field-level data is of an incorrect type.
Field level data error of type DataType .
Error is in an object of type 'OS:SetpointManager:Scheduled', named 'Scheduled Deck Temp', in field 3.
Additional information about the error type: field-level data is of an incorrect type.
Recommended solution: only allow schedule name choice for correct schedule type, e.g. 'Dimensionless' for humidity-related control, 'Mass Flow Rate' for mass flow control. Alternatively, provide error message at ModelToIdf failure.
Note: control variable set to 'HumidityRatio' will not allow changing the Schedule Name to another schedule of type: Temperature, but does allows the choice to remain a Temperature schedule if previously set when controlVariable = Temperature.
Found in OpenStudio v.1.8.0, Windows 64bit