honeybee-openstudio 2.33.2 → 2.33.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/honeybee-openstudio.gemspec +1 -1
- data/lib/to_openstudio/hvac/template.rb +21 -12
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eab7ff62fdd1d4bd4be9e29721185b9f9c6377893e5ee2fcf1cdbed6154929bb
|
4
|
+
data.tar.gz: fe89876a53b507f73b0342cf673b78905a797597e2dda03907d8af9b11abece3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bad5bc248bfb29a29dd50bc7619a5353ecadb2ee3afb4bb4828c1283354904b68dd76f6cdc95e15b72c17492c0c08ed385a847dcdc54d54d9f5512a1fc8d9cfd
|
7
|
+
data.tar.gz: 44e32c4514f0e3fd3e9a21b4b00fcb15d75ab069e7e6b417a56cdf2a24e6184f0d5f4dd3dcc3b040a956d237351528ebd97d149250654040ed004184591b3b01
|
data/honeybee-openstudio.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = 'honeybee-openstudio'
|
7
|
-
spec.version = '2.33.
|
7
|
+
spec.version = '2.33.3'
|
8
8
|
spec.authors = ['Tanushree Charan', 'Dan Macumber', 'Chris Mackey', 'Mostapha Sadeghipour Roudsari']
|
9
9
|
spec.email = ['tanushree.charan@nrel.gov', 'chris@ladybug.tools']
|
10
10
|
|
@@ -115,18 +115,23 @@ module Honeybee
|
|
115
115
|
end
|
116
116
|
end
|
117
117
|
|
118
|
-
# set the efficiencies of
|
118
|
+
# set the efficiencies of fans to be reasonable for DOAS vs. All-Air loops
|
119
119
|
if !os_air_loops.empty?
|
120
|
+
if equipment_type.to_s.include? 'DOAS'
|
121
|
+
fan_size = 0.2
|
122
|
+
else
|
123
|
+
fan_size = 2
|
124
|
+
end
|
120
125
|
os_air_loops.each do |os_air_loop|
|
121
126
|
# set the supply fan efficiency
|
122
127
|
unless os_air_loop.supplyFan.empty?
|
123
128
|
s_fan = os_air_loop.supplyFan.get
|
124
129
|
s_fan = fan_from_component(s_fan)
|
125
130
|
unless s_fan.nil?
|
126
|
-
s_fan.setMaximumFlowRate(
|
131
|
+
s_fan.setMaximumFlowRate(fan_size) # set to a typical value
|
127
132
|
standard.fan_apply_standard_minimum_motor_efficiency(
|
128
133
|
s_fan, standard.fan_brake_horsepower(s_fan))
|
129
|
-
s_fan.autosizeMaximumFlowRate()
|
134
|
+
s_fan.autosizeMaximumFlowRate() # set it back to autosize
|
130
135
|
end
|
131
136
|
end
|
132
137
|
# set the return fan efficiency
|
@@ -134,31 +139,35 @@ module Honeybee
|
|
134
139
|
ex_fan = os_air_loop.returnFan.get
|
135
140
|
ex_fan = fan_from_component(ex_fan)
|
136
141
|
unless ex_fan.nil?
|
137
|
-
ex_fan.setMaximumFlowRate(
|
142
|
+
ex_fan.setMaximumFlowRate(fan_size) # set to a typical value
|
138
143
|
standard.fan_apply_standard_minimum_motor_efficiency(
|
139
144
|
ex_fan, standard.fan_brake_horsepower(ex_fan))
|
140
|
-
ex_fan.autosizeMaximumFlowRate()
|
145
|
+
ex_fan.autosizeMaximumFlowRate() # set it back to autosize
|
141
146
|
end
|
142
147
|
end
|
143
148
|
end
|
144
149
|
end
|
145
150
|
|
146
|
-
# get the boilers and assign
|
151
|
+
# get the boilers and assign a reasonable efficiency (assuming 40kW boilers)
|
147
152
|
if equipment_type.to_s.include? 'Boiler'
|
148
153
|
openstudio_model.getBoilerHotWaters.sort.each do |obj|
|
149
|
-
obj.setNominalCapacity(40000) # set to a
|
154
|
+
obj.setNominalCapacity(40000) # set to a typical value
|
150
155
|
standard.boiler_hot_water_apply_efficiency_and_curves(obj)
|
151
156
|
obj.autosizeNominalCapacity() # set it back to autosize
|
152
157
|
obj.setName(standard_id + ' Boiler')
|
153
158
|
end
|
154
159
|
end
|
155
160
|
|
156
|
-
# get the chillers and assign a reasonable COP
|
161
|
+
# get the chillers and assign a reasonable COP (assuming 2000kW water-cooled; 600kW air-cooled)
|
157
162
|
if equipment_type.to_s.include? 'Chiller'
|
158
|
-
|
163
|
+
if equipment_type.to_s.include? 'ACChiller'
|
164
|
+
chiller_size = 600000
|
165
|
+
else
|
166
|
+
chiller_size = 2000000
|
167
|
+
end
|
159
168
|
clg_tower_objs = openstudio_model.getCoolingTowerSingleSpeeds
|
160
169
|
openstudio_model.getChillerElectricEIRs.sort.each do |obj|
|
161
|
-
obj.setReferenceCapacity(
|
170
|
+
obj.setReferenceCapacity(chiller_size) # set to a typical value
|
162
171
|
if obj.name.empty?
|
163
172
|
obj_name = standard_id + ' Chiller'
|
164
173
|
else
|
@@ -170,7 +179,7 @@ module Honeybee
|
|
170
179
|
end
|
171
180
|
end
|
172
181
|
|
173
|
-
# set the efficiency of any gas heaters
|
182
|
+
# set the efficiency of any gas heaters (assuming 10kW heaters)
|
174
183
|
if equipment_type.to_s.include? 'GasHeaters'
|
175
184
|
zones.each do |zon|
|
176
185
|
zon.equipment.each do |equp|
|
@@ -179,7 +188,7 @@ module Honeybee
|
|
179
188
|
coil = unit_heater.heatingCoil
|
180
189
|
unless coil.to_CoilHeatingGas.empty?
|
181
190
|
coil = coil.to_CoilHeatingGas.get
|
182
|
-
coil.setNominalCapacity(10000) # set to a
|
191
|
+
coil.setNominalCapacity(10000) # set to a typical value
|
183
192
|
standard.coil_heating_gas_apply_efficiency_and_curves(coil)
|
184
193
|
coil.autosizeNominalCapacity() # set it back to autosize
|
185
194
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: honeybee-openstudio
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.33.
|
4
|
+
version: 2.33.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tanushree Charan
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: exe
|
13
13
|
cert_chain: []
|
14
|
-
date: 2022-10-
|
14
|
+
date: 2022-10-11 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: bundler
|