openstudio-standards 0.3.0 → 0.3.1.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +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 +12 -12
- 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 +9 -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 +70 -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/common/buildings/Prototype.SuperMarket.rb +1 -23
- data/lib/openstudio-standards/prototypes/common/objects/Prototype.ServiceWaterHeating.rb +93 -4
- data/lib/openstudio-standards/prototypes/common/objects/Prototype.hvac_systems.rb +13 -0
- 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 +18 -2
- 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.Model.rb +68 -52
- data/lib/openstudio-standards/standards/Standards.PlantLoop.rb +2 -2
- data/lib/openstudio-standards/standards/Standards.Space.rb +16 -18
- 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 +9 -0
- data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.Model.rb +2 -0
- 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 +807 -258
- 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,69 +0,0 @@
|
|
1
|
-
|
2
|
-
# open the class to add methods to return sizing values
|
3
|
-
class OpenStudio::Model::CoilCoolingWaterToAirHeatPumpEquationFit
|
4
|
-
|
5
|
-
# Sets all auto-sizeable fields to autosize
|
6
|
-
def autosize
|
7
|
-
self.autosizeRatedAirFlowRate
|
8
|
-
self.autosizeRatedTotalCoolingCapacity
|
9
|
-
self.autosizeRatedSensibleCoolingCapacity
|
10
|
-
self.autosizeRatedWaterFlowRate
|
11
|
-
end
|
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_cooling_capacity = self.autosizedRatedSensibleCoolingCapacity
|
29
|
-
if rated_sensible_cooling_capacity.is_initialized
|
30
|
-
self.setRatedSensibleCoolingCapacity(rated_sensible_cooling_capacity.get)
|
31
|
-
end
|
32
|
-
|
33
|
-
rated_water_flow_rate = self.autosizedRatedWaterFlowRate
|
34
|
-
if rated_water_flow_rate.is_initialized
|
35
|
-
self.setRatedWaterFlowRate(rated_water_flow_rate.get)
|
36
|
-
end
|
37
|
-
|
38
|
-
end
|
39
|
-
|
40
|
-
# returns the autosized rated air flow rate as an optional double
|
41
|
-
def autosizedRatedAirFlowRate
|
42
|
-
|
43
|
-
return self.model.getAutosizedValue(self, 'Design Size Rated Air Flow Rate', 'm3/s')
|
44
|
-
|
45
|
-
end
|
46
|
-
|
47
|
-
# returns the autosized rated total cooling capacity as an optional double
|
48
|
-
def autosizedRatedTotalCoolingCapacity
|
49
|
-
|
50
|
-
return self.model.getAutosizedValue(self, 'Design Size Rated Total Cooling Capacity', 'W')
|
51
|
-
|
52
|
-
end
|
53
|
-
|
54
|
-
# returns the autosized rated sensible cooling capacity as an optional double
|
55
|
-
def autosizedRatedSensibleCoolingCapacity
|
56
|
-
|
57
|
-
return self.model.getAutosizedValue(self, 'Design Size Rated Sensible Cooling Capacity', 'W')
|
58
|
-
|
59
|
-
end
|
60
|
-
|
61
|
-
# returns the autosized rated water flow rate as an optional double
|
62
|
-
def autosizedRatedWaterFlowRate
|
63
|
-
|
64
|
-
return self.model.getAutosizedValue(self, 'Design Size Rated Water Flow Rate', 'm3/s')
|
65
|
-
|
66
|
-
end
|
67
|
-
|
68
|
-
|
69
|
-
end
|
@@ -1,120 +0,0 @@
|
|
1
|
-
|
2
|
-
# open the class to add methods to return sizing values
|
3
|
-
class OpenStudio::Model::CoilHeatingDXMultiSpeed
|
4
|
-
|
5
|
-
# Sets all auto-sizeable fields to autosize
|
6
|
-
def autosize
|
7
|
-
autosizeSpeed1GrossRatedHeatingCapacity
|
8
|
-
autosizeSpeed2GrossRatedHeatingCapacity
|
9
|
-
autosizeSpeed3GrossRatedHeatingCapacity
|
10
|
-
autosizeSpeed4GrossRatedHeatingCapacity
|
11
|
-
autosizeSpeed1RatedAirFlowRate
|
12
|
-
autosizeSpeed2RatedAirFlowRate
|
13
|
-
autosizeSpeed3RatedAirFlowRate
|
14
|
-
autosizeSpeed4RatedAirFlowRate
|
15
|
-
end
|
16
|
-
|
17
|
-
# Takes the values calculated by the EnergyPlus sizing routines
|
18
|
-
# and puts them into this object model in place of the autosized fields.
|
19
|
-
# Must have previously completed a run with sql output for this to work.
|
20
|
-
def applySizingValues
|
21
|
-
|
22
|
-
speed1_rated_heating_capacity = self.autosizedSpeed1GrossRatedHeatingCapacity
|
23
|
-
if speed1_rated_heating_capacity.is_initialized
|
24
|
-
self.setSpeed1GrossRatedHeatingCapacity(speed1_rated_heating_capacity.get)
|
25
|
-
end
|
26
|
-
|
27
|
-
speed2_rated_total_cooling_capacity = self.autosizedSpeed2GrossRatedHeatingCapacity
|
28
|
-
if speed2_rated_total_cooling_capacity.is_initialized
|
29
|
-
self.setSpeed2GrossRatedTotalCoolingCapacity(speed2_rated_total_cooling_capacity.get)
|
30
|
-
end
|
31
|
-
|
32
|
-
speed3_rated_total_heating_capacity = self.autosizedSpeed3GrossRatedHeatingCapacity
|
33
|
-
if speed3_rated_total_heating_capacity.is_initialized
|
34
|
-
self.setSpeed3GrossRatedTotalCoolingCapacity(speed3_rated_total_heating_capacity.get)
|
35
|
-
end
|
36
|
-
|
37
|
-
speed4_rated_total_heating_capacity = self.autosizedSpeed4GrossRatedHeatingCapacity
|
38
|
-
if speed4_rated_total_heating_capacity.is_initialized
|
39
|
-
self.setSpeed4GrossRatedTotalCoolingCapacity(speed4_rated_total_heating_capacity.get)
|
40
|
-
end
|
41
|
-
|
42
|
-
speed1_rated_air_flow_rate = self.autosizedSpeed1RatedAirFlowRate
|
43
|
-
if speed1_rated_air_flow_rate.is_initialized
|
44
|
-
self.setSpeed1RatedAirFlowRate(speed1_rated_air_flow_rate.get)
|
45
|
-
end
|
46
|
-
|
47
|
-
speed2_rated_air_flow_rate = self.autosizedSpeed2RatedAirFlowRate
|
48
|
-
if speed2_rated_air_flow_rate.is_initialized
|
49
|
-
self.setSpeed2RatedAirFlowRate(speed2_rated_air_flow_rate.get)
|
50
|
-
end
|
51
|
-
|
52
|
-
speed3_rated_air_flow_rate = self.autosizedSpeed3RatedAirFlowRate
|
53
|
-
if speed3_rated_air_flow_rate.is_initialized
|
54
|
-
self.setSpeed3RatedAirFlowRate(speed3_rated_air_flow_rate.get)
|
55
|
-
end
|
56
|
-
|
57
|
-
speed4_rated_air_flow_rate = self.autosizedSpeed4RatedAirFlowRate
|
58
|
-
if speed4_rated_air_flow_rate.is_initialized
|
59
|
-
self.setSpeed4RatedAirFlowRate(speed4_rated_air_flow_rate.get)
|
60
|
-
end
|
61
|
-
|
62
|
-
end
|
63
|
-
|
64
|
-
# returns the autosized rated total cooling capacity for stage 1 as an optional double
|
65
|
-
def autosizedSpeed1GrossRatedHeatingCapacity
|
66
|
-
|
67
|
-
return self.model.getAutosizedValue(self,'Speed 1 Design Size Rated Total Heating Capacity', 'W')
|
68
|
-
|
69
|
-
end
|
70
|
-
|
71
|
-
# returns the autosized rated total cooling capacity for stage 2 as an optional double
|
72
|
-
def autosizedSpeed2GrossRatedHeatingCapacity
|
73
|
-
|
74
|
-
return self.model.getAutosizedValue(self,'Speed 2 Design Size Rated Total Heating Capacity', 'W')
|
75
|
-
|
76
|
-
end
|
77
|
-
|
78
|
-
# returns the autosized rated total cooling capacity for stage 3 as an optional double
|
79
|
-
def autosizedSpeed3GrossRatedHeatingCapacity
|
80
|
-
|
81
|
-
return self.model.getAutosizedValue(self,'Speed 3 Design Size Rated Total Heating Capacity', 'W')
|
82
|
-
|
83
|
-
end
|
84
|
-
|
85
|
-
# returns the autosized rated total cooling capacity for stage 4 as an optional double
|
86
|
-
def autosizedSpeed4GrossRatedHeatingCapacity
|
87
|
-
|
88
|
-
return self.model.getAutosizedValue(self,'Speed 4 Design Size Rated Total Heating Capacity', 'W')
|
89
|
-
|
90
|
-
end
|
91
|
-
|
92
|
-
# returns the autosized rated air flow rate for stage 1 as an optional double
|
93
|
-
def autosizedSpeed1RatedAirFlowRate
|
94
|
-
|
95
|
-
return self.model.getAutosizedValue(self,'Speed 1 Design Size Rated Air Flow Rate', 'm3/s')
|
96
|
-
|
97
|
-
end
|
98
|
-
|
99
|
-
# returns the autosized rated air flow rate for stage 2 as an optional double
|
100
|
-
def autosizedSpeed2RatedAirFlowRate
|
101
|
-
|
102
|
-
return self.model.getAutosizedValue(self,'Speed 2 Design Size Rated Air Flow Rate', 'm3/s')
|
103
|
-
|
104
|
-
end
|
105
|
-
|
106
|
-
# returns the autosized rated air flow rate for stage 3 as an optional double
|
107
|
-
def autosizedSpeed3RatedAirFlowRate
|
108
|
-
|
109
|
-
return self.model.getAutosizedValue(self,'Speed 3 Design Size Rated Air Flow Rate', 'm3/s')
|
110
|
-
|
111
|
-
end
|
112
|
-
|
113
|
-
# returns the autosized rated air flow rate for stage 4 as an optional double
|
114
|
-
def autosizedSpeed4RatedAirFlowRate
|
115
|
-
|
116
|
-
return self.model.getAutosizedValue(self,'Speed 4 Design Size Rated Air Flow Rate', 'm3/s')
|
117
|
-
|
118
|
-
end
|
119
|
-
|
120
|
-
end
|
@@ -1,56 +0,0 @@
|
|
1
|
-
|
2
|
-
# open the class to add methods to return sizing values
|
3
|
-
class OpenStudio::Model::CoilHeatingDXSingleSpeed
|
4
|
-
|
5
|
-
# Sets all auto-sizeable fields to autosize
|
6
|
-
def autosize
|
7
|
-
self.autosizeRatedTotalHeatingCapacity
|
8
|
-
self.autosizeRatedAirFlowRate
|
9
|
-
self.autosizeResistiveDefrostHeaterCapacity
|
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_heating_capacity = self.autosizedRatedTotalHeatingCapacity
|
23
|
-
if rated_total_heating_capacity.is_initialized
|
24
|
-
self.setRatedTotalHeatingCapacity(rated_total_heating_capacity.get)
|
25
|
-
end
|
26
|
-
|
27
|
-
rated_resistive_defrost_heater_capacity = self.autosizedResistiveDefrostHeaterCapacity
|
28
|
-
if rated_resistive_defrost_heater_capacity.is_initialized
|
29
|
-
self.setResistiveDefrostHeaterCapacity(rated_resistive_defrost_heater_capacity.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 autosizedRatedTotalHeatingCapacity
|
43
|
-
|
44
|
-
return self.model.getAutosizedValue(self, 'Design Size Gross Rated Heating Capacity', 'W')
|
45
|
-
|
46
|
-
end
|
47
|
-
|
48
|
-
# returns the autosized rated sensible heat ratio as an optional double
|
49
|
-
def autosizedResistiveDefrostHeaterCapacity
|
50
|
-
|
51
|
-
return self.model.getAutosizedValue(self, 'Design Size Resistive Defrost Heater Capacity', 'W')
|
52
|
-
|
53
|
-
end
|
54
|
-
|
55
|
-
|
56
|
-
end
|
@@ -1,41 +0,0 @@
|
|
1
|
-
|
2
|
-
# open the class to add methods to return sizing values
|
3
|
-
class OpenStudio::Model::CoilHeatingDXVariableRefrigerantFlow
|
4
|
-
|
5
|
-
# Sets all auto-sizeable fields to autosize
|
6
|
-
def autosize
|
7
|
-
self.autosizeRatedTotalHeatingCapacity
|
8
|
-
self.autosizeRatedAirFlowRate
|
9
|
-
end
|
10
|
-
|
11
|
-
# Takes the values calculated by the EnergyPlus sizing routines
|
12
|
-
# and puts them into this object model in place of the autosized fields.
|
13
|
-
# Must have previously completed a run with sql output for this to work.
|
14
|
-
def applySizingValues
|
15
|
-
|
16
|
-
rated_air_flow_rate = self.autosizedRatedAirFlowRate
|
17
|
-
if rated_air_flow_rate.is_initialized
|
18
|
-
self.setRatedAirFlowRate(rated_air_flow_rate.get)
|
19
|
-
end
|
20
|
-
|
21
|
-
rated_total_heating_capacity = self.autosizedRatedTotalHeatingCapacity
|
22
|
-
if rated_total_heating_capacity.is_initialized
|
23
|
-
self.setRatedTotalHeatingCapacity(rated_total_heating_capacity.get)
|
24
|
-
end
|
25
|
-
|
26
|
-
|
27
|
-
end
|
28
|
-
|
29
|
-
# Design Size Rated Air Flow Rate as an optional double
|
30
|
-
def autosizedRatedAirFlowRate
|
31
|
-
return self.model.getAutosizedValue(self, 'Design Size Rated Air Flow Rate', 'm3/s')
|
32
|
-
end
|
33
|
-
|
34
|
-
# Design Size Gross Rated Total Heating Capacity as an optional double
|
35
|
-
def autosizedRatedTotalHeatingCapacity
|
36
|
-
return self.model.getAutosizedValue(self, 'Design Size Gross Rated Heating Capacity', 'W')
|
37
|
-
end
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
end
|
@@ -1,27 +0,0 @@
|
|
1
|
-
|
2
|
-
# open the class to add methods to return sizing values
|
3
|
-
class OpenStudio::Model::CoilHeatingDesuperheater
|
4
|
-
|
5
|
-
# Sets all auto-sizeable fields to autosize
|
6
|
-
def autosize
|
7
|
-
OpenStudio::logFree(OpenStudio::Warn, "openstudio.sizing.CoilHeatingDesuperheater", ".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.CoilHeatingDesuperheater", ".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,30 +0,0 @@
|
|
1
|
-
|
2
|
-
# open the class to add methods to return sizing values
|
3
|
-
class OpenStudio::Model::CoilHeatingElectric
|
4
|
-
|
5
|
-
# Sets all auto-sizeable fields to autosize
|
6
|
-
def autosize
|
7
|
-
OpenStudio::logFree(OpenStudio::Warn, "openstudio.sizing.CoilHeatingElectric", ".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
|
-
end
|
21
|
-
|
22
|
-
# returns the autosized rated capacity as an optional double
|
23
|
-
def autosizedNominalCapacity
|
24
|
-
|
25
|
-
return self.model.getAutosizedValue(self, 'Design Size Nominal Capacity', 'W')
|
26
|
-
|
27
|
-
end
|
28
|
-
|
29
|
-
|
30
|
-
end
|
@@ -1,30 +0,0 @@
|
|
1
|
-
|
2
|
-
# open the class to add methods to return sizing values
|
3
|
-
class OpenStudio::Model::CoilHeatingGas
|
4
|
-
|
5
|
-
# Sets all auto-sizeable fields to autosize
|
6
|
-
def autosize
|
7
|
-
self.autosizeNominalCapacity
|
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
|
-
end
|
21
|
-
|
22
|
-
# returns the autosized rated capacity as an optional double
|
23
|
-
def autosizedNominalCapacity
|
24
|
-
|
25
|
-
return self.model.getAutosizedValue(self, 'Design Size Nominal Capacity', 'W')
|
26
|
-
|
27
|
-
end
|
28
|
-
|
29
|
-
|
30
|
-
end
|
@@ -1,68 +0,0 @@
|
|
1
|
-
|
2
|
-
# open the class to add methods to return sizing values
|
3
|
-
class OpenStudio::Model::CoilHeatingGasMultiStage
|
4
|
-
|
5
|
-
# Sets all auto-sizeable fields to autosize
|
6
|
-
def autosize
|
7
|
-
autosizeStage1NominalCapacity
|
8
|
-
autosizeStage2NominalCapacity
|
9
|
-
autosizeStage3NominalCapacity
|
10
|
-
autosizeStage4NominalCapacity
|
11
|
-
end
|
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
|
-
design_size_stage1_nominal_capacity = self.autosizedStage1NominalCapacity
|
19
|
-
if design_size_stage1_nominal_capacity.is_initialized
|
20
|
-
self.setStage1NominalCapacity(design_size_stage1_nominal_capacity.get)
|
21
|
-
end
|
22
|
-
|
23
|
-
design_size_stage2_nominal_capacity = self.autosizedStage2NominalCapacity
|
24
|
-
if design_size_stage2_nominal_capacity.is_initialized
|
25
|
-
self.setStage2NominalCapacity(design_size_stage2_nominal_capacity.get)
|
26
|
-
end
|
27
|
-
|
28
|
-
design_size_stage3_nominal_capacity = self.autosizedStage3NominalCapacity
|
29
|
-
if design_size_stage3_nominal_capacity.is_initialized
|
30
|
-
self.setStage3NominalCapacity(design_size_stage3_nominal_capacity.get)
|
31
|
-
end
|
32
|
-
|
33
|
-
design_size_stage4_nominal_capacity = self.autosizedStage4NominalCapacity
|
34
|
-
if design_size_stage4_nominal_capacity.is_initialized
|
35
|
-
self.setStage4NominalCapacity(design_size_stage4_nominal_capacity.get)
|
36
|
-
end
|
37
|
-
|
38
|
-
end
|
39
|
-
|
40
|
-
# returns the autosized design stage 1 capacity
|
41
|
-
def autosizedStage1NominalCapacity
|
42
|
-
|
43
|
-
return self.model.getAutosizedValue(self,'Design Size Stage 1 Nominal Capacity', 'W')
|
44
|
-
|
45
|
-
end
|
46
|
-
|
47
|
-
# returns the autosized design stage 2 capacity
|
48
|
-
def autosizedStage2NominalCapacity
|
49
|
-
|
50
|
-
return self.model.getAutosizedValue(self,'Design Size Stage 2 Nominal Capacity', 'W')
|
51
|
-
|
52
|
-
end
|
53
|
-
|
54
|
-
# returns the autosized design stage 3 capacity
|
55
|
-
def autosizedStage3NominalCapacity
|
56
|
-
|
57
|
-
return self.model.getAutosizedValue(self,'Design Size Stage 3 Nominal Capacity', 'W')
|
58
|
-
|
59
|
-
end
|
60
|
-
|
61
|
-
# returns the autosized design stage 4 capacity
|
62
|
-
def autosizedStage4NominalCapacity
|
63
|
-
|
64
|
-
return self.model.getAutosizedValue(self,'Design Size Stage 4 Nominal Capacity', 'W')
|
65
|
-
|
66
|
-
end
|
67
|
-
|
68
|
-
end
|
@@ -1,61 +0,0 @@
|
|
1
|
-
|
2
|
-
# open the class to add methods to return sizing values
|
3
|
-
class OpenStudio::Model::CoilHeatingWater
|
4
|
-
|
5
|
-
# Sets all auto-sizeable fields to autosize
|
6
|
-
def autosize
|
7
|
-
OpenStudio::logFree(OpenStudio::Warn, "openstudio.sizing.CoilHeatingWater", ".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
|
-
maximum_water_flow_rate = self.autosizedMaximumWaterFlowRate
|
16
|
-
if maximum_water_flow_rate.is_initialized
|
17
|
-
self.setMaximumWaterFlowRate(maximum_water_flow_rate.get)
|
18
|
-
end
|
19
|
-
|
20
|
-
u_factor_times_area_value = self.autosizedUFactorTimesAreaValue
|
21
|
-
if u_factor_times_area_value.is_initialized
|
22
|
-
self.setUFactorTimesAreaValue(u_factor_times_area_value.get)
|
23
|
-
end
|
24
|
-
|
25
|
-
rated_capacity = self.autosizedRatedCapacity
|
26
|
-
if rated_capacity.is_initialized
|
27
|
-
self.setRatedCapacity(rated_capacity.get)
|
28
|
-
end
|
29
|
-
|
30
|
-
end
|
31
|
-
|
32
|
-
# returns the autosized maximum water flow rate as an optional double
|
33
|
-
def autosizedMaximumWaterFlowRate
|
34
|
-
|
35
|
-
return self.model.getAutosizedValue(self, 'Design Size Maximum Water Flow Rate', 'm3/s')
|
36
|
-
|
37
|
-
end
|
38
|
-
|
39
|
-
# returns the autosized u-factor times area value as an optional double
|
40
|
-
def autosizedUFactorTimesAreaValue
|
41
|
-
|
42
|
-
return self.model.getAutosizedValue(self, 'Design Size U-Factor Times Area Value', 'W/K')
|
43
|
-
|
44
|
-
end
|
45
|
-
|
46
|
-
# returns the autosized rated capacity as an optional double
|
47
|
-
def autosizedRatedCapacity
|
48
|
-
|
49
|
-
# In E+ 8.8, (OS 2.2.2 onward) the field name changed
|
50
|
-
if self.model.version < OpenStudio::VersionString.new('2.2.2')
|
51
|
-
field = 'Design Size Design Coil Load'
|
52
|
-
else
|
53
|
-
field = 'Design Size Rated Capacity'
|
54
|
-
end
|
55
|
-
|
56
|
-
return self.model.getAutosizedValue(self, field, 'W')
|
57
|
-
|
58
|
-
end
|
59
|
-
|
60
|
-
|
61
|
-
end
|
@@ -1,57 +0,0 @@
|
|
1
|
-
|
2
|
-
# open the class to add methods to return sizing values
|
3
|
-
class OpenStudio::Model::CoilHeatingWaterToAirHeatPumpEquationFit
|
4
|
-
|
5
|
-
# Sets all auto-sizeable fields to autosize
|
6
|
-
def autosize
|
7
|
-
self.autosizeRatedAirFlowRate
|
8
|
-
self.autosizeRatedHeatingCapacity
|
9
|
-
self.autosizeRatedWaterFlowRate
|
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_heating_capacity = self.autosizedRatedHeatingCapacity
|
23
|
-
if rated_total_heating_capacity.is_initialized
|
24
|
-
self.setRatedHeatingCapacity(rated_total_heating_capacity.get)
|
25
|
-
end
|
26
|
-
|
27
|
-
rated_water_flow_rate = self.autosizedRatedWaterFlowRate
|
28
|
-
if rated_water_flow_rate.is_initialized
|
29
|
-
self.setRatedWaterFlowRate(rated_water_flow_rate.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 Heating capacity as an optional double
|
42
|
-
def autosizedRatedHeatingCapacity
|
43
|
-
|
44
|
-
return self.model.getAutosizedValue(self, 'Design Size Rated Heating Capacity', 'W')
|
45
|
-
|
46
|
-
end
|
47
|
-
|
48
|
-
# returns the autosized rated water flow rate as an optional double
|
49
|
-
def autosizedRatedWaterFlowRate
|
50
|
-
|
51
|
-
return self.model.getAutosizedValue(self, 'Design Size Rated Water Flow Rate', 'm3/s')
|
52
|
-
|
53
|
-
end
|
54
|
-
|
55
|
-
|
56
|
-
end
|
57
|
-
|
@@ -1,27 +0,0 @@
|
|
1
|
-
|
2
|
-
# open the class to add methods to return sizing values
|
3
|
-
class OpenStudio::Model::CoilWaterHeatingDesuperheater
|
4
|
-
|
5
|
-
# Sets all auto-sizeable fields to autosize
|
6
|
-
def autosize
|
7
|
-
OpenStudio::logFree(OpenStudio::Warn, "openstudio.sizing.CoilWaterHeatingDesuperheater", ".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.CoilWaterHeatingDesuperheater", ".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,59 +0,0 @@
|
|
1
|
-
|
2
|
-
# open the class to add methods to return sizing values
|
3
|
-
class OpenStudio::Model::ControllerOutdoorAir
|
4
|
-
|
5
|
-
# Sets all auto-sizeable fields to autosize
|
6
|
-
def autosize
|
7
|
-
self.autosizeMaximumOutdoorAirFlowRate
|
8
|
-
self.autosizeMinimumOutdoorAirFlowRate
|
9
|
-
end
|
10
|
-
|
11
|
-
# Takes the values calculated by the EnergyPlus sizing routines
|
12
|
-
# and puts them into this object model in place of the autosized fields.
|
13
|
-
# Must have previously completed a run with sql output for this to work.
|
14
|
-
def applySizingValues
|
15
|
-
|
16
|
-
maximum_outdoor_air_flow_rate = self.autosizedMaximumOutdoorAirFlowRate
|
17
|
-
if maximum_outdoor_air_flow_rate.is_initialized
|
18
|
-
self.setMaximumOutdoorAirFlowRate(maximum_outdoor_air_flow_rate.get)
|
19
|
-
end
|
20
|
-
|
21
|
-
minimum_outdoor_air_flow_rate = self.autosizedMinimumOutdoorAirFlowRate
|
22
|
-
if minimum_outdoor_air_flow_rate.is_initialized
|
23
|
-
self.setMinimumOutdoorAirFlowRate(minimum_outdoor_air_flow_rate.get)
|
24
|
-
end
|
25
|
-
|
26
|
-
end
|
27
|
-
|
28
|
-
# returns the autosized maximum outdoor air flow rate as an optional double
|
29
|
-
def autosizedMaximumOutdoorAirFlowRate
|
30
|
-
|
31
|
-
return self.model.getAutosizedValue(self, 'Maximum Outdoor Air Flow Rate', 'm3/s')
|
32
|
-
|
33
|
-
end
|
34
|
-
|
35
|
-
# returns the autosized minimum outdoor air flow rate as an optional double
|
36
|
-
# EnergyPlus has a "bug" where if the system is a multizone system,
|
37
|
-
# the Minimum Outdoor Air Flow Rate reported in the Component Sizing
|
38
|
-
# summary does not include zone multipliers.
|
39
|
-
# @todo determine what to do when the airloop has multiple zones
|
40
|
-
# with different multipliers
|
41
|
-
def autosizedMinimumOutdoorAirFlowRate
|
42
|
-
|
43
|
-
oa = self.model.getAutosizedValue(self, 'Minimum Outdoor Air Flow Rate', 'm3/s')
|
44
|
-
|
45
|
-
# Get the airloop connected to this controller
|
46
|
-
if airLoopHVACOutdoorAirSystem.empty?
|
47
|
-
OpenStudio.logFree(OpenStudio::Warn, 'openstudio.Siz.ControllerOutdoorAir', "#{name} is not connected to an airLoopHVACOutdoorAirSystem, cannot determine autosizedMinimumOutdoorAirFlowRate accurately.")
|
48
|
-
return oa
|
49
|
-
end
|
50
|
-
oa_sys = airLoopHVACOutdoorAirSystem.get
|
51
|
-
if oa_sys.airLoop.empty?
|
52
|
-
OpenStudio.logFree(OpenStudio::Warn, 'openstudio.Siz.ControllerOutdoorAir', "#{name}'s airLoopHVACOutdoorAirSystem is not assigned to an AirLoop, cannot determine autosizedMinimumOutdoorAirFlowRate accurately.")
|
53
|
-
return oa
|
54
|
-
end
|
55
|
-
air_loop = oa_sys.airLoop.get
|
56
|
-
|
57
|
-
return oa
|
58
|
-
end
|
59
|
-
end
|