openstudio-standards 0.2.8 → 0.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/data/geometry/ASHRAEPrimarySchool.osm +36 -2
- data/data/geometry/ASHRAESecondarySchool.osm +19 -2
- data/data/standards/OpenStudio_Standards_elevators.json +10756 -0
- data/lib/openstudio-standards.rb +0 -2
- data/lib/openstudio-standards/hvac_sizing/Siz.HVACComponent.rb +36 -0
- data/lib/openstudio-standards/hvac_sizing/Siz.Model.rb +3 -0
- data/lib/openstudio-standards/prototypes/common/objects/Prototype.Model.elevators.rb +175 -164
- data/lib/openstudio-standards/prototypes/common/objects/Prototype.Model.swh.rb +268 -476
- data/lib/openstudio-standards/prototypes/common/objects/Prototype.ServiceWaterHeating.rb +625 -116
- data/lib/openstudio-standards/prototypes/common/objects/Prototype.hvac_systems.rb +4 -0
- data/lib/openstudio-standards/standards/Standards.AirLoopHVAC.rb +2 -19
- data/lib/openstudio-standards/standards/Standards.ThermalZone.rb +112 -68
- data/lib/openstudio-standards/standards/Standards.WaterHeaterMixed.rb +10 -2
- data/lib/openstudio-standards/standards/necb/necb_2011/data/space_types.json +224 -224
- data/lib/openstudio-standards/standards/necb/necb_2011/service_water_heating.rb +8 -16
- data/lib/openstudio-standards/standards/necb/necb_2015/data/space_types.json +318 -318
- data/lib/openstudio-standards/standards/standard.rb +1 -0
- data/lib/openstudio-standards/version.rb +1 -1
- metadata +4 -4
- data/lib/openstudio-standards/prototypes/ashrae_90_1/doe_ref_1980_2004/doe_ref_1980_2004.hvac_systems.rb +0 -15
- data/lib/openstudio-standards/prototypes/ashrae_90_1/doe_ref_pre_1980/doe_ref_pre_1980.hvac_systems.rb +0 -15
@@ -112,6 +112,7 @@ class Standard
|
|
112
112
|
standards_files << 'OpenStudio_Standards_refrigeration_compressors.json'
|
113
113
|
standards_files << 'OpenStudio_Standards_hvac_inference.json'
|
114
114
|
standards_files << 'OpenStudio_Standards_size_category.json'
|
115
|
+
standards_files << 'OpenStudio_Standards_elevators.json'
|
115
116
|
# standards_files << 'OpenStudio_Standards_unitary_hps.json'
|
116
117
|
# Combine the data from the JSON files into a single hash
|
117
118
|
top_dir = File.expand_path('../../..', File.dirname(__FILE__))
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openstudio-standards
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Parker
|
@@ -21,7 +21,7 @@ authors:
|
|
21
21
|
autorequire:
|
22
22
|
bindir: bin
|
23
23
|
cert_chain: []
|
24
|
-
date: 2019-03-
|
24
|
+
date: 2019-03-21 00:00:00.000000000 Z
|
25
25
|
dependencies:
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
27
|
name: minitest-reporters
|
@@ -639,6 +639,7 @@ files:
|
|
639
639
|
- data/standards/OpenStudio_Standards_curves.json
|
640
640
|
- data/standards/OpenStudio_Standards_deer_lighting_fractions.json
|
641
641
|
- data/standards/OpenStudio_Standards_economizers.json
|
642
|
+
- data/standards/OpenStudio_Standards_elevators.json
|
642
643
|
- data/standards/OpenStudio_Standards_entryways.json
|
643
644
|
- data/standards/OpenStudio_Standards_exterior_lighting.json
|
644
645
|
- data/standards/OpenStudio_Standards_fans.json
|
@@ -1341,6 +1342,7 @@ files:
|
|
1341
1342
|
- lib/openstudio-standards/hvac_sizing/Siz.FanConstantVolume.rb
|
1342
1343
|
- lib/openstudio-standards/hvac_sizing/Siz.FanOnOff.rb
|
1343
1344
|
- lib/openstudio-standards/hvac_sizing/Siz.FanVariableVolume.rb
|
1345
|
+
- lib/openstudio-standards/hvac_sizing/Siz.HVACComponent.rb
|
1344
1346
|
- lib/openstudio-standards/hvac_sizing/Siz.HeaderedPumpsConstantSpeed.rb
|
1345
1347
|
- lib/openstudio-standards/hvac_sizing/Siz.HeaderedPumpsVariableSpeed.rb
|
1346
1348
|
- lib/openstudio-standards/hvac_sizing/Siz.HeatExchangerAirToAirSensibleAndLatent.rb
|
@@ -1387,12 +1389,10 @@ files:
|
|
1387
1389
|
- lib/openstudio-standards/prototypes/ashrae_90_1/ashrae_90_1_2013/ashrae_90_1_2013.hvac_systems.rb
|
1388
1390
|
- lib/openstudio-standards/prototypes/ashrae_90_1/doe_ref_1980_2004/doe_ref_1980_2004.AirTerminalSingleDuctVAVReheat.rb
|
1389
1391
|
- lib/openstudio-standards/prototypes/ashrae_90_1/doe_ref_1980_2004/doe_ref_1980_2004.Model.elevators.rb
|
1390
|
-
- lib/openstudio-standards/prototypes/ashrae_90_1/doe_ref_1980_2004/doe_ref_1980_2004.hvac_systems.rb
|
1391
1392
|
- lib/openstudio-standards/prototypes/ashrae_90_1/doe_ref_1980_2004/doe_ref_1980_2004.refrigeration.rb
|
1392
1393
|
- lib/openstudio-standards/prototypes/ashrae_90_1/doe_ref_pre_1980/doe_ref_pre_1980.AirTerminalSingleDuctVAVReheat.rb
|
1393
1394
|
- lib/openstudio-standards/prototypes/ashrae_90_1/doe_ref_pre_1980/doe_ref_pre_1980.CoilHeatingGas.rb
|
1394
1395
|
- lib/openstudio-standards/prototypes/ashrae_90_1/doe_ref_pre_1980/doe_ref_pre_1980.Model.elevators.rb
|
1395
|
-
- lib/openstudio-standards/prototypes/ashrae_90_1/doe_ref_pre_1980/doe_ref_pre_1980.hvac_systems.rb
|
1396
1396
|
- lib/openstudio-standards/prototypes/ashrae_90_1/doe_ref_pre_1980/doe_ref_pre_1980.refrigeration.rb
|
1397
1397
|
- lib/openstudio-standards/prototypes/ashrae_90_1/nrel_nze_ready_2017/nrel_zne_ready_2017.AirTerminalSingleDuctVAVReheat.rb
|
1398
1398
|
- lib/openstudio-standards/prototypes/ashrae_90_1/nrel_nze_ready_2017/nrel_zne_ready_2017.FanConstantVolume.rb
|
@@ -1,15 +0,0 @@
|
|
1
|
-
class DOERef1980to2004 < ASHRAE901
|
2
|
-
# @!group hvac_systems
|
3
|
-
|
4
|
-
# Determine the type of SWH pump that
|
5
|
-
# a model will have.
|
6
|
-
# @return [String] the SWH pump type: ConstantSpeed, VariableSpeed
|
7
|
-
def model_swh_pump_type(model, building_type)
|
8
|
-
swh_pump_type = if building_type == 'Medium Office'
|
9
|
-
'ConstantSpeed'
|
10
|
-
else
|
11
|
-
'VariableSpeed'
|
12
|
-
end
|
13
|
-
return swh_pump_type
|
14
|
-
end
|
15
|
-
end
|
@@ -1,15 +0,0 @@
|
|
1
|
-
class DOERefPre1980 < ASHRAE901
|
2
|
-
# @!group hvac_systems
|
3
|
-
|
4
|
-
# Determine the type of SWH pump that
|
5
|
-
# a model will have.
|
6
|
-
# @return [String] the SWH pump type: ConstantSpeed, VariableSpeed
|
7
|
-
def model_swh_pump_type(model, building_type)
|
8
|
-
swh_pump_type = if building_type == 'Medium Office'
|
9
|
-
'ConstantSpeed'
|
10
|
-
else
|
11
|
-
'VariableSpeed'
|
12
|
-
end
|
13
|
-
return swh_pump_type
|
14
|
-
end
|
15
|
-
end
|