openstudio-standards 0.3.0 → 0.3.1.rc2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/data/geometry/ASHRAELargeOffice.json +4 -4
- data/data/geometry/ASHRAESuperMarket.json +29 -38
- data/data/standards/OpenStudio_Standards-deer-ALL-comstock(space_types).xlsx +0 -0
- data/data/standards/metadata_units_OpenStudio_Standards-deer-ALL-comstockspace_types.csv +172 -0
- data/data/standards/test_performance_expected_dd_results.csv +1890 -2016
- data/lib/openstudio-standards/btap/analysis.rb +389 -389
- data/lib/openstudio-standards/btap/bridging.rb +2099 -0
- data/lib/openstudio-standards/btap/btap.model.rb +717 -717
- data/lib/openstudio-standards/btap/btap.rb +33 -30
- data/lib/openstudio-standards/btap/economics.rb +1163 -1163
- data/lib/openstudio-standards/btap/envelope.rb +4 -4
- data/lib/openstudio-standards/btap/equest.rb +2524 -2524
- data/lib/openstudio-standards/btap/fileio.rb +10 -0
- data/lib/openstudio-standards/btap/measures.rb +1515 -1515
- data/lib/openstudio-standards/btap/mpc.rb +554 -554
- data/lib/openstudio-standards/btap/reporting.rb +287 -287
- data/lib/openstudio-standards/btap/simmanager.rb +759 -759
- data/lib/openstudio-standards/btap/spaceloads.rb +439 -439
- data/lib/openstudio-standards/btap/spacetypes.rb +113 -113
- data/lib/openstudio-standards/btap/utilities.rb +134 -134
- data/lib/openstudio-standards/hvac_sizing/Siz.AirLoopHVAC.rb +8 -83
- data/lib/openstudio-standards/hvac_sizing/Siz.CoilCoolingWater.rb +3 -99
- data/lib/openstudio-standards/hvac_sizing/Siz.HeatingCoolingFuels.rb +81 -75
- data/lib/openstudio-standards/hvac_sizing/Siz.Model.rb +7 -306
- data/lib/openstudio-standards/hvac_sizing/Siz.ThermalZone.rb +75 -98
- data/lib/openstudio-standards/prototypes/ashrae_90_1/ashrae_90_1_2016/ashrae_90_1_2016.Model.rb +41 -14
- data/lib/openstudio-standards/prototypes/ashrae_90_1/ashrae_90_1_2019/ashrae_90_1_2019.Model.rb +40 -14
- data/lib/openstudio-standards/prototypes/ashrae_90_1/ashrae_90_1_2019/ashrae_90_1_2019.Pump.rb +6 -6
- data/lib/openstudio-standards/prototypes/common/buildings/Prototype.LargeOffice.rb +7 -5
- data/lib/openstudio-standards/prototypes/common/buildings/Prototype.SuperMarket.rb +1 -23
- data/lib/openstudio-standards/prototypes/common/objects/Prototype.Model.rb +1 -1
- data/lib/openstudio-standards/prototypes/common/objects/Prototype.PumpVariableSpeed.rb +3 -3
- data/lib/openstudio-standards/prototypes/common/objects/Prototype.ServiceWaterHeating.rb +93 -4
- data/lib/openstudio-standards/prototypes/common/objects/Prototype.hvac_systems.rb +17 -4
- data/lib/openstudio-standards/prototypes/common/objects/Prototype.refrigeration.rb +5 -4
- data/lib/openstudio-standards/prototypes/common/objects/Prototype.utilities.rb +24 -4
- data/lib/openstudio-standards/standards/Standards.AirLoopHVAC.rb +41 -25
- data/lib/openstudio-standards/standards/Standards.AirTerminalSingleDuctParallelPIUReheat.rb +3 -3
- data/lib/openstudio-standards/standards/Standards.BoilerHotWater.rb +18 -0
- data/lib/openstudio-standards/standards/Standards.CoilCoolingDXSingleSpeed.rb +13 -10
- data/lib/openstudio-standards/standards/Standards.CoilDX.rb +5 -3
- data/lib/openstudio-standards/standards/Standards.CoilHeatingDXSingleSpeed.rb +11 -8
- data/lib/openstudio-standards/standards/Standards.Construction.rb +1 -1
- data/lib/openstudio-standards/standards/Standards.Fan.rb +6 -6
- data/lib/openstudio-standards/standards/Standards.Model.rb +88 -66
- data/lib/openstudio-standards/standards/Standards.PlantLoop.rb +2 -2
- data/lib/openstudio-standards/standards/Standards.Pump.rb +21 -19
- data/lib/openstudio-standards/standards/Standards.Space.rb +41 -36
- data/lib/openstudio-standards/standards/Standards.SpaceType.rb +2 -2
- data/lib/openstudio-standards/standards/Standards.ZoneHVACComponent.rb +3 -3
- data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/data/ashrae_90_1_2004.ref_cases.json +510 -0
- data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/data/ashrae_90_1_2004.refrigeration_compressors.json +18 -0
- data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/data/ashrae_90_1_2004.refrigeration_walkins.json +410 -0
- data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/data/ashrae_90_1_2004.spc_typ.json +2 -2
- data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2007/data/ashrae_90_1_2007.ref_cases.json +510 -0
- data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2007/data/ashrae_90_1_2007.refrigeration_compressors.json +18 -0
- data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2007/data/ashrae_90_1_2007.refrigeration_walkins.json +410 -0
- data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2007/data/ashrae_90_1_2007.spc_typ.json +2 -2
- data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2010/data/ashrae_90_1_2010.ref_cases.json +510 -0
- data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2010/data/ashrae_90_1_2010.refrigeration_compressors.json +18 -0
- data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2010/data/ashrae_90_1_2010.refrigeration_walkins.json +410 -0
- data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2010/data/ashrae_90_1_2010.spc_typ.json +2 -2
- data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2013/data/ashrae_90_1_2013.ref_cases.json +510 -0
- data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2013/data/ashrae_90_1_2013.refrigeration_compressors.json +18 -0
- data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2013/data/ashrae_90_1_2013.refrigeration_walkins.json +410 -0
- data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2013/data/ashrae_90_1_2013.spc_typ.json +2 -2
- data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2016/data/ashrae_90_1_2016.spc_typ.json +2 -2
- data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2019/data/ashrae_90_1_2019.spc_typ.json +2 -2
- data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.AirLoopHVAC.rb +12 -3
- data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.Model.rb +5 -3
- data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.ZoneHVACComponent.rb +6 -6
- data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.rb +4 -3
- data/lib/openstudio-standards/standards/deer/deer_1985/comstock_deer_1985/data/comstock_deer_1985.spc_typ.json +405 -405
- data/lib/openstudio-standards/standards/deer/deer_1996/comstock_deer_1996/data/comstock_deer_1996.spc_typ.json +405 -405
- data/lib/openstudio-standards/standards/deer/deer_2003/comstock_deer_2003/data/comstock_deer_2003.spc_typ.json +405 -405
- data/lib/openstudio-standards/standards/deer/deer_2003/deer_2003.ThermalZone.rb +21 -0
- data/lib/openstudio-standards/standards/deer/deer_2007/comstock_deer_2007/data/comstock_deer_2007.spc_typ.json +405 -405
- data/lib/openstudio-standards/standards/deer/deer_2007/deer_2007.ThermalZone.rb +21 -0
- data/lib/openstudio-standards/standards/deer/deer_2011/comstock_deer_2011/data/comstock_deer_2011.spc_typ.json +405 -405
- data/lib/openstudio-standards/standards/deer/deer_2011/deer_2011.ThermalZone.rb +21 -0
- data/lib/openstudio-standards/standards/deer/deer_2014/comstock_deer_2014/data/comstock_deer_2014.spc_typ.json +405 -405
- data/lib/openstudio-standards/standards/deer/deer_2014/deer_2014.ThermalZone.rb +21 -0
- data/lib/openstudio-standards/standards/deer/deer_2015/comstock_deer_2015/data/comstock_deer_2015.spc_typ.json +405 -405
- data/lib/openstudio-standards/standards/deer/deer_2015/deer_2015.ThermalZone.rb +21 -0
- data/lib/openstudio-standards/standards/deer/deer_2017/comstock_deer_2017/data/comstock_deer_2017.spc_typ.json +405 -405
- data/lib/openstudio-standards/standards/deer/deer_2017/deer_2017.ThermalZone.rb +21 -0
- data/lib/openstudio-standards/standards/deer/deer_2020/comstock_deer_2020/data/comstock_deer_2020.spc_typ.json +405 -405
- data/lib/openstudio-standards/standards/deer/deer_2020/deer_2020.AirLoopHVAC.rb +8 -0
- data/lib/openstudio-standards/standards/deer/deer_2020/deer_2020.ThermalZone.rb +21 -0
- data/lib/openstudio-standards/standards/deer/deer_2025/comstock_deer_2025/data/comstock_deer_2025.spc_typ.json +405 -405
- data/lib/openstudio-standards/standards/deer/deer_2030/comstock_deer_2030/data/comstock_deer_2030.spc_typ.json +405 -405
- data/lib/openstudio-standards/standards/deer/deer_2035/comstock_deer_2035/data/comstock_deer_2035.spc_typ.json +405 -405
- data/lib/openstudio-standards/standards/deer/deer_2040/comstock_deer_2040/data/comstock_deer_2040.spc_typ.json +405 -405
- data/lib/openstudio-standards/standards/deer/deer_2045/comstock_deer_2045/data/comstock_deer_2045.spc_typ.json +405 -405
- data/lib/openstudio-standards/standards/deer/deer_2050/comstock_deer_2050/data/comstock_deer_2050.spc_typ.json +405 -405
- data/lib/openstudio-standards/standards/deer/deer_2055/comstock_deer_2055/data/comstock_deer_2055.spc_typ.json +405 -405
- data/lib/openstudio-standards/standards/deer/deer_2060/comstock_deer_2060/data/comstock_deer_2060.spc_typ.json +405 -405
- data/lib/openstudio-standards/standards/deer/deer_2065/comstock_deer_2065/data/comstock_deer_2065.spc_typ.json +405 -405
- data/lib/openstudio-standards/standards/deer/deer_2070/comstock_deer_2070/data/comstock_deer_2070.spc_typ.json +405 -405
- data/lib/openstudio-standards/standards/deer/deer_2075/comstock_deer_2075/data/comstock_deer_2075.spc_typ.json +405 -405
- data/lib/openstudio-standards/standards/deer/deer_pre_1975/comstock_deer_pre_1975/data/comstock_deer_pre_1975.spc_typ.json +405 -405
- data/lib/openstudio-standards/standards/necb/BTAPPRE1980/btap_pre1980.rb +1 -1
- data/lib/openstudio-standards/standards/necb/BTAPPRE1980/hvac_system_3_and_8_single_speed.rb +3 -1
- data/lib/openstudio-standards/standards/necb/BTAPPRE1980/hvac_system_4.rb +3 -1
- data/lib/openstudio-standards/standards/necb/BTAPPRE1980/hvac_system_6.rb +2 -2
- data/lib/openstudio-standards/standards/necb/ECMS/data/curves.json +233 -0
- data/lib/openstudio-standards/standards/necb/ECMS/data/unitary_acs.json +180 -0
- data/lib/openstudio-standards/standards/necb/ECMS/ecms.rb +6 -1
- data/lib/openstudio-standards/standards/necb/ECMS/hvac_systems.rb +839 -290
- data/lib/openstudio-standards/standards/necb/NECB2011/autozone.rb +102 -66
- data/lib/openstudio-standards/standards/necb/NECB2011/data/fuel_type_sets.json +85 -8
- data/lib/openstudio-standards/standards/necb/NECB2011/data/geometry/HighriseApartment.osm +2483 -992
- data/lib/openstudio-standards/standards/necb/NECB2011/data/geometry/LowriseApartment.osm +4 -336
- data/lib/openstudio-standards/standards/necb/NECB2011/data/geometry/MidriseApartment.osm +228 -231
- data/lib/openstudio-standards/standards/necb/NECB2011/data/heat_pumps_heating.json +12 -18
- data/lib/openstudio-standards/standards/necb/NECB2011/data/space_type_unit_definitions.txt +76 -0
- data/lib/openstudio-standards/standards/necb/NECB2011/hvac_system_1_multi_speed.rb +6 -1
- data/lib/openstudio-standards/standards/necb/NECB2011/hvac_system_1_single_speed.rb +111 -24
- data/lib/openstudio-standards/standards/necb/NECB2011/hvac_system_2_and_5.rb +1 -0
- data/lib/openstudio-standards/standards/necb/NECB2011/hvac_system_3_and_8_multi_speed.rb +3 -1
- data/lib/openstudio-standards/standards/necb/NECB2011/hvac_system_3_and_8_single_speed.rb +64 -16
- data/lib/openstudio-standards/standards/necb/NECB2011/hvac_system_4.rb +61 -17
- data/lib/openstudio-standards/standards/necb/NECB2011/hvac_system_6.rb +128 -0
- data/lib/openstudio-standards/standards/necb/NECB2011/hvac_systems.rb +252 -23
- data/lib/openstudio-standards/standards/necb/NECB2011/necb_2011.rb +316 -20
- data/lib/openstudio-standards/standards/necb/NECB2011/qaqc/necb_qaqc.rb +1 -1
- data/lib/openstudio-standards/standards/necb/NECB2011/service_water_heating.rb +3 -5
- data/lib/openstudio-standards/standards/necb/NECB2011/system_fuels.rb +38 -0
- data/lib/openstudio-standards/standards/necb/NECB2015/data/heat_pumps_heating.json +16 -24
- data/lib/openstudio-standards/standards/necb/NECB2015/hvac_systems.rb +48 -25
- data/lib/openstudio-standards/standards/necb/NECB2020/building_envelope.rb +3 -3
- data/lib/openstudio-standards/standards/necb/NECB2020/data/chillers.json +36 -19
- data/lib/openstudio-standards/standards/necb/NECB2020/data/furnaces.json +19 -4
- data/lib/openstudio-standards/standards/necb/NECB2020/data/heat_pumps.json +20 -40
- data/lib/openstudio-standards/standards/necb/NECB2020/data/heat_pumps_heating.json +74 -36
- data/lib/openstudio-standards/standards/necb/NECB2020/necb_2020.rb +0 -2
- data/lib/openstudio-standards/standards/necb/NECB2020/service_water_heating.rb +123 -56
- data/lib/openstudio-standards/standards/necb/common/btap_data.rb +124 -2
- data/lib/openstudio-standards/standards/necb/common/btap_datapoint.rb +15 -2
- data/lib/openstudio-standards/standards/necb/common/necb_reference_runs.csv +1 -1
- data/lib/openstudio-standards/utilities/simulation.rb +1 -1
- data/lib/openstudio-standards/version.rb +1 -1
- data/lib/openstudio-standards/weather/Weather.stat_file.rb +33 -1
- data/lib/openstudio-standards.rb +1 -0
- metadata +14 -121
- data/data/standards/OpenStudio_Standards-ashrae_90_1.xlsx +0 -0
- data/data/weather/CAN_ON_Kingston.AP.718200_TMYx.2004-2018.ddy +0 -2342
- data/data/weather/CAN_ON_Kingston.AP.718200_TMYx.2004-2018.epw +0 -8768
- data/data/weather/CAN_ON_Kingston.AP.718200_TMYx.2004-2018.stat +0 -700
- data/data/weather/CAN_ON_Region.of.Waterloo.Intl.AP.713680_TMYx.2004-2018.ddy +0 -2342
- data/data/weather/CAN_ON_Region.of.Waterloo.Intl.AP.713680_TMYx.2004-2018.epw +0 -8768
- data/data/weather/CAN_ON_Region.of.Waterloo.Intl.AP.713680_TMYx.2004-2018.stat +0 -700
- data/data/weather/CAN_ON_Sarnia-Hadfield.AP.717040_TMYx.2004-2018.ddy +0 -2342
- data/data/weather/CAN_ON_Sarnia-Hadfield.AP.717040_TMYx.2004-2018.epw +0 -8768
- data/data/weather/CAN_ON_Sarnia-Hadfield.AP.717040_TMYx.2004-2018.stat +0 -700
- data/data/weather/CAN_QC_Gatineau.AP.716279_TMYx.2004-2018.ddy +0 -276
- data/data/weather/CAN_QC_Gatineau.AP.716279_TMYx.2004-2018.epw +0 -8768
- data/data/weather/CAN_QC_Gatineau.AP.716279_TMYx.2004-2018.stat +0 -611
- data/data/weather/CAN_QC_Granby.710367_TMYx.2004-2018.ddy +0 -276
- data/data/weather/CAN_QC_Granby.710367_TMYx.2004-2018.epw +0 -8768
- data/data/weather/CAN_QC_Granby.710367_TMYx.2004-2018.stat +0 -610
- data/data/weather/CAN_QC_Sherbrooke.AP.716100_TMYx.2004-2018.ddy +0 -2342
- data/data/weather/CAN_QC_Sherbrooke.AP.716100_TMYx.2004-2018.epw +0 -8768
- data/data/weather/CAN_QC_Sherbrooke.AP.716100_TMYx.2004-2018.stat +0 -700
- data/data/weather/CAN_QC_Trois.Rivieres.717240_TMYx.2004-2018.ddy +0 -2342
- data/data/weather/CAN_QC_Trois.Rivieres.717240_TMYx.2004-2018.epw +0 -8768
- data/data/weather/CAN_QC_Trois.Rivieres.717240_TMYx.2004-2018.stat +0 -700
- data/lib/openstudio-standards/hvac_sizing/Siz.AirConditionerVariableRefrigerantFlow.rb +0 -81
- data/lib/openstudio-standards/hvac_sizing/Siz.AirLoopHVACUnitaryHeatCoolVAVChngByp.rb +0 -27
- data/lib/openstudio-standards/hvac_sizing/Siz.AirLoopHVACUnitaryHeatPumpAirToAir.rb +0 -69
- data/lib/openstudio-standards/hvac_sizing/Siz.AirLoopHVACUnitaryHeatPumpAirToAirMultiSpeed.rb +0 -178
- data/lib/openstudio-standards/hvac_sizing/Siz.AirLoopHVACUnitarySystem.rb +0 -27
- data/lib/openstudio-standards/hvac_sizing/Siz.AirTermSnglDuctConstVolCooledBeam.rb +0 -27
- data/lib/openstudio-standards/hvac_sizing/Siz.AirTermSnglDuctConstVolFourPipeInduction.rb +0 -27
- data/lib/openstudio-standards/hvac_sizing/Siz.AirTermSnglDuctConstVolReheat.rb +0 -27
- data/lib/openstudio-standards/hvac_sizing/Siz.AirTermSnglDuctParallelPIUReheat.rb +0 -67
- data/lib/openstudio-standards/hvac_sizing/Siz.AirTermSnglDuctSeriesPIUReheat.rb +0 -27
- data/lib/openstudio-standards/hvac_sizing/Siz.AirTermSnglDuctUncontrolled.rb +0 -30
- data/lib/openstudio-standards/hvac_sizing/Siz.AirTermSnglDuctVAVHeatAndCoolNoReheat.rb +0 -27
- data/lib/openstudio-standards/hvac_sizing/Siz.AirTermSnglDuctVAVHeatAndCoolReheat.rb +0 -27
- data/lib/openstudio-standards/hvac_sizing/Siz.AirTermSnglDuctVAVNoReheat.rb +0 -68
- data/lib/openstudio-standards/hvac_sizing/Siz.AirTermSnglDuctVAVReheat.rb +0 -68
- data/lib/openstudio-standards/hvac_sizing/Siz.BoilerHotWater.rb +0 -42
- data/lib/openstudio-standards/hvac_sizing/Siz.BoilerSteam.rb +0 -27
- data/lib/openstudio-standards/hvac_sizing/Siz.ChillerElectricEIR.rb +0 -58
- data/lib/openstudio-standards/hvac_sizing/Siz.CoilCoolingDXMultiSpeed.rb +0 -171
- data/lib/openstudio-standards/hvac_sizing/Siz.CoilCoolingDXSingleSpeed.rb +0 -56
- data/lib/openstudio-standards/hvac_sizing/Siz.CoilCoolingDXTwoSpeed.rb +0 -89
- data/lib/openstudio-standards/hvac_sizing/Siz.CoilCoolingDXVariableRefrigerantFlow.rb +0 -50
- data/lib/openstudio-standards/hvac_sizing/Siz.CoilCoolingWaterToAirHeatPumpEquationFit.rb +0 -69
- data/lib/openstudio-standards/hvac_sizing/Siz.CoilHeatingDXMultiSpeed.rb +0 -120
- data/lib/openstudio-standards/hvac_sizing/Siz.CoilHeatingDXSingleSpeed.rb +0 -56
- data/lib/openstudio-standards/hvac_sizing/Siz.CoilHeatingDXVariableRefrigerantFlow.rb +0 -41
- data/lib/openstudio-standards/hvac_sizing/Siz.CoilHeatingDesuperheater.rb +0 -27
- data/lib/openstudio-standards/hvac_sizing/Siz.CoilHeatingElectric.rb +0 -30
- data/lib/openstudio-standards/hvac_sizing/Siz.CoilHeatingGas.rb +0 -30
- data/lib/openstudio-standards/hvac_sizing/Siz.CoilHeatingGasMultiStage.rb +0 -68
- data/lib/openstudio-standards/hvac_sizing/Siz.CoilHeatingWater.rb +0 -61
- data/lib/openstudio-standards/hvac_sizing/Siz.CoilHeatingWaterToAirHeatPumpEquationFit.rb +0 -57
- data/lib/openstudio-standards/hvac_sizing/Siz.CoilWaterHeatingDesuperheater.rb +0 -27
- data/lib/openstudio-standards/hvac_sizing/Siz.ControllerOutdoorAir.rb +0 -59
- data/lib/openstudio-standards/hvac_sizing/Siz.ControllerWaterCoil.rb +0 -49
- data/lib/openstudio-standards/hvac_sizing/Siz.CoolingTowerSingleSpeed.rb +0 -90
- data/lib/openstudio-standards/hvac_sizing/Siz.CoolingTowerTwoSpeed.rb +0 -83
- data/lib/openstudio-standards/hvac_sizing/Siz.CoolingTowerVariableSpeed.rb +0 -57
- data/lib/openstudio-standards/hvac_sizing/Siz.DistrictCooling.rb +0 -27
- data/lib/openstudio-standards/hvac_sizing/Siz.DistrictHeating.rb +0 -27
- data/lib/openstudio-standards/hvac_sizing/Siz.EvaporativeCoolerDirectResearchSpecial.rb +0 -27
- data/lib/openstudio-standards/hvac_sizing/Siz.EvaporativeCoolerIndirectResearchSpecial.rb +0 -27
- data/lib/openstudio-standards/hvac_sizing/Siz.EvaporativeFluidCoolerSingleSpeed.rb +0 -27
- data/lib/openstudio-standards/hvac_sizing/Siz.FanConstantVolume.rb +0 -29
- data/lib/openstudio-standards/hvac_sizing/Siz.FanOnOff.rb +0 -27
- data/lib/openstudio-standards/hvac_sizing/Siz.FanVariableVolume.rb +0 -29
- data/lib/openstudio-standards/hvac_sizing/Siz.HeaderedPumpsConstantSpeed.rb +0 -55
- data/lib/openstudio-standards/hvac_sizing/Siz.HeaderedPumpsVariableSpeed.rb +0 -55
- data/lib/openstudio-standards/hvac_sizing/Siz.HeatExchangerAirToAirSensibleAndLatent.rb +0 -38
- data/lib/openstudio-standards/hvac_sizing/Siz.HeatExchangerFluidToFluid.rb +0 -27
- data/lib/openstudio-standards/hvac_sizing/Siz.HumidifierSteamElectric.rb +0 -27
- data/lib/openstudio-standards/hvac_sizing/Siz.PlantLoop.rb +0 -42
- data/lib/openstudio-standards/hvac_sizing/Siz.PumpConstantSpeed.rb +0 -59
- data/lib/openstudio-standards/hvac_sizing/Siz.PumpVariableSpeed.rb +0 -59
- data/lib/openstudio-standards/hvac_sizing/Siz.SizingSystem.rb +0 -48
- data/lib/openstudio-standards/hvac_sizing/Siz.WaterHeaterMixed.rb +0 -16
- data/lib/openstudio-standards/hvac_sizing/Siz.ZoneHVACBaseboardConvectiveElectric.rb +0 -27
- data/lib/openstudio-standards/hvac_sizing/Siz.ZoneHVACBaseboardConvectiveWater.rb +0 -27
- data/lib/openstudio-standards/hvac_sizing/Siz.ZoneHVACFourPipeFanCoil.rb +0 -27
- data/lib/openstudio-standards/hvac_sizing/Siz.ZoneHVACHighTemperatureRadiant.rb +0 -27
- data/lib/openstudio-standards/hvac_sizing/Siz.ZoneHVACIdealLoadsAirSystem.rb +0 -27
- data/lib/openstudio-standards/hvac_sizing/Siz.ZoneHVACLowTempRadiantConstFlow.rb +0 -27
- data/lib/openstudio-standards/hvac_sizing/Siz.ZoneHVACLowTempRadiantVarFlow.rb +0 -27
- data/lib/openstudio-standards/hvac_sizing/Siz.ZoneHVACLowTemperatureRadiantElectric.rb +0 -27
- data/lib/openstudio-standards/hvac_sizing/Siz.ZoneHVACPackagedTerminalAirConditioner.rb +0 -88
- data/lib/openstudio-standards/hvac_sizing/Siz.ZoneHVACPackagedTerminalHeatPump.rb +0 -88
- data/lib/openstudio-standards/hvac_sizing/Siz.ZoneHVACTerminalUnitVariableRefrigerantFlow.rb +0 -104
- data/lib/openstudio-standards/hvac_sizing/Siz.ZoneHVACUnitHeater.rb +0 -27
- data/lib/openstudio-standards/hvac_sizing/Siz.ZoneHVACWaterToAirHeatPump.rb +0 -27
@@ -1,68 +0,0 @@
|
|
1
|
-
|
2
|
-
# open the class to add methods to return sizing values
|
3
|
-
class OpenStudio::Model::AirTerminalSingleDuctVAVReheat
|
4
|
-
|
5
|
-
# Sets all auto-sizeable fields to autosize
|
6
|
-
def autosize
|
7
|
-
OpenStudio::logFree(OpenStudio::Warn, "openstudio.sizing.AirTerminalSingleDuctVAVReheat", ".autosize not yet implemented for #{self.iddObject.type.valueDescription}.")
|
8
|
-
end
|
9
|
-
|
10
|
-
# Takes the values calculated by the EnergyPlus sizing routines
|
11
|
-
# and puts them into this object model in place of the autosized fields.
|
12
|
-
# Must have previously completed a run with sql output for this to work.
|
13
|
-
def applySizingValues
|
14
|
-
|
15
|
-
rated_flow_rate = self.autosizedMaximumAirFlowRate
|
16
|
-
if rated_flow_rate.is_initialized
|
17
|
-
self.setMaximumAirFlowRate(rated_flow_rate.get)
|
18
|
-
end
|
19
|
-
|
20
|
-
maximum_hot_water_or_steam_flow_rate = self.autosizedMaximumHotWaterOrSteamFlowRate
|
21
|
-
if maximum_hot_water_or_steam_flow_rate.is_initialized
|
22
|
-
self.setMaximumHotWaterOrSteamFlowRate(maximum_hot_water_or_steam_flow_rate.get)
|
23
|
-
end
|
24
|
-
|
25
|
-
maximum_flow_per_zone_floor_area_during_reheat = self.autosizedMaximumFlowPerZoneFloorAreaDuringReheat
|
26
|
-
if maximum_flow_per_zone_floor_area_during_reheat.is_initialized
|
27
|
-
self.setMaximumFlowPerZoneFloorAreaDuringReheat(maximum_flow_per_zone_floor_area_during_reheat.get)
|
28
|
-
end
|
29
|
-
|
30
|
-
maximum_flow_fraction_during_reheat = self.autosizedMaximumFlowFractionDuringReheat
|
31
|
-
if maximum_flow_fraction_during_reheat.is_initialized
|
32
|
-
self.setMaximumFlowFractionDuringReheat(maximum_flow_fraction_during_reheat.get)
|
33
|
-
end
|
34
|
-
|
35
|
-
end
|
36
|
-
|
37
|
-
# returns the autosized maximum air flow rate as an optional double
|
38
|
-
def autosizedMaximumAirFlowRate
|
39
|
-
|
40
|
-
return self.model.getAutosizedValue(self, 'Design Size Maximum Air Flow Rate', 'm3/s')
|
41
|
-
|
42
|
-
end
|
43
|
-
|
44
|
-
# returns the autosized rated power consumption as an optional double
|
45
|
-
def autosizedMaximumHotWaterOrSteamFlowRate
|
46
|
-
|
47
|
-
return self.model.getAutosizedValue(self, 'Design Size Maximum Reheat Water Flow Rate', 'm3/s')
|
48
|
-
|
49
|
-
end
|
50
|
-
|
51
|
-
# returns the autosized maximum flow per zone floor area during reheat as an optional double
|
52
|
-
def autosizedMaximumFlowPerZoneFloorAreaDuringReheat
|
53
|
-
|
54
|
-
return self.model.getAutosizedValue(self, 'Design Size Maximum Flow per Zone Floor Area during Reheat', 'm3/s-m2')
|
55
|
-
|
56
|
-
end
|
57
|
-
|
58
|
-
# returns the autosized maximum flow fraction during reheat as an optional double
|
59
|
-
def autosizedMaximumFlowFractionDuringReheat
|
60
|
-
|
61
|
-
return self.model.getAutosizedValue(self, 'Design Size Maximum Flow Fraction during Reheat', '')
|
62
|
-
|
63
|
-
end
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
end
|
@@ -1,68 +0,0 @@
|
|
1
|
-
|
2
|
-
# open the class to add methods to return sizing values
|
3
|
-
class OpenStudio::Model::AirTerminalSingleDuctVAVReheat
|
4
|
-
|
5
|
-
# Sets all auto-sizeable fields to autosize
|
6
|
-
def autosize
|
7
|
-
OpenStudio::logFree(OpenStudio::Warn, "openstudio.sizing.AirTerminalSingleDuctVAVReheat", ".autosize not yet implemented for #{self.iddObject.type.valueDescription}.")
|
8
|
-
end
|
9
|
-
|
10
|
-
# Takes the values calculated by the EnergyPlus sizing routines
|
11
|
-
# and puts them into this object model in place of the autosized fields.
|
12
|
-
# Must have previously completed a run with sql output for this to work.
|
13
|
-
def applySizingValues
|
14
|
-
|
15
|
-
rated_flow_rate = self.autosizedMaximumAirFlowRate
|
16
|
-
if rated_flow_rate.is_initialized
|
17
|
-
self.setMaximumAirFlowRate(rated_flow_rate.get)
|
18
|
-
end
|
19
|
-
|
20
|
-
maximum_hot_water_or_steam_flow_rate = self.autosizedMaximumHotWaterOrSteamFlowRate
|
21
|
-
if maximum_hot_water_or_steam_flow_rate.is_initialized
|
22
|
-
self.setMaximumHotWaterOrSteamFlowRate(maximum_hot_water_or_steam_flow_rate.get)
|
23
|
-
end
|
24
|
-
|
25
|
-
maximum_flow_per_zone_floor_area_during_reheat = self.autosizedMaximumFlowPerZoneFloorAreaDuringReheat
|
26
|
-
if maximum_flow_per_zone_floor_area_during_reheat.is_initialized
|
27
|
-
self.setMaximumFlowPerZoneFloorAreaDuringReheat(maximum_flow_per_zone_floor_area_during_reheat.get)
|
28
|
-
end
|
29
|
-
|
30
|
-
maximum_flow_fraction_during_reheat = self.autosizedMaximumFlowFractionDuringReheat
|
31
|
-
if maximum_flow_fraction_during_reheat.is_initialized
|
32
|
-
self.setMaximumFlowFractionDuringReheat(maximum_flow_fraction_during_reheat.get)
|
33
|
-
end
|
34
|
-
|
35
|
-
end
|
36
|
-
|
37
|
-
# returns the autosized maximum air flow rate as an optional double
|
38
|
-
def autosizedMaximumAirFlowRate
|
39
|
-
|
40
|
-
return self.model.getAutosizedValue(self, 'Design Size Maximum Air Flow Rate', 'm3/s')
|
41
|
-
|
42
|
-
end
|
43
|
-
|
44
|
-
# returns the autosized rated power consumption as an optional double
|
45
|
-
def autosizedMaximumHotWaterOrSteamFlowRate
|
46
|
-
|
47
|
-
return self.model.getAutosizedValue(self, 'Design Size Maximum Reheat Water Flow Rate', 'm3/s')
|
48
|
-
|
49
|
-
end
|
50
|
-
|
51
|
-
# returns the autosized maximum flow per zone floor area during reheat as an optional double
|
52
|
-
def autosizedMaximumFlowPerZoneFloorAreaDuringReheat
|
53
|
-
|
54
|
-
return self.model.getAutosizedValue(self, 'Design Size Maximum Flow per Zone Floor Area during Reheat', 'm3/s-m2')
|
55
|
-
|
56
|
-
end
|
57
|
-
|
58
|
-
# returns the autosized maximum flow fraction during reheat as an optional double
|
59
|
-
def autosizedMaximumFlowFractionDuringReheat
|
60
|
-
|
61
|
-
return self.model.getAutosizedValue(self, 'Design Size Maximum Flow Fraction during Reheat', '')
|
62
|
-
|
63
|
-
end
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
end
|
@@ -1,42 +0,0 @@
|
|
1
|
-
|
2
|
-
# open the class to add methods to return sizing values
|
3
|
-
class OpenStudio::Model::BoilerHotWater
|
4
|
-
|
5
|
-
# Sets all auto-sizeable fields to autosize
|
6
|
-
def autosize
|
7
|
-
OpenStudio::logFree(OpenStudio::Warn, "openstudio.sizing.BoilerHotWater", ".autosize not yet implemented for #{self.iddObject.type.valueDescription}.")
|
8
|
-
end
|
9
|
-
|
10
|
-
# Takes the values calculated by the EnergyPlus sizing routines
|
11
|
-
# and puts them into this object model in place of the autosized fields.
|
12
|
-
# Must have previously completed a run with sql output for this to work.
|
13
|
-
def applySizingValues
|
14
|
-
|
15
|
-
nominal_capacity = self.autosizedNominalCapacity
|
16
|
-
if nominal_capacity.is_initialized
|
17
|
-
self.setNominalCapacity(nominal_capacity.get)
|
18
|
-
end
|
19
|
-
|
20
|
-
design_water_flow_rate = self.autosizedDesignWaterFlowRate
|
21
|
-
if design_water_flow_rate.is_initialized
|
22
|
-
self.setDesignWaterFlowRate(design_water_flow_rate.get)
|
23
|
-
end
|
24
|
-
|
25
|
-
end
|
26
|
-
|
27
|
-
# returns the autosized nominal capacity as an optional double
|
28
|
-
def autosizedNominalCapacity
|
29
|
-
|
30
|
-
return self.model.getAutosizedValue(self, 'Design Size Nominal Capacity', 'W')
|
31
|
-
|
32
|
-
end
|
33
|
-
|
34
|
-
# returns the autosized design water flow rate as an optional double
|
35
|
-
def autosizedDesignWaterFlowRate
|
36
|
-
|
37
|
-
return self.model.getAutosizedValue(self, 'Design Size Design Water Flow Rate', 'm3/s')
|
38
|
-
|
39
|
-
end
|
40
|
-
|
41
|
-
|
42
|
-
end
|
@@ -1,27 +0,0 @@
|
|
1
|
-
|
2
|
-
# open the class to add methods to return sizing values
|
3
|
-
class OpenStudio::Model::BoilerSteam
|
4
|
-
|
5
|
-
# Sets all auto-sizeable fields to autosize
|
6
|
-
def autosize
|
7
|
-
OpenStudio::logFree(OpenStudio::Warn, "openstudio.sizing.BoilerSteam", ".autosize not yet implemented for #{self.iddObject.type.valueDescription}.")
|
8
|
-
end
|
9
|
-
|
10
|
-
# Takes the values calculated by the EnergyPlus sizing routines
|
11
|
-
# and puts them into this object model in place of the autosized fields.
|
12
|
-
# Must have previously completed a run with sql output for this to work.
|
13
|
-
def applySizingValues
|
14
|
-
|
15
|
-
OpenStudio::logFree(OpenStudio::Warn, "openstudio.sizing.BoilerSteam", ".applySizingValues not yet implemented for #{self.iddObject.type.valueDescription}.")
|
16
|
-
|
17
|
-
end
|
18
|
-
|
19
|
-
# returns the autosized design supply air flow rate as an optional double
|
20
|
-
# def autosizedDesignSupplyAirFlowRate
|
21
|
-
|
22
|
-
# return self.model.getAutosizedValue(self, 'Design Supply Air Flow Rate', 'm3/s')
|
23
|
-
|
24
|
-
# end
|
25
|
-
|
26
|
-
|
27
|
-
end
|
@@ -1,58 +0,0 @@
|
|
1
|
-
|
2
|
-
# open the class to add methods to return sizing values
|
3
|
-
class OpenStudio::Model::ChillerElectricEIR
|
4
|
-
|
5
|
-
# Sets all auto-sizeable fields to autosize
|
6
|
-
def autosize
|
7
|
-
OpenStudio::logFree(OpenStudio::Warn, "openstudio.sizing.ChillerElectricEIR", ".autosize not yet implemented for #{self.iddObject.type.valueDescription}.")
|
8
|
-
end
|
9
|
-
|
10
|
-
# Takes the values calculated by the EnergyPlus sizing routines
|
11
|
-
# and puts them into this object model in place of the autosized fields.
|
12
|
-
# Must have previously completed a run with sql output for this to work.
|
13
|
-
def applySizingValues
|
14
|
-
|
15
|
-
reference_chilled_water_flow_rate = self.autosizedReferenceChilledWaterFlowRate
|
16
|
-
if reference_chilled_water_flow_rate.is_initialized
|
17
|
-
self.setReferenceChilledWaterFlowRate(reference_chilled_water_flow_rate.get)
|
18
|
-
end
|
19
|
-
|
20
|
-
reference_capacity = self.autosizedReferenceCapacity
|
21
|
-
if reference_capacity.is_initialized
|
22
|
-
self.setReferenceCapacity(reference_capacity.get)
|
23
|
-
end
|
24
|
-
|
25
|
-
# Only try to find the condenser water flow rate if this chiller
|
26
|
-
# is a water cooled chiller connected to a condenser loop.
|
27
|
-
if self.secondaryPlantLoop.is_initialized
|
28
|
-
reference_condenser_fluid_flow_rate = self.autosizedReferenceCondenserFluidFlowRate
|
29
|
-
if reference_condenser_fluid_flow_rate.is_initialized
|
30
|
-
self.setReferenceCondenserFluidFlowRate(reference_condenser_fluid_flow_rate.get)
|
31
|
-
end
|
32
|
-
end
|
33
|
-
|
34
|
-
end
|
35
|
-
|
36
|
-
# returns the autosized chilled water flow rate as an optional double
|
37
|
-
def autosizedReferenceChilledWaterFlowRate
|
38
|
-
|
39
|
-
return self.model.getAutosizedValue(self, 'Design Size Reference Chilled Water Flow Rate', 'm3/s')
|
40
|
-
|
41
|
-
end
|
42
|
-
|
43
|
-
# returns the autosized reference capacity as an optional double
|
44
|
-
def autosizedReferenceCapacity
|
45
|
-
|
46
|
-
return self.model.getAutosizedValue(self, 'Design Size Reference Capacity', 'W')
|
47
|
-
|
48
|
-
end
|
49
|
-
|
50
|
-
# returns the autosized reference condenser fluid flow rate as an optional double
|
51
|
-
def autosizedReferenceCondenserFluidFlowRate
|
52
|
-
|
53
|
-
return self.model.getAutosizedValue(self, 'User-Specified Reference Condenser Water Flow Rate', 'm3/s')
|
54
|
-
|
55
|
-
end
|
56
|
-
|
57
|
-
|
58
|
-
end
|
@@ -1,171 +0,0 @@
|
|
1
|
-
|
2
|
-
# open the class to add methods to return sizing values
|
3
|
-
class OpenStudio::Model::CoilCoolingDXMultiSpeed
|
4
|
-
|
5
|
-
# Sets all auto-sizeable fields to autosize
|
6
|
-
def autosize
|
7
|
-
autosizeSpeed1GrossRatedTotalCoolingCapacity
|
8
|
-
autosizeSpeed2GrossRatedTotalCoolingCapacity
|
9
|
-
autosizeSpeed3GrossRatedTotalCoolingCapacity
|
10
|
-
autosizeSpeed4GrossRatedTotalCoolingCapacity
|
11
|
-
autosizeSpeed1GrossRatedSensibleHeatRatio
|
12
|
-
autosizeSpeed2GrossRatedSensibleHeatRatio
|
13
|
-
autosizeSpeed3GrossRatedSensibleHeatRatio
|
14
|
-
autosizeSpeed4GrossRatedSensibleHeatRatio
|
15
|
-
autosizeSpeed1RatedAirFlowRate
|
16
|
-
autosizeSpeed2RatedAirFlowRate
|
17
|
-
autosizeSpeed3RatedAirFlowRate
|
18
|
-
autosizeSpeed4RatedAirFlowRate
|
19
|
-
end
|
20
|
-
|
21
|
-
# Takes the values calculated by the EnergyPlus sizing routines
|
22
|
-
# and puts them into this object model in place of the autosized fields.
|
23
|
-
# Must have previously completed a run with sql output for this to work.
|
24
|
-
def applySizingValues
|
25
|
-
|
26
|
-
rated_speed1_rated_total_cooling_capacity = self.autosizedSpeed1GrossRatedTotalCoolingCapacity
|
27
|
-
if rated_speed1_rated_total_cooling_capacity.is_initialized
|
28
|
-
self.setSpeed1GrossRatedTotalCoolingCapacity(rated_speed1_rated_total_cooling_capacity.get)
|
29
|
-
end
|
30
|
-
|
31
|
-
rated_speed2_rated_total_cooling_capacity = self.autosizedSpeed2GrossRatedTotalCoolingCapacity
|
32
|
-
if rated_speed2_rated_total_cooling_capacity.is_initialized
|
33
|
-
self.setSpeed2GrossRatedTotalCoolingCapacity(rated_speed2_rated_total_cooling_capacity.get)
|
34
|
-
end
|
35
|
-
|
36
|
-
rated_speed3_rated_total_cooling_capacity = self.autosizedSpeed3GrossRatedTotalCoolingCapacity
|
37
|
-
if rated_speed3_rated_total_cooling_capacity.is_initialized
|
38
|
-
self.setSpeed3GrossRatedTotalCoolingCapacity(rated_speed3_rated_total_cooling_capacity.get)
|
39
|
-
end
|
40
|
-
|
41
|
-
rated_speed4_rated_total_cooling_capacity = self.autosizedSpeed4GrossRatedTotalCoolingCapacity
|
42
|
-
if rated_speed4_rated_total_cooling_capacity.is_initialized
|
43
|
-
self.setSpeed4GrossRatedTotalCoolingCapacity(rated_speed4_rated_total_cooling_capacity.get)
|
44
|
-
end
|
45
|
-
|
46
|
-
rated_speed1_rated_sensible_heat_ratio = self.autosizedSpeed1RatedSensibleHeatRatio
|
47
|
-
if rated_speed1_rated_sensible_heat_ratio.is_initialized
|
48
|
-
self.setSpeed1RatedSensibleHeatRatio(rated_speed1_rated_sensible_heat_ratio.get)
|
49
|
-
end
|
50
|
-
|
51
|
-
rated_speed2_rated_sensible_heat_ratio = self.autosizedSpeed2RatedSensibleHeatRatio
|
52
|
-
if rated_speed2_rated_sensible_heat_ratio.is_initialized
|
53
|
-
self.setSpeed2RatedSensibleHeatRatio(rated_speed2_rated_sensible_heat_ratio.get)
|
54
|
-
end
|
55
|
-
|
56
|
-
rated_speed3_rated_sensible_heat_ratio = self.autosizedSpeed3RatedSensibleHeatRatio
|
57
|
-
if rated_speed3_rated_sensible_heat_ratio.is_initialized
|
58
|
-
self.setSpeed3RatedSensibleHeatRatio(rated_speed3_rated_sensible_heat_ratio.get)
|
59
|
-
end
|
60
|
-
|
61
|
-
rated_speed4_rated_sensible_heat_ratio = self.autosizedSpeed4RatedSensibleHeatRatio
|
62
|
-
if rated_speed4_rated_sensible_heat_ratio.is_initialized
|
63
|
-
self.setSpeed4RatedSensibleHeatRatio(rated_speed4_rated_sensible_heat_ratio.get)
|
64
|
-
end
|
65
|
-
|
66
|
-
rated_speed1_rated_air_flow_rate = self.autosizedSpeed1RatedAirFlowRate
|
67
|
-
if rated_speed1_rated_air_flow_rate.is_initialized
|
68
|
-
self.setSpeed1RatedAirFlowRate(rated_speed1_rated_air_flow_rate.get)
|
69
|
-
end
|
70
|
-
|
71
|
-
rated_speed2_rated_air_flow_rate = self.autosizedSpeed2RatedAirFlowRate
|
72
|
-
if rated_speed2_rated_air_flow_rate.is_initialized
|
73
|
-
self.setSpeed2RatedAirFlowRate(rated_speed2_rated_air_flow_rate.get)
|
74
|
-
end
|
75
|
-
|
76
|
-
rated_speed3_rated_air_flow_rate = self.autosizedSpeed3RatedAirFlowRate
|
77
|
-
if rated_speed3_rated_air_flow_rate.is_initialized
|
78
|
-
self.setSpeed3RatedAirFlowRate(rated_speed3_rated_air_flow_rate.get)
|
79
|
-
end
|
80
|
-
|
81
|
-
rated_speed4_rated_air_flow_rate = self.autosizedSpeed4RatedAirFlowRate
|
82
|
-
if rated_speed4_rated_air_flow_rate.is_initialized
|
83
|
-
self.setSpeed4RatedAirFlowRate(rated_speed4_rated_air_flow_rate.get)
|
84
|
-
end
|
85
|
-
|
86
|
-
end
|
87
|
-
|
88
|
-
# returns the autosized rated total cooling capacity for stage 1 as an optional double
|
89
|
-
def autosizedSpeed1GrossRatedTotalCoolingCapacity
|
90
|
-
|
91
|
-
return self.model.getAutosizedValue(self,'Design Size Speed 1 Gross Rated Total Cooling Capacity', 'W')
|
92
|
-
|
93
|
-
end
|
94
|
-
|
95
|
-
# returns the autosized rated total cooling capacity for stage 2 as an optional double
|
96
|
-
def autosizedSpeed2GrossRatedTotalCoolingCapacity
|
97
|
-
|
98
|
-
return self.model.getAutosizedValue(self,'Design Size Speed 2 Gross Rated Total Cooling Capacity', 'W')
|
99
|
-
|
100
|
-
end
|
101
|
-
|
102
|
-
# returns the autosized rated total cooling capacity for stage 3 as an optional double
|
103
|
-
def autosizedSpeed3GrossRatedTotalCoolingCapacity
|
104
|
-
|
105
|
-
return self.model.getAutosizedValue(self,'Design Size Speed 3 Gross Rated Total Cooling Capacity', 'W')
|
106
|
-
|
107
|
-
end
|
108
|
-
|
109
|
-
# returns the autosized rated total cooling capacity for stage 4 as an optional double
|
110
|
-
def autosizedSpeed4GrossRatedTotalCoolingCapacity
|
111
|
-
|
112
|
-
return self.model.getAutosizedValue(self,'Design Size Speed 4 Gross Rated Total Cooling Capacity', 'W')
|
113
|
-
|
114
|
-
end
|
115
|
-
|
116
|
-
# returns the autosized rated sensible heat ratio for stage 1 as an optional double
|
117
|
-
def autosizedSpeed1RatedSensibleHeatRatio
|
118
|
-
|
119
|
-
return self.model.getAutosizedValue(self,'Design Size Speed 1 Rated Sensible Heat Ratio', '')
|
120
|
-
|
121
|
-
end
|
122
|
-
|
123
|
-
# returns the autosized rated sensible heat ratio for stage 2 as an optional double
|
124
|
-
def autosizedSpeed2RatedSensibleHeatRatio
|
125
|
-
|
126
|
-
return self.model.getAutosizedValue(self,'Design Size Speed 2 Rated Sensible Heat Ratio', '')
|
127
|
-
|
128
|
-
end
|
129
|
-
|
130
|
-
# returns the autosized rated sensible heat ratio for stage 3 as an optional double
|
131
|
-
def autosizedSpeed3RatedSensibleHeatRatio
|
132
|
-
|
133
|
-
return self.model.getAutosizedValue(self,'Design Size Speed 3 Rated Sensible Heat Ratio', '')
|
134
|
-
|
135
|
-
end
|
136
|
-
|
137
|
-
# returns the autosized rated sensible heat ratio for stage 4 as an optional double
|
138
|
-
def autosizedSpeed4RatedSensibleHeatRatio
|
139
|
-
|
140
|
-
return self.model.getAutosizedValue(self,'Design Size Speed 4 Rated Sensible Heat Ratio', '')
|
141
|
-
|
142
|
-
end
|
143
|
-
|
144
|
-
# returns the autosized rated air flow rate for stage 1 as an optional double
|
145
|
-
def autosizedSpeed1RatedAirFlowRate
|
146
|
-
|
147
|
-
return self.model.getAutosizedValue(self,'Design Size Speed 1 Rated Air Flow Rate', 'm3/s')
|
148
|
-
|
149
|
-
end
|
150
|
-
|
151
|
-
# returns the autosized rated air flow rate for stage 2 as an optional double
|
152
|
-
def autosizedSpeed2RatedAirFlowRate
|
153
|
-
|
154
|
-
return self.model.getAutosizedValue(self,'Design Size Speed 2 Rated Air Flow Rate', 'm3/s')
|
155
|
-
|
156
|
-
end
|
157
|
-
|
158
|
-
# returns the autosized rated air flow rate for stage 3 as an optional double
|
159
|
-
def autosizedSpeed3RatedAirFlowRate
|
160
|
-
|
161
|
-
return self.model.getAutosizedValue(self,'Design Size Speed 3 Rated Air Flow Rate', 'm3/s')
|
162
|
-
|
163
|
-
end
|
164
|
-
|
165
|
-
# returns the autosized rated air flow rate for stage 4 as an optional double
|
166
|
-
def autosizedSpeed4RatedAirFlowRate
|
167
|
-
|
168
|
-
return self.model.getAutosizedValue(self,'Design Size Speed 4 Rated Air Flow Rate', 'm3/s')
|
169
|
-
|
170
|
-
end
|
171
|
-
end
|
@@ -1,56 +0,0 @@
|
|
1
|
-
|
2
|
-
# open the class to add methods to return sizing values
|
3
|
-
class OpenStudio::Model::CoilCoolingDXSingleSpeed
|
4
|
-
|
5
|
-
# Sets all auto-sizeable fields to autosize
|
6
|
-
def autosize
|
7
|
-
self.autosizeRatedTotalCoolingCapacity
|
8
|
-
self.autosizeRatedSensibleHeatRatio
|
9
|
-
self.autosizeRatedAirFlowRate
|
10
|
-
end
|
11
|
-
|
12
|
-
# Takes the values calculated by the EnergyPlus sizing routines
|
13
|
-
# and puts them into this object model in place of the autosized fields.
|
14
|
-
# Must have previously completed a run with sql output for this to work.
|
15
|
-
def applySizingValues
|
16
|
-
|
17
|
-
rated_air_flow_rate = self.autosizedRatedAirFlowRate
|
18
|
-
if rated_air_flow_rate.is_initialized
|
19
|
-
self.setRatedAirFlowRate(rated_air_flow_rate.get)
|
20
|
-
end
|
21
|
-
|
22
|
-
rated_total_cooling_capacity = self.autosizedRatedTotalCoolingCapacity
|
23
|
-
if rated_total_cooling_capacity.is_initialized
|
24
|
-
self.setRatedTotalCoolingCapacity(rated_total_cooling_capacity.get)
|
25
|
-
end
|
26
|
-
|
27
|
-
rated_sensible_heat_ratio = self.autosizedRatedSensibleHeatRatio
|
28
|
-
if rated_sensible_heat_ratio.is_initialized
|
29
|
-
self.setRatedSensibleHeatRatio(rated_sensible_heat_ratio.get)
|
30
|
-
end
|
31
|
-
|
32
|
-
end
|
33
|
-
|
34
|
-
# returns the autosized rated air flow rate as an optional double
|
35
|
-
def autosizedRatedAirFlowRate
|
36
|
-
|
37
|
-
return self.model.getAutosizedValue(self, 'Design Size Rated Air Flow Rate', 'm3/s')
|
38
|
-
|
39
|
-
end
|
40
|
-
|
41
|
-
# returns the autosized rated total cooling capacity as an optional double
|
42
|
-
def autosizedRatedTotalCoolingCapacity
|
43
|
-
|
44
|
-
return self.model.getAutosizedValue(self, 'Design Size Gross Rated Total Cooling Capacity', 'W')
|
45
|
-
|
46
|
-
end
|
47
|
-
|
48
|
-
# returns the autosized rated sensible heat ratio as an optional double
|
49
|
-
def autosizedRatedSensibleHeatRatio
|
50
|
-
|
51
|
-
return self.model.getAutosizedValue(self, 'Design Size Gross Rated Sensible Heat Ratio', '')
|
52
|
-
|
53
|
-
end
|
54
|
-
|
55
|
-
|
56
|
-
end
|
@@ -1,89 +0,0 @@
|
|
1
|
-
|
2
|
-
# open the class to add methods to return sizing values
|
3
|
-
class OpenStudio::Model::CoilCoolingDXTwoSpeed
|
4
|
-
|
5
|
-
# Sets all auto-sizeable fields to autosize
|
6
|
-
def autosize
|
7
|
-
OpenStudio::logFree(OpenStudio::Warn, "openstudio.sizing.CoilCoolingDXTwoSpeed", ".autosize not yet implemented for #{self.iddObject.type.valueDescription}.")
|
8
|
-
end
|
9
|
-
|
10
|
-
# Takes the values calculated by the EnergyPlus sizing routines
|
11
|
-
# and puts them into this object model in place of the autosized fields.
|
12
|
-
# Must have previously completed a run with sql output for this to work.
|
13
|
-
def applySizingValues
|
14
|
-
|
15
|
-
rated_high_speed_air_flow_rate = self.autosizedRatedHighSpeedAirFlowRate
|
16
|
-
if rated_high_speed_air_flow_rate.is_initialized
|
17
|
-
self.setRatedHighSpeedAirFlowRate(rated_high_speed_air_flow_rate)
|
18
|
-
end
|
19
|
-
|
20
|
-
rated_high_speed_total_cooling_capacity = self.autosizedRatedHighSpeedTotalCoolingCapacity
|
21
|
-
if rated_high_speed_total_cooling_capacity.is_initialized
|
22
|
-
self.setRatedHighSpeedTotalCoolingCapacity(rated_high_speed_total_cooling_capacity)
|
23
|
-
end
|
24
|
-
|
25
|
-
rated_high_speed_sensible_heat_ratio = self.autosizedRatedHighSpeedSensibleHeatRatio
|
26
|
-
if rated_high_speed_sensible_heat_ratio.is_initialized
|
27
|
-
self.setRatedHighSpeedSensibleHeatRatio(rated_high_speed_sensible_heat_ratio)
|
28
|
-
end
|
29
|
-
|
30
|
-
rated_low_speed_air_flow_rate = self.autosizedRatedLowSpeedAirFlowRate
|
31
|
-
if rated_low_speed_air_flow_rate.is_initialized
|
32
|
-
self.setRatedLowSpeedAirFlowRate(rated_low_speed_air_flow_rate)
|
33
|
-
end
|
34
|
-
|
35
|
-
rated_low_speed_total_cooling_capacity = self.autosizedRatedLowSpeedTotalCoolingCapacity
|
36
|
-
if rated_low_speed_total_cooling_capacity.is_initialized
|
37
|
-
self.setRatedLowSpeedTotalCoolingCapacity(rated_low_speed_total_cooling_capacity)
|
38
|
-
end
|
39
|
-
|
40
|
-
rated_low_speed_sensible_heat_ratio = self.autosizedRatedLowSpeedSensibleHeatRatio
|
41
|
-
if rated_low_speed_sensible_heat_ratio.is_initialized
|
42
|
-
self.setRatedLowSpeedSensibleHeatRatio(rated_low_speed_sensible_heat_ratio)
|
43
|
-
end
|
44
|
-
|
45
|
-
end
|
46
|
-
|
47
|
-
# returns the autosized rated high speed air flow rate as an optional double
|
48
|
-
def autosizedRatedHighSpeedAirFlowRate
|
49
|
-
|
50
|
-
return self.model.getAutosizedValue(self, 'Design Size High Speed Rated Air Flow Rate', 'm3/s')
|
51
|
-
|
52
|
-
end
|
53
|
-
|
54
|
-
# returns the autosized rated high speed total cooling capacity as an optional double
|
55
|
-
def autosizedRatedHighSpeedTotalCoolingCapacity
|
56
|
-
|
57
|
-
return self.model.getAutosizedValue(self, 'Design Size High Speed Gross Rated Total Cooling Capacity', 'W')
|
58
|
-
|
59
|
-
end
|
60
|
-
|
61
|
-
# returns the autosized rated high speed sensible heat ratio as an optional double
|
62
|
-
def autosizedRatedHighSpeedSensibleHeatRatio
|
63
|
-
|
64
|
-
return self.model.getAutosizedValue(self, 'Design Size High Speed Rated Sensible Heat Ratio', '')
|
65
|
-
|
66
|
-
end
|
67
|
-
|
68
|
-
# returns the autosized rated low speed air flow rate as an optional double
|
69
|
-
def autosizedRatedLowSpeedAirFlowRate
|
70
|
-
|
71
|
-
return self.model.getAutosizedValue(self, 'Design Size Low Speed Rated Air Flow Rate', 'm3/s')
|
72
|
-
|
73
|
-
end
|
74
|
-
|
75
|
-
# returns the autosized rated low speed total cooling capacity as an optional double
|
76
|
-
def autosizedRatedLowSpeedTotalCoolingCapacity
|
77
|
-
|
78
|
-
return self.model.getAutosizedValue(self, 'Design Size Low Speed Gross Rated Total Cooling Capacity', 'W')
|
79
|
-
|
80
|
-
end
|
81
|
-
|
82
|
-
# returns the autosized rated low speed sensible heat ratio as an optional double
|
83
|
-
def autosizedRatedLowSpeedSensibleHeatRatio
|
84
|
-
|
85
|
-
return self.model.getAutosizedValue(self, 'Design Size Low Speed Gross Rated Sensible Heat Ratio', '')
|
86
|
-
|
87
|
-
end
|
88
|
-
|
89
|
-
end
|
@@ -1,50 +0,0 @@
|
|
1
|
-
|
2
|
-
# open the class to add methods to return sizing values
|
3
|
-
class OpenStudio::Model::CoilCoolingDXVariableRefrigerantFlow
|
4
|
-
|
5
|
-
# Sets all auto-sizeable fields to autosize
|
6
|
-
def autosize
|
7
|
-
self.autosizedRatedTotalCoolingCapacity
|
8
|
-
self.autosizeRatedAirFlowRate
|
9
|
-
self.autosizeRatedSensibleHeatRatio
|
10
|
-
end
|
11
|
-
|
12
|
-
|
13
|
-
# Takes the values calculated by the EnergyPlus sizing routines
|
14
|
-
# and puts them into this object model in place of the autosized fields.
|
15
|
-
# Must have previously completed a run with sql output for this to work.
|
16
|
-
def applySizingValues
|
17
|
-
|
18
|
-
rated_air_flow_rate = self.autosizedRatedAirFlowRate
|
19
|
-
if rated_air_flow_rate.is_initialized
|
20
|
-
self.setRatedAirFlowRate(rated_air_flow_rate.get)
|
21
|
-
end
|
22
|
-
|
23
|
-
rated_total_cooling_capacity = self.autosizedRatedTotalCoolingCapacity
|
24
|
-
if rated_total_cooling_capacity.is_initialized
|
25
|
-
self.setRatedTotalCoolingCapacity(rated_total_cooling_capacity.get)
|
26
|
-
end
|
27
|
-
|
28
|
-
rated_sensible_heat_ratio = self.autosizedRatedSensibleHeatRatio
|
29
|
-
if rated_sensible_heat_ratio.is_initialized
|
30
|
-
self.setRatedSensibleHeatRatio(rated_sensible_heat_ratio.get)
|
31
|
-
end
|
32
|
-
|
33
|
-
end
|
34
|
-
|
35
|
-
# Design Size Rated Air Flow Rate as an optional double
|
36
|
-
def autosizedRatedTotalCoolingCapacity
|
37
|
-
return self.model.getAutosizedValue(self, 'Design Size Rated Air Flow Rate', 'm3/s')
|
38
|
-
end
|
39
|
-
|
40
|
-
# Design Size Gross Rated Total Cooling Capacity as an optional double
|
41
|
-
def autosizedRatedAirFlowRate
|
42
|
-
return self.model.getAutosizedValue(self, 'Design Size Gross Rated Total Cooling Capacity', 'W')
|
43
|
-
end
|
44
|
-
|
45
|
-
# Design Size Gross Rated Sensible Heat Ratio as an optional double
|
46
|
-
def autosizedRatedSensibleHeatRatio
|
47
|
-
return self.model.getAutosizedValue(self, 'Design Size Gross Rated Sensible Heat Ratio', '')
|
48
|
-
end
|
49
|
-
|
50
|
-
end
|