openstudio-common-measures 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +44 -0
- data/Rakefile +3 -0
- data/lib/measures/ChangeBuildingLocation/measure.xml +11 -11
- data/lib/measures/ExportScheduleCSV/measure.rb +1 -1
- data/lib/measures/ExportScheduleCSV/measure.xml +16 -15
- data/lib/measures/ImportEnvelopeAndInternalLoadsFromIdf/measure.xml +7 -6
- data/lib/measures/MeterFlodPlot/measure.rb +1 -1
- data/lib/measures/MeterFlodPlot/measure.xml +16 -15
- data/lib/measures/ReportModelChanges/measure.xml +2 -2
- data/lib/measures/RunPeriodMultiple/measure.xml +12 -11
- data/lib/measures/ServerDirectoryCleanup/README.md +97 -3
- data/lib/measures/ServerDirectoryCleanup/measure.rb +1 -1
- data/lib/measures/ServerDirectoryCleanup/measure.xml +10 -59
- data/lib/measures/UnmetLoadHoursTroubleshooting/README.md +9 -3
- data/lib/measures/UnmetLoadHoursTroubleshooting/measure.rb +1 -1
- data/lib/measures/UnmetLoadHoursTroubleshooting/measure.xml +66 -17
- data/lib/measures/VentilationQAQC/README.md +9 -3
- data/lib/measures/VentilationQAQC/measure.rb +52 -45
- data/lib/measures/VentilationQAQC/measure.xml +25 -30
- data/lib/measures/ZoneReport/README.md +2 -2
- data/lib/measures/ZoneReport/measure.rb +1 -1
- data/lib/measures/ZoneReport/measure.xml +10 -11
- data/lib/measures/add_ems_to_control_ev_charging/LICENSE.MD.txt +15 -0
- data/lib/measures/{AddDaylightSensors → add_ems_to_control_ev_charging}/LICENSE.md +0 -0
- data/lib/measures/add_ems_to_control_ev_charging/ReadMe.MD +29 -0
- data/lib/measures/add_ems_to_control_ev_charging/measure.rb +288 -0
- data/lib/measures/add_ems_to_control_ev_charging/measure.xml +87 -0
- data/lib/measures/add_ev_load/LICENSE.MD.txt +15 -0
- data/lib/measures/{EnableDemandControlledVentilation → add_ev_load}/LICENSE.md +0 -0
- data/lib/measures/add_ev_load/ReadMe.MD +34 -0
- data/lib/measures/add_ev_load/measure.rb +328 -0
- data/lib/measures/add_ev_load/measure.xml +153 -0
- data/lib/measures/add_ev_load/resources/EV_Load_Profiles/PSN_BuildingKey.csv +104 -0
- data/lib/measures/add_ev_load/resources/EV_Load_Profiles/PSN_BuildingKey_v2.csv +104 -0
- data/lib/measures/add_ev_load/resources/EV_Load_Profiles/chg1_dow1_flex1.csv +96 -0
- data/lib/measures/add_ev_load/resources/EV_Load_Profiles/chg1_dow1_flex2.csv +96 -0
- data/lib/measures/add_ev_load/resources/EV_Load_Profiles/chg1_dow1_flex3.csv +96 -0
- data/lib/measures/add_ev_load/resources/EV_Load_Profiles/chg1_dow2_flex1.csv +96 -0
- data/lib/measures/add_ev_load/resources/EV_Load_Profiles/chg1_dow2_flex2.csv +96 -0
- data/lib/measures/add_ev_load/resources/EV_Load_Profiles/chg1_dow2_flex3.csv +96 -0
- data/lib/measures/add_ev_load/resources/EV_Load_Profiles/chg1_dow3_flex1.csv +96 -0
- data/lib/measures/add_ev_load/resources/EV_Load_Profiles/chg1_dow3_flex2.csv +96 -0
- data/lib/measures/add_ev_load/resources/EV_Load_Profiles/chg1_dow3_flex3.csv +96 -0
- data/lib/measures/add_ev_load/resources/EV_Load_Profiles/chg2_dow1_flex1.csv +96 -0
- data/lib/measures/add_ev_load/resources/EV_Load_Profiles/chg2_dow1_flex2.csv +96 -0
- data/lib/measures/add_ev_load/resources/EV_Load_Profiles/chg2_dow1_flex3.csv +96 -0
- data/lib/measures/add_ev_load/resources/EV_Load_Profiles/chg2_dow2_flex1.csv +96 -0
- data/lib/measures/add_ev_load/resources/EV_Load_Profiles/chg2_dow2_flex2.csv +96 -0
- data/lib/measures/add_ev_load/resources/EV_Load_Profiles/chg2_dow2_flex3.csv +96 -0
- data/lib/measures/add_ev_load/resources/EV_Load_Profiles/chg2_dow3_flex1.csv +96 -0
- data/lib/measures/add_ev_load/resources/EV_Load_Profiles/chg2_dow3_flex2.csv +96 -0
- data/lib/measures/add_ev_load/resources/EV_Load_Profiles/chg2_dow3_flex3.csv +96 -0
- data/lib/measures/add_ev_load/resources/EV_Load_Profiles/chg3_dow1_flex1.csv +96 -0
- data/lib/measures/add_ev_load/resources/EV_Load_Profiles/chg3_dow1_flex2.csv +96 -0
- data/lib/measures/add_ev_load/resources/EV_Load_Profiles/chg3_dow1_flex3.csv +96 -0
- data/lib/measures/add_ev_load/resources/EV_Load_Profiles/chg3_dow2_flex1.csv +96 -0
- data/lib/measures/add_ev_load/resources/EV_Load_Profiles/chg3_dow2_flex2.csv +96 -0
- data/lib/measures/add_ev_load/resources/EV_Load_Profiles/chg3_dow2_flex3.csv +96 -0
- data/lib/measures/add_ev_load/resources/EV_Load_Profiles/chg3_dow3_flex1.csv +96 -0
- data/lib/measures/add_ev_load/resources/EV_Load_Profiles/chg3_dow3_flex2.csv +96 -0
- data/lib/measures/add_ev_load/resources/EV_Load_Profiles/chg3_dow3_flex3.csv +96 -0
- data/lib/measures/add_ev_load/resources/EV_Load_Profiles/fast_charge_15min_Saturday.csv +96 -0
- data/lib/measures/add_ev_load/resources/EV_Load_Profiles/fast_charge_15min_Sunday.csv +96 -0
- data/lib/measures/add_ev_load/resources/EV_Load_Profiles/fast_charge_15min_Weekday.csv +96 -0
- data/lib/measures/envelope_and_internal_load_breakdown/README.md +4 -3
- data/lib/measures/envelope_and_internal_load_breakdown/measure.rb +7 -4
- data/lib/measures/envelope_and_internal_load_breakdown/measure.xml +16 -17
- data/lib/measures/envelope_and_internal_load_breakdown/resources/report.html.erb +1 -0
- data/lib/measures/example_report/README.md +27 -5
- data/lib/measures/example_report/measure.rb +7 -4
- data/lib/measures/example_report/measure.xml +16 -29
- data/lib/measures/example_report/resources/report.html.erb +1 -0
- data/lib/measures/gem_env_report/measure.xml +1 -1
- data/lib/measures/generic_qaqc/README.md +187 -5
- data/lib/measures/generic_qaqc/measure.rb +1 -1
- data/lib/measures/generic_qaqc/measure.xml +15 -85
- data/lib/measures/generic_qaqc/resources/report.html.erb +1 -0
- data/lib/measures/hvac_psychrometric_chart/README.md +11 -5
- data/lib/measures/hvac_psychrometric_chart/measure.rb +1 -1
- data/lib/measures/hvac_psychrometric_chart/measure.xml +13 -18
- data/lib/measures/hvac_psychrometric_chart/resources/report.html.erb +1 -0
- data/lib/measures/inject_idf_objects/measure.xml +25 -24
- data/lib/measures/openstudio_results/README.md +195 -5
- data/lib/measures/openstudio_results/measure.rb +2 -2
- data/lib/measures/openstudio_results/measure.xml +30 -154
- data/lib/measures/openstudio_results/resources/report.html.erb +1 -0
- data/lib/measures/set_run_period/measure.xml +2 -2
- data/lib/measures/{EnableEconomizerControl → view_data}/LICENSE.md +0 -0
- data/lib/measures/view_data/README.md +64 -0
- data/lib/measures/{AddDaylightSensors → view_data}/README.md.erb +0 -0
- data/lib/measures/view_data/measure.rb +454 -0
- data/lib/measures/view_data/measure.xml +159 -0
- data/lib/measures/view_data/resources/report.html.in +2881 -0
- data/lib/measures/view_data/resources/va3c.rb +1021 -0
- data/lib/measures/{ImproveFanBeltEfficiency → view_model}/LICENSE.md +0 -0
- data/lib/measures/view_model/README.md +26 -0
- data/lib/measures/{EnableDemandControlledVentilation → view_model}/README.md.erb +0 -0
- data/lib/measures/view_model/measure.rb +146 -0
- data/lib/measures/view_model/measure.xml +98 -0
- data/lib/measures/view_model/resources/report.html.in +2881 -0
- data/lib/measures/view_model/resources/va3c.rb +1021 -0
- data/lib/openstudio/common_measures/version.rb +1 -1
- data/openstudio-common-measures.gemspec +1 -1
- metadata +61 -71
- data/lib/measures/AddDaylightSensors/README.md +0 -136
- data/lib/measures/AddDaylightSensors/measure.rb +0 -521
- data/lib/measures/AddDaylightSensors/measure.xml +0 -233
- data/lib/measures/EnableDemandControlledVentilation/README.md +0 -32
- data/lib/measures/EnableDemandControlledVentilation/measure.rb +0 -154
- data/lib/measures/EnableDemandControlledVentilation/measure.xml +0 -99
- data/lib/measures/EnableEconomizerControl/README.md +0 -48
- data/lib/measures/EnableEconomizerControl/README.md.erb +0 -42
- data/lib/measures/EnableEconomizerControl/measure.rb +0 -172
- data/lib/measures/EnableEconomizerControl/measure.xml +0 -124
- data/lib/measures/ImproveFanBeltEfficiency/README.md +0 -104
- data/lib/measures/ImproveFanBeltEfficiency/README.md.erb +0 -42
- data/lib/measures/ImproveFanBeltEfficiency/measure.rb +0 -366
- data/lib/measures/ImproveFanBeltEfficiency/measure.xml +0 -185
- data/lib/measures/ImproveMotorEfficiency/LICENSE.md +0 -27
- data/lib/measures/ImproveMotorEfficiency/README.md +0 -104
- data/lib/measures/ImproveMotorEfficiency/README.md.erb +0 -42
- data/lib/measures/ImproveMotorEfficiency/measure.rb +0 -365
- data/lib/measures/ImproveMotorEfficiency/measure.xml +0 -182
- data/lib/measures/IncreaseInsulationRValueForExteriorWalls/LICENSE.md +0 -27
- data/lib/measures/IncreaseInsulationRValueForExteriorWalls/README.md +0 -64
- data/lib/measures/IncreaseInsulationRValueForExteriorWalls/README.md.erb +0 -42
- data/lib/measures/IncreaseInsulationRValueForExteriorWalls/measure.rb +0 -422
- data/lib/measures/IncreaseInsulationRValueForExteriorWalls/measure.xml +0 -150
- data/lib/measures/IncreaseInsulationRValueForRoofs/LICENSE.md +0 -27
- data/lib/measures/IncreaseInsulationRValueForRoofs/README.md +0 -64
- data/lib/measures/IncreaseInsulationRValueForRoofs/README.md.erb +0 -42
- data/lib/measures/IncreaseInsulationRValueForRoofs/measure.rb +0 -422
- data/lib/measures/IncreaseInsulationRValueForRoofs/measure.xml +0 -143
- data/lib/measures/ReduceElectricEquipmentLoadsByPercentage/LICENSE.md +0 -27
- data/lib/measures/ReduceElectricEquipmentLoadsByPercentage/README.md +0 -97
- data/lib/measures/ReduceElectricEquipmentLoadsByPercentage/README.md.erb +0 -42
- data/lib/measures/ReduceElectricEquipmentLoadsByPercentage/measure.rb +0 -450
- data/lib/measures/ReduceElectricEquipmentLoadsByPercentage/measure.xml +0 -186
- data/lib/measures/ReduceLightingLoadsByPercentage/LICENSE.md +0 -27
- data/lib/measures/ReduceLightingLoadsByPercentage/README.md +0 -96
- data/lib/measures/ReduceLightingLoadsByPercentage/README.md.erb +0 -42
- data/lib/measures/ReduceLightingLoadsByPercentage/measure.rb +0 -513
- data/lib/measures/ReduceLightingLoadsByPercentage/measure.xml +0 -191
- data/lib/measures/ReduceSpaceInfiltrationByPercentage/LICENSE.md +0 -27
- data/lib/measures/ReduceSpaceInfiltrationByPercentage/README.md +0 -104
- data/lib/measures/ReduceSpaceInfiltrationByPercentage/README.md.erb +0 -42
- data/lib/measures/ReduceSpaceInfiltrationByPercentage/measure.rb +0 -349
- data/lib/measures/ReduceSpaceInfiltrationByPercentage/measure.xml +0 -181
- data/lib/measures/ReduceVentilationByPercentage/LICENSE.md +0 -27
- data/lib/measures/ReduceVentilationByPercentage/README.md +0 -40
- data/lib/measures/ReduceVentilationByPercentage/README.md.erb +0 -42
- data/lib/measures/ReduceVentilationByPercentage/measure.rb +0 -291
- data/lib/measures/ReduceVentilationByPercentage/measure.xml +0 -96
- data/lib/measures/VentilationQAQC/ExampleModel.osm +0 -28468
- data/lib/measures/create_variable_speed_rtu/LICENSE.md +0 -27
- data/lib/measures/create_variable_speed_rtu/README.md +0 -120
- data/lib/measures/create_variable_speed_rtu/README.md.erb +0 -42
- data/lib/measures/create_variable_speed_rtu/measure.rb +0 -539
- data/lib/measures/create_variable_speed_rtu/measure.xml +0 -207
- data/lib/measures/radiant_slab_with_doas/LICENSE.md +0 -27
- data/lib/measures/radiant_slab_with_doas/README.md +0 -156
- data/lib/measures/radiant_slab_with_doas/README.md.erb +0 -42
- data/lib/measures/radiant_slab_with_doas/measure.rb +0 -403
- data/lib/measures/radiant_slab_with_doas/measure.xml +0 -345
@@ -1,207 +0,0 @@
|
|
1
|
-
<measure>
|
2
|
-
<schema_version>3.0</schema_version>
|
3
|
-
<name>create_variable_speed_rtu</name>
|
4
|
-
<uid>7fb36b3a-5591-4627-a2b0-7709fbeae593</uid>
|
5
|
-
<version_id>b4784727-b8f2-46e2-92ad-219ecd2e1c5a</version_id>
|
6
|
-
<version_modified>20200229T024317Z</version_modified>
|
7
|
-
<xml_checksum>A9D5932A</xml_checksum>
|
8
|
-
<class_name>CreateVariableSpeedRTU</class_name>
|
9
|
-
<display_name>Create Variable Speed RTU</display_name>
|
10
|
-
<description>This measure examines the existing HVAC system(s) present in the current OpenStudio model. If a constant-speed system is found, the user can opt to have the measure replace that system with a variable-speed RTU. 'Variable speed' in this case means that the compressor will be operated using either two or four stages (user's choice). The user can choose between using a gas heating coil, or a direct-expansion (DX) heating coil. Additionally, the user is able to enter the EER (cooling) and COP (heating) values for each DX stage. This measure allows users to easily identify the impact of improved part-load efficiency.</description>
|
11
|
-
<modeler_description>This measure loops through the existing airloops, looking for loops that have a constant speed fan. (Note that if an object such as an AirloopHVAC:UnitarySystem is present in the model, that the measure will NOT identify that loop as either constant- or variable-speed, since the fan is located inside the UnitarySystem object.) The user can designate which constant-speed airloop they'd like to apply the measure to, or opt to apply the measure to all airloops. The measure then replaces the supply components on the airloop with an AirloopHVAC:UnitarySystem object. Any DX coils added to the UnitarySystem object are of the type CoilCoolingDXMultiSpeed / CoilHeatingDXMultiSpeed, with the number of stages set to either two or four, depending on user input. If the user opts for a gas furnace, an 80% efficient CoilHeatingGas object is added. Fan properties (pressure rise and total efficiency) are transferred automatically from the existing (but deleted) constant speed fan to the new variable-speed fan. Currently, this measure is only applicable to the Standalone Retail DOE Prototype building model, but it has been structured to facilitate expansion to other models with a minimum of effort.</modeler_description>
|
12
|
-
<arguments>
|
13
|
-
<argument>
|
14
|
-
<name>object</name>
|
15
|
-
<display_name>Choose an Air Loop to change from CAV to VAV.</display_name>
|
16
|
-
<type>Choice</type>
|
17
|
-
<required>true</required>
|
18
|
-
<model_dependent>false</model_dependent>
|
19
|
-
<default_value>*All CAV Air Loops*</default_value>
|
20
|
-
<choices>
|
21
|
-
<choice>
|
22
|
-
<value>{42167619-c2eb-4812-a9e5-9b286d7beef8}</value>
|
23
|
-
<display_name>*All CAV Air Loops*</display_name>
|
24
|
-
</choice>
|
25
|
-
</choices>
|
26
|
-
</argument>
|
27
|
-
<argument>
|
28
|
-
<name>cooling_coil_type</name>
|
29
|
-
<display_name>Choose the type of cooling coil.</display_name>
|
30
|
-
<type>Choice</type>
|
31
|
-
<required>true</required>
|
32
|
-
<model_dependent>false</model_dependent>
|
33
|
-
<default_value>Two-Stage Compressor</default_value>
|
34
|
-
<choices>
|
35
|
-
<choice>
|
36
|
-
<value>Two-Stage Compressor</value>
|
37
|
-
<display_name>Two-Stage Compressor</display_name>
|
38
|
-
</choice>
|
39
|
-
<choice>
|
40
|
-
<value>Four-Stage Compressor</value>
|
41
|
-
<display_name>Four-Stage Compressor</display_name>
|
42
|
-
</choice>
|
43
|
-
</choices>
|
44
|
-
</argument>
|
45
|
-
<argument>
|
46
|
-
<name>rated_cc_eer</name>
|
47
|
-
<display_name>Rated Cooling Coil EER</display_name>
|
48
|
-
<type>Double</type>
|
49
|
-
<required>false</required>
|
50
|
-
<model_dependent>false</model_dependent>
|
51
|
-
</argument>
|
52
|
-
<argument>
|
53
|
-
<name>three_quarter_cc_eer</name>
|
54
|
-
<display_name>Cooling Coil EER at 75% Capacity</display_name>
|
55
|
-
<type>Double</type>
|
56
|
-
<required>false</required>
|
57
|
-
<model_dependent>false</model_dependent>
|
58
|
-
</argument>
|
59
|
-
<argument>
|
60
|
-
<name>half_cc_eer</name>
|
61
|
-
<display_name>Cooling Coil EER at 50% Capacity</display_name>
|
62
|
-
<type>Double</type>
|
63
|
-
<required>false</required>
|
64
|
-
<model_dependent>false</model_dependent>
|
65
|
-
</argument>
|
66
|
-
<argument>
|
67
|
-
<name>quarter_cc_eer</name>
|
68
|
-
<display_name>Cooling Coil EER at 25% Capacity</display_name>
|
69
|
-
<type>Double</type>
|
70
|
-
<required>false</required>
|
71
|
-
<model_dependent>false</model_dependent>
|
72
|
-
</argument>
|
73
|
-
<argument>
|
74
|
-
<name>heating_coil_type</name>
|
75
|
-
<display_name>Choose the type of heating coil.</display_name>
|
76
|
-
<type>Choice</type>
|
77
|
-
<required>true</required>
|
78
|
-
<model_dependent>false</model_dependent>
|
79
|
-
<default_value>Gas Heating Coil</default_value>
|
80
|
-
<choices>
|
81
|
-
<choice>
|
82
|
-
<value>Gas Heating Coil</value>
|
83
|
-
<display_name>Gas Heating Coil</display_name>
|
84
|
-
</choice>
|
85
|
-
<choice>
|
86
|
-
<value>Heat Pump</value>
|
87
|
-
<display_name>Heat Pump</display_name>
|
88
|
-
</choice>
|
89
|
-
</choices>
|
90
|
-
</argument>
|
91
|
-
<argument>
|
92
|
-
<name>rated_hc_gas_efficiency</name>
|
93
|
-
<display_name>Rated Gas Heating Coil Efficiency (0-1.00)</display_name>
|
94
|
-
<type>Double</type>
|
95
|
-
<required>false</required>
|
96
|
-
<model_dependent>false</model_dependent>
|
97
|
-
</argument>
|
98
|
-
<argument>
|
99
|
-
<name>rated_hc_cop</name>
|
100
|
-
<display_name>Rated Heating Coil COP</display_name>
|
101
|
-
<type>Double</type>
|
102
|
-
<required>false</required>
|
103
|
-
<model_dependent>false</model_dependent>
|
104
|
-
</argument>
|
105
|
-
<argument>
|
106
|
-
<name>three_quarter_hc_cop</name>
|
107
|
-
<display_name>Heating Coil COP at 75% Capacity</display_name>
|
108
|
-
<type>Double</type>
|
109
|
-
<required>false</required>
|
110
|
-
<model_dependent>false</model_dependent>
|
111
|
-
</argument>
|
112
|
-
<argument>
|
113
|
-
<name>half_hc_cop</name>
|
114
|
-
<display_name>Heating Coil COP at 50% Capacity</display_name>
|
115
|
-
<type>Double</type>
|
116
|
-
<required>false</required>
|
117
|
-
<model_dependent>false</model_dependent>
|
118
|
-
</argument>
|
119
|
-
<argument>
|
120
|
-
<name>quarter_hc_cop</name>
|
121
|
-
<display_name>Heating Coil COP at 25% Capacity</display_name>
|
122
|
-
<type>Double</type>
|
123
|
-
<required>false</required>
|
124
|
-
<model_dependent>false</model_dependent>
|
125
|
-
</argument>
|
126
|
-
</arguments>
|
127
|
-
<outputs/>
|
128
|
-
<provenances/>
|
129
|
-
<tags>
|
130
|
-
<tag>HVAC.Whole System</tag>
|
131
|
-
</tags>
|
132
|
-
<attributes>
|
133
|
-
<attribute>
|
134
|
-
<name>Measure Type</name>
|
135
|
-
<value>ModelMeasure</value>
|
136
|
-
<datatype>string</datatype>
|
137
|
-
</attribute>
|
138
|
-
<attribute>
|
139
|
-
<name>Intended Software Tool</name>
|
140
|
-
<value>Apply Measure Now</value>
|
141
|
-
<datatype>string</datatype>
|
142
|
-
</attribute>
|
143
|
-
<attribute>
|
144
|
-
<name>Intended Software Tool</name>
|
145
|
-
<value>OpenStudio Application</value>
|
146
|
-
<datatype>string</datatype>
|
147
|
-
</attribute>
|
148
|
-
<attribute>
|
149
|
-
<name>Intended Software Tool</name>
|
150
|
-
<value>Parametric Analysis Tool</value>
|
151
|
-
<datatype>string</datatype>
|
152
|
-
</attribute>
|
153
|
-
<attribute>
|
154
|
-
<name>Intended Use Case</name>
|
155
|
-
<value>Model Articulation</value>
|
156
|
-
<datatype>string</datatype>
|
157
|
-
</attribute>
|
158
|
-
<attribute>
|
159
|
-
<name>Intended Use Case</name>
|
160
|
-
<value>New Construction EE</value>
|
161
|
-
<datatype>string</datatype>
|
162
|
-
</attribute>
|
163
|
-
</attributes>
|
164
|
-
<files>
|
165
|
-
<file>
|
166
|
-
<filename>example_model.osm</filename>
|
167
|
-
<filetype>osm</filetype>
|
168
|
-
<usage_type>test</usage_type>
|
169
|
-
<checksum>69467654</checksum>
|
170
|
-
</file>
|
171
|
-
<file>
|
172
|
-
<filename>README.md</filename>
|
173
|
-
<filetype>md</filetype>
|
174
|
-
<usage_type>readme</usage_type>
|
175
|
-
<checksum>839520ED</checksum>
|
176
|
-
</file>
|
177
|
-
<file>
|
178
|
-
<filename>README.md.erb</filename>
|
179
|
-
<filetype>erb</filetype>
|
180
|
-
<usage_type>readmeerb</usage_type>
|
181
|
-
<checksum>703C9964</checksum>
|
182
|
-
</file>
|
183
|
-
<file>
|
184
|
-
<filename>LICENSE.md</filename>
|
185
|
-
<filetype>md</filetype>
|
186
|
-
<usage_type>license</usage_type>
|
187
|
-
<checksum>E0468DD6</checksum>
|
188
|
-
</file>
|
189
|
-
<file>
|
190
|
-
<filename>create_variable_speed_rtu_test.rb</filename>
|
191
|
-
<filetype>rb</filetype>
|
192
|
-
<usage_type>test</usage_type>
|
193
|
-
<checksum>B199E2FA</checksum>
|
194
|
-
</file>
|
195
|
-
<file>
|
196
|
-
<version>
|
197
|
-
<software_program>OpenStudio</software_program>
|
198
|
-
<identifier>1.12.2</identifier>
|
199
|
-
<min_compatible>2.7.0</min_compatible>
|
200
|
-
</version>
|
201
|
-
<filename>measure.rb</filename>
|
202
|
-
<filetype>rb</filetype>
|
203
|
-
<usage_type>script</usage_type>
|
204
|
-
<checksum>13C7C1EA</checksum>
|
205
|
-
</file>
|
206
|
-
</files>
|
207
|
-
</measure>
|
@@ -1,27 +0,0 @@
|
|
1
|
-
OpenStudio(R), Copyright (c) 2008-2020, Alliance for Sustainable Energy, LLC. All rights reserved.
|
2
|
-
|
3
|
-
Redistribution and use in source and binary forms, with or without modification, are permitted
|
4
|
-
provided that the following conditions are met:
|
5
|
-
|
6
|
-
(1) Redistributions of source code must retain the above copyright notice, this list of conditions
|
7
|
-
and the following disclaimer.
|
8
|
-
|
9
|
-
(2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions
|
10
|
-
and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
11
|
-
|
12
|
-
(3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse
|
13
|
-
or promote products derived from this software without specific prior written permission from the
|
14
|
-
respective party.
|
15
|
-
|
16
|
-
(4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other
|
17
|
-
derivative works may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar
|
18
|
-
designation without specific prior written permission from Alliance for Sustainable Energy, LLC.
|
19
|
-
|
20
|
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
|
21
|
-
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
|
22
|
-
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER, THE UNITED STATES GOVERNMENT,
|
23
|
-
OR ANY CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
24
|
-
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
25
|
-
OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
26
|
-
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
27
|
-
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
@@ -1,156 +0,0 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
###### (Automatically generated documentation)
|
4
|
-
|
5
|
-
# Radiant Slab with DOAS
|
6
|
-
|
7
|
-
## Description
|
8
|
-
Adds a radiant slab with DOAS ventilation system to the model.
|
9
|
-
|
10
|
-
## Modeler Description
|
11
|
-
This measure adds either a radiant floor slab or radiant ceiling slab with dedicated outdoor air system to conditioned zones in the model.
|
12
|
-
Radiant systems are comfortable with wider zone air temperature range. Use the CBE Thermal Comfort Tool or other method to set thermostat setpoint temperatures.
|
13
|
-
This measure optionally removes existing HVAC systems (recommended).
|
14
|
-
This measure is dependent on an ASHRAE climate zone to set insulation and design supply temperature levels, so make sure this is set in the site parameters of the model.
|
15
|
-
Plant equipment options are an Air Source Heat Pump or a Boiler for hot water, and an Air Cooled Chiller or Water Cooled Chiller for chilled water.
|
16
|
-
The Air Source Heat Pump object uses a user-defined plant component in EnergyPlus and may not be compatible with several reporting measures, including the *Enable Detailed Output for Each Node in a Loop* measure.
|
17
|
-
If Water Cooled Chiller is selected, the measure will add a condenser loop with a variable speed cooling tower, and optionally enable water-side economizing when wet bulb conditions allow.
|
18
|
-
By default, the slab system does not include carpet. Carpet greatly reduces the heat transfer capacity of the radiant system. If carpet is preferred, a ceiling-type slab and no lockout are recommended to avoid unmet hours.
|
19
|
-
The measure includes several control parameters for radiant system operation. Use the defaults unless you have strong reasons to deviate from them.
|
20
|
-
This measure runs a sizing run to set equipment efficiency values, so it may take up to a few minutes to run.
|
21
|
-
This measure adds many EnergyManagementSystem objects to the model. **DO NOT** change design days after running this measure. Adding additional HVAC measures after applying this measure may break the model.
|
22
|
-
Radiant systems are particularly limited in cooling capacity and the model may have many unmet hours as a result.
|
23
|
-
To reduce unmet hours, use an expanded comfort range as mentioned above, remove carpet, reduce internal loads, reduce solar and envelope gains during peak times, or disable the lockout.
|
24
|
-
|
25
|
-
## Measure Type
|
26
|
-
ModelMeasure
|
27
|
-
|
28
|
-
## Taxonomy
|
29
|
-
|
30
|
-
|
31
|
-
## Arguments
|
32
|
-
|
33
|
-
|
34
|
-
### Remove existing HVAC system (keeps service water heating and zone exhaust fans)
|
35
|
-
|
36
|
-
**Name:** remove_existing_hvac,
|
37
|
-
**Type:** Boolean,
|
38
|
-
**Units:** ,
|
39
|
-
**Required:** true,
|
40
|
-
**Model Dependent:** false
|
41
|
-
|
42
|
-
### Heating Plant Type
|
43
|
-
|
44
|
-
**Name:** heating_plant_type,
|
45
|
-
**Type:** Choice,
|
46
|
-
**Units:** ,
|
47
|
-
**Required:** true,
|
48
|
-
**Model Dependent:** false
|
49
|
-
|
50
|
-
### Cooling Plant Type
|
51
|
-
|
52
|
-
**Name:** cooling_plant_type,
|
53
|
-
**Type:** Choice,
|
54
|
-
**Units:** ,
|
55
|
-
**Required:** true,
|
56
|
-
**Model Dependent:** false
|
57
|
-
|
58
|
-
### Water-side economizer (water cooled chiller only)
|
59
|
-
|
60
|
-
**Name:** waterside_economizer,
|
61
|
-
**Type:** Choice,
|
62
|
-
**Units:** ,
|
63
|
-
**Required:** true,
|
64
|
-
**Model Dependent:** false
|
65
|
-
|
66
|
-
### Radiant System Type
|
67
|
-
|
68
|
-
**Name:** radiant_type,
|
69
|
-
**Type:** Choice,
|
70
|
-
**Units:** ,
|
71
|
-
**Required:** true,
|
72
|
-
**Model Dependent:** false
|
73
|
-
|
74
|
-
### Include carpet over the radiant slab
|
75
|
-
Only applicable in radiant floor systems. This will greatly reduce system effectiveness and controllability.
|
76
|
-
**Name:** include_carpet,
|
77
|
-
**Type:** Boolean,
|
78
|
-
**Units:** ,
|
79
|
-
**Required:** true,
|
80
|
-
**Model Dependent:** false
|
81
|
-
|
82
|
-
### Control Strategy
|
83
|
-
|
84
|
-
**Name:** control_strategy,
|
85
|
-
**Type:** Choice,
|
86
|
-
**Units:** ,
|
87
|
-
**Required:** true,
|
88
|
-
**Model Dependent:** false
|
89
|
-
|
90
|
-
### Proportional Gain
|
91
|
-
|
92
|
-
**Name:** proportional_gain,
|
93
|
-
**Type:** Double,
|
94
|
-
**Units:** ,
|
95
|
-
**Required:** true,
|
96
|
-
**Model Dependent:** false
|
97
|
-
|
98
|
-
### Minimum Operating Hours
|
99
|
-
Fractional Hours Allowed, e.g. 30 min = 0.5
|
100
|
-
**Name:** minimum_operation,
|
101
|
-
**Type:** Double,
|
102
|
-
**Units:** ,
|
103
|
-
**Required:** true,
|
104
|
-
**Model Dependent:** false
|
105
|
-
|
106
|
-
### Switch Over Time
|
107
|
-
Minimum time limitation for when the system can switch between heating and cooling. Fractional hours allowed, e.g. 30 min = 0.5.
|
108
|
-
**Name:** switch_over_time,
|
109
|
-
**Type:** Double,
|
110
|
-
**Units:** ,
|
111
|
-
**Required:** true,
|
112
|
-
**Model Dependent:** false
|
113
|
-
|
114
|
-
### Enable radiant lockout
|
115
|
-
Lockout the radiant system to avoid operating during peak hours.
|
116
|
-
**Name:** radiant_lockout,
|
117
|
-
**Type:** Boolean,
|
118
|
-
**Units:** ,
|
119
|
-
**Required:** true,
|
120
|
-
**Model Dependent:** false
|
121
|
-
|
122
|
-
### Lockout Start Time
|
123
|
-
Decimal hour of when radiant lockout starts. Fractional hours allowed, e.g. 30 min = 0.5.
|
124
|
-
**Name:** lockout_start_time,
|
125
|
-
**Type:** Double,
|
126
|
-
**Units:** ,
|
127
|
-
**Required:** true,
|
128
|
-
**Model Dependent:** false
|
129
|
-
|
130
|
-
### Lockout End Time
|
131
|
-
Decimal hour of when radiant lockout ends. Fractional hours allowed, e.g. 30 min = 0.5.
|
132
|
-
**Name:** lockout_end_time,
|
133
|
-
**Type:** Double,
|
134
|
-
**Units:** ,
|
135
|
-
**Required:** true,
|
136
|
-
**Model Dependent:** false
|
137
|
-
|
138
|
-
### Add output variables for radiant system
|
139
|
-
|
140
|
-
**Name:** add_output_variables,
|
141
|
-
**Type:** Boolean,
|
142
|
-
**Units:** ,
|
143
|
-
**Required:** true,
|
144
|
-
**Model Dependent:** false
|
145
|
-
|
146
|
-
### Standards Template
|
147
|
-
Standards template to use for HVAC equipment efficiencies and controls.
|
148
|
-
**Name:** standards_template,
|
149
|
-
**Type:** Choice,
|
150
|
-
**Units:** ,
|
151
|
-
**Required:** true,
|
152
|
-
**Model Dependent:** false
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
@@ -1,42 +0,0 @@
|
|
1
|
-
<%#= README.md.erb is used to auto-generate README.md. %>
|
2
|
-
<%#= To manually maintain README.md throw away README.md.erb and manually edit README.md %>
|
3
|
-
###### (Automatically generated documentation)
|
4
|
-
|
5
|
-
# <%= name %>
|
6
|
-
|
7
|
-
## Description
|
8
|
-
<%= description %>
|
9
|
-
|
10
|
-
## Modeler Description
|
11
|
-
<%= modelerDescription %>
|
12
|
-
|
13
|
-
## Measure Type
|
14
|
-
<%= measureType %>
|
15
|
-
|
16
|
-
## Taxonomy
|
17
|
-
<%= taxonomy %>
|
18
|
-
|
19
|
-
## Arguments
|
20
|
-
|
21
|
-
<% arguments.each do |argument| %>
|
22
|
-
### <%= argument[:display_name] %>
|
23
|
-
<%= argument[:description] %>
|
24
|
-
**Name:** <%= argument[:name] %>,
|
25
|
-
**Type:** <%= argument[:type] %>,
|
26
|
-
**Units:** <%= argument[:units] %>,
|
27
|
-
**Required:** <%= argument[:required] %>,
|
28
|
-
**Model Dependent:** <%= argument[:model_dependent] %>
|
29
|
-
<% end %>
|
30
|
-
|
31
|
-
<% if arguments.size == 0 %>
|
32
|
-
<%= "This measure does not have any user arguments" %>
|
33
|
-
<% end %>
|
34
|
-
|
35
|
-
<% if outputs.size > 0 %>
|
36
|
-
## Outputs
|
37
|
-
<% output_names = [] %>
|
38
|
-
<% outputs.each do |output| %>
|
39
|
-
<% output_names << output[:display_name] %>
|
40
|
-
<% end %>
|
41
|
-
<%= output_names.join(", ") %>
|
42
|
-
<% end %>
|
@@ -1,403 +0,0 @@
|
|
1
|
-
# *******************************************************************************
|
2
|
-
# OpenStudio(R), Copyright (c) 2008-2020, Alliance for Sustainable Energy, LLC.
|
3
|
-
# All rights reserved.
|
4
|
-
# Redistribution and use in source and binary forms, with or without
|
5
|
-
# modification, are permitted provided that the following conditions are met:
|
6
|
-
#
|
7
|
-
# (1) Redistributions of source code must retain the above copyright notice,
|
8
|
-
# this list of conditions and the following disclaimer.
|
9
|
-
#
|
10
|
-
# (2) Redistributions in binary form must reproduce the above copyright notice,
|
11
|
-
# this list of conditions and the following disclaimer in the documentation
|
12
|
-
# and/or other materials provided with the distribution.
|
13
|
-
#
|
14
|
-
# (3) Neither the name of the copyright holder nor the names of any contributors
|
15
|
-
# may be used to endorse or promote products derived from this software without
|
16
|
-
# specific prior written permission from the respective party.
|
17
|
-
#
|
18
|
-
# (4) Other than as required in clauses (1) and (2), distributions in any form
|
19
|
-
# of modifications or other derivative works may not use the "OpenStudio"
|
20
|
-
# trademark, "OS", "os", or any other confusingly similar designation without
|
21
|
-
# specific prior written permission from Alliance for Sustainable Energy, LLC.
|
22
|
-
#
|
23
|
-
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS
|
24
|
-
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
25
|
-
# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
26
|
-
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE
|
27
|
-
# UNITED STATES GOVERNMENT, OR THE UNITED STATES DEPARTMENT OF ENERGY, NOR ANY OF
|
28
|
-
# THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
29
|
-
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
30
|
-
# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
31
|
-
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
32
|
-
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
33
|
-
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
34
|
-
# *******************************************************************************
|
35
|
-
|
36
|
-
require 'openstudio-standards'
|
37
|
-
|
38
|
-
# start the measure
|
39
|
-
class RadiantSlabWithDoas < OpenStudio::Measure::ModelMeasure
|
40
|
-
# human readable name
|
41
|
-
def name
|
42
|
-
# Measure name should be the title case of the class name.
|
43
|
-
return 'Radiant Slab with DOAS'
|
44
|
-
end
|
45
|
-
|
46
|
-
# human readable description
|
47
|
-
def description
|
48
|
-
return 'Adds a radiant slab with DOAS ventilation system to the model.'
|
49
|
-
end
|
50
|
-
|
51
|
-
# human readable description of modeling approach
|
52
|
-
def modeler_description
|
53
|
-
return 'This measure adds either a radiant floor slab or radiant ceiling slab with dedicated outdoor air system to conditioned zones in the model.
|
54
|
-
Radiant systems are comfortable with wider zone air temperature range. Use the CBE Thermal Comfort Tool or other method to set thermostat setpoint temperatures.
|
55
|
-
This measure optionally removes existing HVAC systems (recommended).
|
56
|
-
This measure is dependent on an ASHRAE climate zone to set insulation and design supply temperature levels, so make sure this is set in the site parameters of the model.
|
57
|
-
Plant equipment options are an Air Source Heat Pump or a Boiler for hot water, and an Air Cooled Chiller or Water Cooled Chiller for chilled water.
|
58
|
-
The Air Source Heat Pump object uses a user-defined plant component in EnergyPlus and may not be compatible with several reporting measures, including the *Enable Detailed Output for Each Node in a Loop* measure.
|
59
|
-
If Water Cooled Chiller is selected, the measure will add a condenser loop with a variable speed cooling tower, and optionally enable water-side economizing when wet bulb conditions allow.
|
60
|
-
By default, the slab system does not include carpet. Carpet greatly reduces the heat transfer capacity of the radiant system. If carpet is preferred, a ceiling-type slab and no lockout are recommended to avoid unmet hours.
|
61
|
-
The measure includes several control parameters for radiant system operation. Use the defaults unless you have strong reasons to deviate from them.
|
62
|
-
This measure runs a sizing run to set equipment efficiency values, so it may take up to a few minutes to run.
|
63
|
-
This measure adds many EnergyManagementSystem objects to the model. **DO NOT** change design days after running this measure. Adding additional HVAC measures after applying this measure may break the model.
|
64
|
-
Radiant systems are particularly limited in cooling capacity and the model may have many unmet hours as a result.
|
65
|
-
To reduce unmet hours, use an expanded comfort range as mentioned above, remove carpet, reduce internal loads, reduce solar and envelope gains during peak times, or disable the lockout.'
|
66
|
-
end
|
67
|
-
|
68
|
-
# define the arguments that the user will input
|
69
|
-
def arguments(model)
|
70
|
-
args = OpenStudio::Measure::OSArgumentVector.new
|
71
|
-
|
72
|
-
# make bool argument to remove existing HVAC system
|
73
|
-
remove_existing_hvac = OpenStudio::Measure::OSArgument.makeBoolArgument('remove_existing_hvac', true)
|
74
|
-
remove_existing_hvac.setDisplayName('Remove existing HVAC system (keeps service water heating and zone exhaust fans)')
|
75
|
-
remove_existing_hvac.setDefaultValue(true)
|
76
|
-
args << remove_existing_hvac
|
77
|
-
|
78
|
-
# make an argument for heating plant type
|
79
|
-
heating_plant_types = OpenStudio::StringVector.new
|
80
|
-
heating_plant_types << 'Air Source Heat Pump'
|
81
|
-
heating_plant_types << 'Boiler'
|
82
|
-
heating_plant_type = OpenStudio::Measure::OSArgument.makeChoiceArgument('heating_plant_type', heating_plant_types, true)
|
83
|
-
heating_plant_type.setDisplayName('Heating Plant Type')
|
84
|
-
heating_plant_type.setDefaultValue('Air Source Heat Pump')
|
85
|
-
args << heating_plant_type
|
86
|
-
|
87
|
-
# make an argument for cooling plant type
|
88
|
-
cooling_plant_types = OpenStudio::StringVector.new
|
89
|
-
cooling_plant_types << 'Air Cooled Chiller'
|
90
|
-
cooling_plant_types << 'Water Cooled Chiller'
|
91
|
-
cooling_plant_type = OpenStudio::Measure::OSArgument.makeChoiceArgument('cooling_plant_type', cooling_plant_types, true)
|
92
|
-
cooling_plant_type.setDisplayName('Cooling Plant Type')
|
93
|
-
cooling_plant_type.setDefaultValue('Air Cooled Chiller')
|
94
|
-
args << cooling_plant_type
|
95
|
-
|
96
|
-
# make string argument for water-side economizing if water-cooled chiller
|
97
|
-
economizer_types = OpenStudio::StringVector.new
|
98
|
-
economizer_types << 'none'
|
99
|
-
economizer_types << 'integrated'
|
100
|
-
economizer_types << 'non-integrated'
|
101
|
-
waterside_economizer = OpenStudio::Measure::OSArgument.makeChoiceArgument('waterside_economizer', economizer_types, true)
|
102
|
-
waterside_economizer.setDisplayName('Water-side economizer (water cooled chiller only)')
|
103
|
-
waterside_economizer.setDefaultValue('none')
|
104
|
-
args << waterside_economizer
|
105
|
-
|
106
|
-
# make an argument for radiant system type
|
107
|
-
radiant_types = OpenStudio::StringVector.new
|
108
|
-
radiant_types << 'floor'
|
109
|
-
radiant_types << 'ceiling'
|
110
|
-
radiant_type = OpenStudio::Measure::OSArgument.makeChoiceArgument('radiant_type', radiant_types, true)
|
111
|
-
radiant_type.setDisplayName('Radiant System Type')
|
112
|
-
radiant_type.setDefaultValue('floor')
|
113
|
-
args << radiant_type
|
114
|
-
|
115
|
-
# make and argument for adding carpet
|
116
|
-
include_carpet = OpenStudio::Measure::OSArgument.makeBoolArgument('include_carpet', true)
|
117
|
-
include_carpet.setDisplayName('Include carpet over the radiant slab')
|
118
|
-
include_carpet.setDescription('Only applicable in radiant floor systems. This will greatly reduce system effectiveness and controllability.')
|
119
|
-
include_carpet.setDefaultValue(false)
|
120
|
-
args << include_carpet
|
121
|
-
|
122
|
-
# make an argument for control strategy
|
123
|
-
control_strategys = OpenStudio::StringVector.new
|
124
|
-
control_strategys << 'proportional_control'
|
125
|
-
control_strategy = OpenStudio::Measure::OSArgument.makeChoiceArgument('control_strategy', control_strategys, true)
|
126
|
-
control_strategy.setDisplayName('Control Strategy')
|
127
|
-
control_strategy.setDefaultValue('proportional_control')
|
128
|
-
args << control_strategy
|
129
|
-
|
130
|
-
# make an argument for proportional gain
|
131
|
-
proportional_gain = OpenStudio::Measure::OSArgument.makeDoubleArgument('proportional_gain', true)
|
132
|
-
proportional_gain.setDisplayName('Proportional Gain')
|
133
|
-
proportional_gain.setDefaultValue(0.3)
|
134
|
-
args << proportional_gain
|
135
|
-
|
136
|
-
# make an argument for minimum operating hours
|
137
|
-
minimum_operation = OpenStudio::Measure::OSArgument.makeDoubleArgument('minimum_operation', true)
|
138
|
-
minimum_operation.setDisplayName('Minimum Operating Hours')
|
139
|
-
minimum_operation.setDescription('Fractional Hours Allowed, e.g. 30 min = 0.5')
|
140
|
-
minimum_operation.setDefaultValue(1.0)
|
141
|
-
args << minimum_operation
|
142
|
-
|
143
|
-
# make an argument for switch over time
|
144
|
-
switch_over_time = OpenStudio::Measure::OSArgument.makeDoubleArgument('switch_over_time', true)
|
145
|
-
switch_over_time.setDisplayName('Switch Over Time')
|
146
|
-
switch_over_time.setDescription('Minimum time limitation for when the system can switch between heating and cooling. Fractional hours allowed, e.g. 30 min = 0.5.')
|
147
|
-
switch_over_time.setDefaultValue(24.0)
|
148
|
-
args << switch_over_time
|
149
|
-
|
150
|
-
# make and argument for including radiant lockout
|
151
|
-
radiant_lockout = OpenStudio::Measure::OSArgument.makeBoolArgument('radiant_lockout', true)
|
152
|
-
radiant_lockout.setDisplayName('Enable radiant lockout')
|
153
|
-
radiant_lockout.setDescription('Lockout the radiant system to avoid operating during peak hours.')
|
154
|
-
radiant_lockout.setDefaultValue(false)
|
155
|
-
args << radiant_lockout
|
156
|
-
|
157
|
-
# make an argument for lockout start time
|
158
|
-
lockout_start_time = OpenStudio::Measure::OSArgument.makeDoubleArgument('lockout_start_time', true)
|
159
|
-
lockout_start_time.setDisplayName('Lockout Start Time')
|
160
|
-
lockout_start_time.setDescription('Decimal hour of when radiant lockout starts. Fractional hours allowed, e.g. 30 min = 0.5.')
|
161
|
-
lockout_start_time.setDefaultValue(12.0)
|
162
|
-
args << lockout_start_time
|
163
|
-
|
164
|
-
# make an argument for lockout end time
|
165
|
-
lockout_end_time = OpenStudio::Measure::OSArgument.makeDoubleArgument('lockout_end_time', true)
|
166
|
-
lockout_end_time.setDisplayName('Lockout End Time')
|
167
|
-
lockout_end_time.setDescription('Decimal hour of when radiant lockout ends. Fractional hours allowed, e.g. 30 min = 0.5.')
|
168
|
-
lockout_end_time.setDefaultValue(20.0)
|
169
|
-
args << lockout_end_time
|
170
|
-
|
171
|
-
# make and argument for output variables
|
172
|
-
add_output_variables = OpenStudio::Measure::OSArgument.makeBoolArgument('add_output_variables', true)
|
173
|
-
add_output_variables.setDisplayName('Add output variables for radiant system')
|
174
|
-
add_output_variables.setDefaultValue(true)
|
175
|
-
args << add_output_variables
|
176
|
-
|
177
|
-
# make an argument for standards template
|
178
|
-
standards_templates = OpenStudio::StringVector.new
|
179
|
-
standards_templates << '90.1-2013'
|
180
|
-
standards_templates << 'DEER 2017'
|
181
|
-
standards_templates << 'DEER 2020'
|
182
|
-
standards_template = OpenStudio::Measure::OSArgument.makeChoiceArgument('standards_template', standards_templates, true)
|
183
|
-
standards_template.setDisplayName('Standards Template')
|
184
|
-
standards_template.setDescription('Standards template to use for HVAC equipment efficiencies and controls.')
|
185
|
-
standards_template.setDefaultValue('90.1-2013')
|
186
|
-
args << standards_template
|
187
|
-
|
188
|
-
return args
|
189
|
-
end
|
190
|
-
|
191
|
-
# define what happens when the measure is run
|
192
|
-
def run(model, runner, user_arguments)
|
193
|
-
super(model, runner, user_arguments)
|
194
|
-
|
195
|
-
# use the built-in error checking
|
196
|
-
if !runner.validateUserArguments(arguments(model), user_arguments)
|
197
|
-
return false
|
198
|
-
end
|
199
|
-
|
200
|
-
# assign user inputs
|
201
|
-
remove_existing_hvac = runner.getBoolArgumentValue('remove_existing_hvac', user_arguments)
|
202
|
-
heating_plant_type = runner.getStringArgumentValue('heating_plant_type', user_arguments)
|
203
|
-
cooling_plant_type = runner.getStringArgumentValue('cooling_plant_type', user_arguments)
|
204
|
-
waterside_economizer = runner.getStringArgumentValue('waterside_economizer', user_arguments)
|
205
|
-
radiant_type = runner.getStringArgumentValue('radiant_type', user_arguments)
|
206
|
-
include_carpet = runner.getBoolArgumentValue('include_carpet', user_arguments)
|
207
|
-
control_strategy = runner.getStringArgumentValue('control_strategy', user_arguments)
|
208
|
-
proportional_gain = runner.getDoubleArgumentValue('proportional_gain', user_arguments)
|
209
|
-
minimum_operation = runner.getDoubleArgumentValue('minimum_operation', user_arguments)
|
210
|
-
switch_over_time = runner.getDoubleArgumentValue('switch_over_time', user_arguments)
|
211
|
-
radiant_lockout = runner.getBoolArgumentValue('radiant_lockout', user_arguments)
|
212
|
-
lockout_start_time = runner.getDoubleArgumentValue('lockout_start_time', user_arguments)
|
213
|
-
lockout_end_time = runner.getDoubleArgumentValue('lockout_end_time', user_arguments)
|
214
|
-
add_output_variables = runner.getBoolArgumentValue('add_output_variables', user_arguments)
|
215
|
-
standards_template = runner.getStringArgumentValue('standards_template', user_arguments)
|
216
|
-
|
217
|
-
# standard to access methods in openstudio-standards
|
218
|
-
std = Standard.build(standards_template)
|
219
|
-
|
220
|
-
# remove existing hvac systems
|
221
|
-
if remove_existing_hvac
|
222
|
-
runner.registerInfo('Removing existing HVAC systems from the model')
|
223
|
-
std.remove_HVAC(model)
|
224
|
-
end
|
225
|
-
|
226
|
-
# exclude plenum zones, zones without thermostats, and zones with no floor area
|
227
|
-
conditioned_zones = []
|
228
|
-
model.getThermalZones.each do |zone|
|
229
|
-
next if std.thermal_zone_plenum?(zone)
|
230
|
-
next if !std.thermal_zone_heated?(zone) && !std.thermal_zone_cooled?(zone)
|
231
|
-
conditioned_zones << zone
|
232
|
-
end
|
233
|
-
|
234
|
-
# make sure the model has conditioned zones
|
235
|
-
if conditioned_zones.empty?
|
236
|
-
runner.registerAsNotApplicable('No conditioned zones identified in model. Make sure thermostats are assigned to zones.')
|
237
|
-
return false
|
238
|
-
end
|
239
|
-
|
240
|
-
# get the climate zone
|
241
|
-
climate_zone_obj = model.getClimateZones.getClimateZone('ASHRAE', 2006)
|
242
|
-
if climate_zone_obj.empty
|
243
|
-
climate_zone_obj = model.getClimateZones.getClimateZone('ASHRAE', 2013)
|
244
|
-
end
|
245
|
-
|
246
|
-
if climate_zone_obj.empty || climate_zone_obj.value == ''
|
247
|
-
runner.registerError('Please assign an ASHRAE climate zone to the model before running the measure.')
|
248
|
-
return false
|
249
|
-
else
|
250
|
-
climate_zone = climate_zone_obj.value
|
251
|
-
end
|
252
|
-
|
253
|
-
# get the radiant hot water temperature based on the climate zone
|
254
|
-
case climate_zone
|
255
|
-
when '1'
|
256
|
-
radiant_htg_dsgn_sup_wtr_temp_f = 90.0
|
257
|
-
when '2', '2A', '2B', 'CEC15'
|
258
|
-
radiant_htg_dsgn_sup_wtr_temp_f = 100.0
|
259
|
-
when '3', '3A', '3B', '3C', 'CEC3', 'CEC4', 'CEC5', 'CEC6', 'CEC7', 'CEC8', 'CEC9', 'CEC10', 'CEC11', 'CEC12', 'CEC13', 'CEC14'
|
260
|
-
radiant_htg_dsgn_sup_wtr_temp_f = 100.0
|
261
|
-
when '4', '4A', '4B', '4C', 'CEC1', 'CEC2'
|
262
|
-
radiant_htg_dsgn_sup_wtr_temp_f = 100.0
|
263
|
-
when '5', '5A', '5B', '5C', 'CEC16'
|
264
|
-
radiant_htg_dsgn_sup_wtr_temp_f = 110.0
|
265
|
-
when '6', '6A', '6B'
|
266
|
-
radiant_htg_dsgn_sup_wtr_temp_f = 120.0
|
267
|
-
when '7', '8'
|
268
|
-
radiant_htg_dsgn_sup_wtr_temp_f = 120.0
|
269
|
-
else # default to 4
|
270
|
-
radiant_htg_dsgn_sup_wtr_temp_f = 100.0
|
271
|
-
end
|
272
|
-
runner.registerInitialCondition("This measure will add radiant systems to #{conditioned_zones.size} conditioned zones with a hot water loop served by a #{heating_plant_type} and chilled water loop served by a #{cooling_plant_type}.")
|
273
|
-
runner.registerInfo("Based on model climate zone #{climate_zone}, using #{radiant_htg_dsgn_sup_wtr_temp_f}F heating supply water temperature.")
|
274
|
-
|
275
|
-
# establish hot water and chilled water loops
|
276
|
-
case heating_plant_type
|
277
|
-
when 'Air Source Heat Pump'
|
278
|
-
boiler_fuel_type = 'ASHP'
|
279
|
-
when 'Boiler'
|
280
|
-
boiler_fuel_type = 'NaturalGas'
|
281
|
-
end
|
282
|
-
hot_water_loop = std.model_add_hw_loop(model, boiler_fuel_type, dsgn_sup_wtr_temp: radiant_htg_dsgn_sup_wtr_temp_f, dsgn_sup_wtr_temp_delt: 10.0)
|
283
|
-
|
284
|
-
case cooling_plant_type
|
285
|
-
when 'Air Cooled Chiller'
|
286
|
-
# make chilled water loop
|
287
|
-
chilled_water_loop = std.model_add_chw_loop(model,
|
288
|
-
chw_pumping_type: 'const_pri_var_sec',
|
289
|
-
dsgn_sup_wtr_temp: 55.0,
|
290
|
-
dsgn_sup_wtr_temp_delt: 5.0,
|
291
|
-
chiller_cooling_type: 'AirCooled')
|
292
|
-
when 'Water Cooled Chiller'
|
293
|
-
# make condenser water loop
|
294
|
-
fan_type = std.model_cw_loop_cooling_tower_fan_type(model)
|
295
|
-
condenser_water_loop = std.model_add_cw_loop(model,
|
296
|
-
cooling_tower_type: 'Open Cooling Tower',
|
297
|
-
cooling_tower_fan_type: 'Propeller or Axial',
|
298
|
-
cooling_tower_capacity_control: fan_type,
|
299
|
-
number_of_cells_per_tower: 1,
|
300
|
-
number_cooling_towers: 1)
|
301
|
-
# make chilled water loop
|
302
|
-
chilled_water_loop = std.model_add_chw_loop(model,
|
303
|
-
chw_pumping_type: 'const_pri_var_sec',
|
304
|
-
dsgn_sup_wtr_temp: 55.0,
|
305
|
-
dsgn_sup_wtr_temp_delt: 5.0,
|
306
|
-
chiller_cooling_type: 'WaterCooled',
|
307
|
-
condenser_water_loop: condenser_water_loop,
|
308
|
-
waterside_economizer: waterside_economizer)
|
309
|
-
end
|
310
|
-
|
311
|
-
# add radiant system to conditioned zones
|
312
|
-
radiant_loops = std.model_add_low_temp_radiant(model, conditioned_zones, hot_water_loop, chilled_water_loop,
|
313
|
-
radiant_type: radiant_type,
|
314
|
-
include_carpet: include_carpet,
|
315
|
-
control_strategy: control_strategy,
|
316
|
-
proportional_gain: proportional_gain,
|
317
|
-
minimum_operation: minimum_operation,
|
318
|
-
switch_over_time: switch_over_time,
|
319
|
-
radiant_lockout: radiant_lockout,
|
320
|
-
radiant_lockout_start_time: lockout_start_time,
|
321
|
-
radiant_lockout_end_time: lockout_end_time)
|
322
|
-
|
323
|
-
# add DOAS system to conditioned zones
|
324
|
-
std.model_add_doas(model, conditioned_zones)
|
325
|
-
std.rename_air_loop_nodes(model)
|
326
|
-
|
327
|
-
# set the heating and cooling sizing parameters
|
328
|
-
std.model_apply_prm_sizing_parameters(model)
|
329
|
-
|
330
|
-
runner.registerInfo("Adjusting HVAC equipment efficiencies and controls to follow template #{standards_template}.")
|
331
|
-
|
332
|
-
# perform a sizing run
|
333
|
-
if std.model_run_sizing_run(model, "#{Dir.pwd}/radiant_sizing_run") == false
|
334
|
-
runner.registerError('Sizing run failed. See errors in sizing run directory of this measure')
|
335
|
-
return false
|
336
|
-
end
|
337
|
-
|
338
|
-
# Apply the HVAC efficiency standard
|
339
|
-
std.model_apply_hvac_efficiency_standard(model, climate_zone)
|
340
|
-
|
341
|
-
# add output variables
|
342
|
-
vars = []
|
343
|
-
if add_output_variables
|
344
|
-
# site outdoor drybulb temperature
|
345
|
-
vars << OpenStudio::Model::OutputVariable.new('Site Outdoor Air Drybulb Temperature', model)
|
346
|
-
|
347
|
-
# zone hvac low temperature radiant system object variables
|
348
|
-
vars << OpenStudio::Model::OutputVariable.new('Zone Radiant HVAC Cooling Energy', model)
|
349
|
-
vars << OpenStudio::Model::OutputVariable.new('Zone Radiant HVAC Heating Energy', model)
|
350
|
-
vars << OpenStudio::Model::OutputVariable.new('Zone Radiant HVAC Inlet Temperature', model)
|
351
|
-
vars << OpenStudio::Model::OutputVariable.new('Zone Radiant HVAC Outlet Temperature', model)
|
352
|
-
vars << OpenStudio::Model::OutputVariable.new('Zone Radiant HVAC Mass Flow Rate', model)
|
353
|
-
|
354
|
-
# plant loop variables
|
355
|
-
var = OpenStudio::Model::OutputVariable.new('System Node Mass Flow Rate', model)
|
356
|
-
var.setKeyValue('Chilled Water Loop Supply Outlet Node')
|
357
|
-
vars << var
|
358
|
-
var = OpenStudio::Model::OutputVariable.new('System Node Mass Flow Rate', model)
|
359
|
-
var.setKeyValue('Hot Water Loop Supply Outlet Node')
|
360
|
-
vars << var
|
361
|
-
var = OpenStudio::Model::OutputVariable.new('System Node Temperature', model)
|
362
|
-
var.setKeyValue('Chilled Water Loop Supply Outlet Node')
|
363
|
-
vars << var
|
364
|
-
var = OpenStudio::Model::OutputVariable.new('System Node Temperature', model)
|
365
|
-
var.setKeyValue('Hot Water Loop Supply Outlet Node')
|
366
|
-
vars << var
|
367
|
-
var = OpenStudio::Model::OutputVariable.new('System Node Setpoint Temperature', model)
|
368
|
-
var.setKeyValue('Chilled Water Loop Supply Outlet Node')
|
369
|
-
vars << var
|
370
|
-
var = OpenStudio::Model::OutputVariable.new('System Node Setpoint Temperature', model)
|
371
|
-
var.setKeyValue('Hot Water Loop Supply Outlet Node')
|
372
|
-
vars << var
|
373
|
-
|
374
|
-
conditioned_space_names = []
|
375
|
-
conditioned_zones.each do |zone|
|
376
|
-
zone.spaces.each { |space| conditioned_space_names << space.name }
|
377
|
-
end
|
378
|
-
|
379
|
-
# radiant surface temperatures
|
380
|
-
model.getSurfaces.each do |surface|
|
381
|
-
next if radiant_type == 'floor' && surface.surfaceType != 'Floor'
|
382
|
-
next if radiant_type == 'ceiling' && surface.surfaceType != 'RoofCeiling'
|
383
|
-
next unless surface.space.is_initialized
|
384
|
-
surface_space_name = surface.space.get.name.to_s
|
385
|
-
next unless conditioned_space_names.include? surface_space_name
|
386
|
-
var = OpenStudio::Model::OutputVariable.new('Surface Inside Face Temperature', model)
|
387
|
-
var.setKeyValue(surface.name.to_s)
|
388
|
-
vars << var
|
389
|
-
end
|
390
|
-
|
391
|
-
# set to timestep
|
392
|
-
vars.each { |var| var.setReportingFrequency('Timestep') }
|
393
|
-
end
|
394
|
-
|
395
|
-
# runner register final condition
|
396
|
-
runner.registerFinalCondition("This measure created #{model.getZoneHVACLowTempRadiantVarFlows.size} radiant #{radiant_type} objects.")
|
397
|
-
|
398
|
-
return true
|
399
|
-
end
|
400
|
-
end
|
401
|
-
|
402
|
-
# register the measure to be used by the application
|
403
|
-
RadiantSlabWithDoas.new.registerWithApplication
|