diff --git a/HPXMLtoOpenStudio/measure.xml b/HPXMLtoOpenStudio/measure.xml index 6402ab65d2..e26ad1e829 100644 --- a/HPXMLtoOpenStudio/measure.xml +++ b/HPXMLtoOpenStudio/measure.xml @@ -3,8 +3,8 @@ <schema_version>3.1</schema_version> <name>hpxm_lto_openstudio</name> <uid>b1543b30-9465-45ff-ba04-1d1f85e763bc</uid> - <version_id>33102396-2989-4820-8fb7-0aa399d80344</version_id> - <version_modified>2024-10-05T04:28:40Z</version_modified> + <version_id>108ac0f4-c659-4ec7-aa71-6b2f14f63f92</version_id> + <version_modified>2024-10-05T07:38:26Z</version_modified> <xml_checksum>D8922A73</xml_checksum> <class_name>HPXMLtoOpenStudio</class_name> <display_name>HPXML to OpenStudio Translator</display_name> @@ -345,7 +345,7 @@ <filename>geometry.rb</filename> <filetype>rb</filetype> <usage_type>resource</usage_type> - <checksum>18098922</checksum> + <checksum>6C147EFE</checksum> </file> <file> <filename>hotwater_appliances.rb</filename> @@ -447,7 +447,7 @@ <filename>model.rb</filename> <filetype>rb</filetype> <usage_type>resource</usage_type> - <checksum>5D3674E4</checksum> + <checksum>A578B92B</checksum> </file> <file> <filename>output.rb</filename> diff --git a/HPXMLtoOpenStudio/resources/geometry.rb b/HPXMLtoOpenStudio/resources/geometry.rb index 9e0086c4a0..36965be122 100644 --- a/HPXMLtoOpenStudio/resources/geometry.rb +++ b/HPXMLtoOpenStudio/resources/geometry.rb @@ -1802,7 +1802,8 @@ def self.get_space_temperature_schedule(model, location, spaces) sch = Model.add_schedule_constant( model, name: location, - value: nil + value: nil, + limits: EPlus::ScheduleTypeLimitsTemperature ) sch.additionalProperties.setFeature('ObjectType', location) diff --git a/HPXMLtoOpenStudio/resources/model.rb b/HPXMLtoOpenStudio/resources/model.rb index f4096fec30..a30aacbbc5 100644 --- a/HPXMLtoOpenStudio/resources/model.rb +++ b/HPXMLtoOpenStudio/resources/model.rb @@ -676,7 +676,7 @@ def self.add_schedule_type_limits(model, schedule:, limits:) stl.setUpperLimitValue(1) stl.setNumericType('Discrete') elsif limits == EPlus::ScheduleTypeLimitsTemperature - stl.setNumericType('Continuous') + stl.setUnitType('Temperature') else fail "Unexpected schedule type limits: #{limits}" end