openstudio-standards 0.4.0 → 0.5.0.rc1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/data/inventory/thermal_bridging.csv +90 -0
- data/data/standards/OpenStudio_Standards-deer-comstock.xlsx +0 -0
- data/data/standards/manage_OpenStudio_Standards.rb +1 -1
- data/data/standards/test_performance_expected_dd_results.csv +2014 -1891
- data/lib/openstudio-standards/btap/analysis.rb +8 -8
- data/lib/openstudio-standards/btap/bridging.rb +664 -645
- data/lib/openstudio-standards/btap/btap.model.rb +14 -14
- data/lib/openstudio-standards/btap/btap.rb +7 -7
- data/lib/openstudio-standards/btap/btap_result.rb +1 -1
- data/lib/openstudio-standards/btap/economics.rb +23 -23
- data/lib/openstudio-standards/btap/envelope.rb +8 -8
- data/lib/openstudio-standards/btap/equest.rb +1 -1
- data/lib/openstudio-standards/btap/geometry.rb +2 -2
- data/lib/openstudio-standards/btap/mpc.rb +7 -7
- data/lib/openstudio-standards/btap/schedules.rb +1 -1
- data/lib/openstudio-standards/btap/simmanager.rb +4 -4
- data/lib/openstudio-standards/btap/spaceloads.rb +26 -26
- data/lib/openstudio-standards/btap/utilities.rb +6 -6
- data/lib/openstudio-standards/btap/vintagizer.rb +1 -1
- data/lib/openstudio-standards/constructions/information.rb +83 -0
- data/lib/openstudio-standards/constructions/materials/modify.rb +72 -0
- data/lib/openstudio-standards/constructions/modify.rb +80 -0
- data/lib/openstudio-standards/create_typical/create_typical.rb +983 -0
- data/lib/openstudio-standards/create_typical/enumerations.rb +484 -0
- data/lib/openstudio-standards/create_typical/space_type_blend.rb +791 -0
- data/lib/openstudio-standards/create_typical/space_type_ratios.rb +494 -0
- data/lib/openstudio-standards/daylighting/space.rb +47 -0
- data/lib/openstudio-standards/geometry/create.rb +801 -0
- data/lib/openstudio-standards/geometry/create_bar.rb +2171 -0
- data/lib/openstudio-standards/geometry/information.rb +462 -0
- data/lib/openstudio-standards/geometry/modify.rb +48 -0
- data/lib/openstudio-standards/hvac/air_loop/information.rb +79 -0
- data/lib/openstudio-standards/hvac/cbecs_hvac.rb +616 -0
- data/lib/openstudio-standards/hvac/setpoint_managers/information.rb +91 -0
- data/lib/openstudio-standards/prototypes/ashrae_90_1/ashrae_90_1_2004/ashrae_90_1_2004.AirTerminalSingleDuctVAVReheat.rb +1 -1
- data/lib/openstudio-standards/prototypes/ashrae_90_1/ashrae_90_1_2007/ashrae_90_1_2007.AirTerminalSingleDuctVAVReheat.rb +1 -1
- data/lib/openstudio-standards/prototypes/ashrae_90_1/ashrae_90_1_2010/ashrae_90_1_2010.AirTerminalSingleDuctVAVReheat.rb +1 -1
- data/lib/openstudio-standards/prototypes/ashrae_90_1/ashrae_90_1_2010/ashrae_90_1_2010.Model.rb +1 -1
- data/lib/openstudio-standards/prototypes/ashrae_90_1/ashrae_90_1_2013/ashrae_90_1_2013.AirTerminalSingleDuctVAVReheat.rb +1 -1
- data/lib/openstudio-standards/prototypes/ashrae_90_1/ashrae_90_1_2013/ashrae_90_1_2013.Model.rb +2 -2
- data/lib/openstudio-standards/prototypes/ashrae_90_1/ashrae_90_1_2013/ashrae_90_1_2013.hvac_systems.rb +1 -1
- data/lib/openstudio-standards/prototypes/ashrae_90_1/ashrae_90_1_2016/ashrae_90_1_2016.AirTerminalSingleDuctVAVReheat.rb +1 -1
- data/lib/openstudio-standards/prototypes/ashrae_90_1/ashrae_90_1_2016/ashrae_90_1_2016.Model.rb +4 -36
- data/lib/openstudio-standards/prototypes/ashrae_90_1/ashrae_90_1_2016/ashrae_90_1_2016.hvac_systems.rb +1 -1
- data/lib/openstudio-standards/prototypes/ashrae_90_1/ashrae_90_1_2019/ashrae_90_1_2019.AirTerminalSingleDuctVAVReheat.rb +1 -1
- data/lib/openstudio-standards/prototypes/ashrae_90_1/ashrae_90_1_2019/ashrae_90_1_2019.Model.rb +4 -36
- data/lib/openstudio-standards/prototypes/ashrae_90_1/ashrae_90_1_2019/ashrae_90_1_2019.Space.rb +3 -3
- data/lib/openstudio-standards/prototypes/ashrae_90_1/ashrae_90_1_2019/ashrae_90_1_2019.hvac_systems.rb +1 -1
- data/lib/openstudio-standards/prototypes/ashrae_90_1/doe_ref_1980_2004/doe_ref_1980_2004.AirTerminalSingleDuctVAVReheat.rb +1 -1
- data/lib/openstudio-standards/prototypes/ashrae_90_1/doe_ref_1980_2004/doe_ref_1980_2004.Model.elevators.rb +1 -1
- data/lib/openstudio-standards/prototypes/ashrae_90_1/doe_ref_pre_1980/doe_ref_pre_1980.AirTerminalSingleDuctVAVReheat.rb +1 -1
- data/lib/openstudio-standards/prototypes/ashrae_90_1/doe_ref_pre_1980/doe_ref_pre_1980.CoilHeatingGas.rb +1 -1
- data/lib/openstudio-standards/prototypes/ashrae_90_1/doe_ref_pre_1980/doe_ref_pre_1980.Model.elevators.rb +1 -1
- data/lib/openstudio-standards/prototypes/ashrae_90_1/nrel_nze_ready_2017/nrel_zne_ready_2017.AirTerminalSingleDuctVAVReheat.rb +1 -1
- data/lib/openstudio-standards/prototypes/ashrae_90_1/ze_aedg_multifamily/ze_aedg_multifamily.AirTerminalSingleDuctVAVReheat.rb +1 -1
- data/lib/openstudio-standards/prototypes/common/buildings/Prototype.College.rb +7 -7
- data/lib/openstudio-standards/prototypes/common/buildings/Prototype.Courthouse.rb +8 -8
- data/lib/openstudio-standards/prototypes/common/buildings/Prototype.FullServiceRestaurant.rb +14 -14
- data/lib/openstudio-standards/prototypes/common/buildings/Prototype.HighRiseApartment.rb +9 -9
- data/lib/openstudio-standards/prototypes/common/buildings/Prototype.Hospital.rb +16 -16
- data/lib/openstudio-standards/prototypes/common/buildings/Prototype.Laboratory.rb +7 -7
- data/lib/openstudio-standards/prototypes/common/buildings/Prototype.LargeDataCenterHighITE.rb +8 -8
- data/lib/openstudio-standards/prototypes/common/buildings/Prototype.LargeDataCenterLowITE.rb +8 -8
- data/lib/openstudio-standards/prototypes/common/buildings/Prototype.LargeHotel.rb +11 -11
- data/lib/openstudio-standards/prototypes/common/buildings/Prototype.LargeOffice.rb +7 -7
- data/lib/openstudio-standards/prototypes/common/buildings/Prototype.LargeOfficeDetailed.rb +9 -9
- data/lib/openstudio-standards/prototypes/common/buildings/Prototype.MediumOffice.rb +8 -8
- data/lib/openstudio-standards/prototypes/common/buildings/Prototype.MediumOfficeDetailed.rb +11 -11
- data/lib/openstudio-standards/prototypes/common/buildings/Prototype.MidriseApartment.rb +9 -9
- data/lib/openstudio-standards/prototypes/common/buildings/Prototype.Outpatient.rb +19 -19
- data/lib/openstudio-standards/prototypes/common/buildings/Prototype.PrimarySchool.rb +10 -10
- data/lib/openstudio-standards/prototypes/common/buildings/Prototype.QuickServiceRestaurant.rb +13 -13
- data/lib/openstudio-standards/prototypes/common/buildings/Prototype.RetailStandalone.rb +6 -6
- data/lib/openstudio-standards/prototypes/common/buildings/Prototype.RetailStripmall.rb +6 -6
- data/lib/openstudio-standards/prototypes/common/buildings/Prototype.SecondarySchool.rb +9 -9
- data/lib/openstudio-standards/prototypes/common/buildings/Prototype.SmallDataCenterHighITE.rb +8 -8
- data/lib/openstudio-standards/prototypes/common/buildings/Prototype.SmallDataCenterLowITE.rb +8 -8
- data/lib/openstudio-standards/prototypes/common/buildings/Prototype.SmallHotel.rb +8 -8
- data/lib/openstudio-standards/prototypes/common/buildings/Prototype.SmallOffice.rb +8 -8
- data/lib/openstudio-standards/prototypes/common/buildings/Prototype.SmallOfficeDetailed.rb +11 -11
- data/lib/openstudio-standards/prototypes/common/buildings/Prototype.SuperMarket.rb +10 -10
- data/lib/openstudio-standards/prototypes/common/buildings/Prototype.SuperTallBuilding.rb +19 -19
- data/lib/openstudio-standards/prototypes/common/buildings/Prototype.TallBuilding.rb +18 -18
- data/lib/openstudio-standards/prototypes/common/buildings/Prototype.Warehouse.rb +6 -6
- data/lib/openstudio-standards/prototypes/common/do_not_edit_metaclasses.rb +957 -957
- data/lib/openstudio-standards/prototypes/common/objects/Prototype.AirConditionerVariableRefrigerantFlow.rb +1 -1
- data/lib/openstudio-standards/prototypes/common/objects/Prototype.AirTerminalSingleDuctVAVReheat.rb +1 -1
- data/lib/openstudio-standards/prototypes/common/objects/Prototype.CoilCoolingWaterToAirHeatPumpEquationFit.rb +84 -16
- data/lib/openstudio-standards/prototypes/common/objects/Prototype.CoilHeatingDXSingleSpeed.rb +1 -1
- data/lib/openstudio-standards/prototypes/common/objects/Prototype.CoilHeatingGas.rb +1 -1
- data/lib/openstudio-standards/prototypes/common/objects/Prototype.CoilHeatingWaterToAirHeatPumpEquationFit.rb +61 -10
- data/lib/openstudio-standards/prototypes/common/objects/Prototype.ControllerWaterCoil.rb +1 -1
- data/lib/openstudio-standards/prototypes/common/objects/Prototype.CoolingTower.rb +1 -1
- data/lib/openstudio-standards/prototypes/common/objects/Prototype.Fan.rb +1 -1
- data/lib/openstudio-standards/prototypes/common/objects/Prototype.FanConstantVolume.rb +1 -1
- data/lib/openstudio-standards/prototypes/common/objects/Prototype.FanOnOff.rb +1 -1
- data/lib/openstudio-standards/prototypes/common/objects/Prototype.FanVariableVolume.rb +1 -1
- data/lib/openstudio-standards/prototypes/common/objects/Prototype.FanZoneExhaust.rb +1 -1
- data/lib/openstudio-standards/prototypes/common/objects/Prototype.HeatExchangerAirToAirSensibleAndLatent.rb +2 -2
- data/lib/openstudio-standards/prototypes/common/objects/Prototype.Model.exterior_lights.rb +4 -4
- data/lib/openstudio-standards/prototypes/common/objects/Prototype.Model.hvac.rb +4 -4
- data/lib/openstudio-standards/prototypes/common/objects/Prototype.Model.rb +43 -30
- data/lib/openstudio-standards/prototypes/common/objects/Prototype.Model.swh.rb +1 -1
- data/lib/openstudio-standards/prototypes/common/objects/Prototype.ServiceWaterHeating.rb +18 -11
- data/lib/openstudio-standards/prototypes/common/objects/Prototype.SizingSystem.rb +1 -1
- data/lib/openstudio-standards/prototypes/common/objects/Prototype.hvac_systems.rb +774 -117
- data/lib/openstudio-standards/prototypes/common/objects/Prototype.radiant_system_controls.rb +340 -481
- data/lib/openstudio-standards/prototypes/common/objects/Prototype.refrigeration.rb +3 -3
- data/lib/openstudio-standards/prototypes/common/objects/Prototype.utilities.rb +3 -3
- data/lib/openstudio-standards/prototypes/common/prototype_metaprogramming.rb +22 -22
- data/lib/openstudio-standards/prototypes/deer/deer.Model.rb +1 -1
- data/lib/openstudio-standards/qaqc/calibration.rb +131 -0
- data/lib/openstudio-standards/qaqc/create_results.rb +983 -0
- data/lib/openstudio-standards/qaqc/envelope.rb +399 -0
- data/lib/openstudio-standards/qaqc/eui.rb +213 -0
- data/lib/openstudio-standards/qaqc/hvac.rb +1943 -0
- data/lib/openstudio-standards/qaqc/internal_loads.rb +568 -0
- data/lib/openstudio-standards/qaqc/reporting.rb +141 -0
- data/lib/openstudio-standards/qaqc/schedules.rb +129 -0
- data/lib/openstudio-standards/qaqc/service_water_heating.rb +273 -0
- data/lib/openstudio-standards/qaqc/weather_files.rb +497 -0
- data/lib/openstudio-standards/qaqc/zone_conditions.rb +278 -0
- data/lib/openstudio-standards/schedules/create.rb +364 -0
- data/lib/openstudio-standards/schedules/information.rb +169 -0
- data/lib/openstudio-standards/schedules/modify.rb +445 -0
- data/lib/openstudio-standards/standards/Standards.AirLoopHVAC.rb +110 -71
- data/lib/openstudio-standards/standards/Standards.AirTerminalSingleDuctParallelPIUReheat.rb +3 -3
- data/lib/openstudio-standards/standards/Standards.AirTerminalSingleDuctVAVReheat.rb +4 -4
- data/lib/openstudio-standards/standards/Standards.BoilerHotWater.rb +2 -1
- data/lib/openstudio-standards/standards/Standards.ChillerElectricEIR.rb +16 -10
- data/lib/openstudio-standards/standards/Standards.CoilCoolingDXSingleSpeed.rb +4 -4
- data/lib/openstudio-standards/standards/Standards.CoilCoolingDXTwoSpeed.rb +1 -1
- data/lib/openstudio-standards/standards/Standards.CoilCoolingWaterToAirHeatPumpEquationFit.rb +1 -1
- data/lib/openstudio-standards/standards/Standards.CoilDX.rb +4 -4
- data/lib/openstudio-standards/standards/Standards.CoilHeatingDXMultiSpeed.rb +1 -1
- data/lib/openstudio-standards/standards/Standards.CoilHeatingDXSingleSpeed.rb +5 -5
- data/lib/openstudio-standards/standards/Standards.CoilHeatingGas.rb +1 -1
- data/lib/openstudio-standards/standards/Standards.CoilHeatingGasMultiStage.rb +1 -1
- data/lib/openstudio-standards/standards/Standards.CoilHeatingWaterToAirHeatPumpEquationFit.rb +1 -1
- data/lib/openstudio-standards/standards/Standards.Construction.rb +17 -18
- data/lib/openstudio-standards/standards/Standards.CoolingTower.rb +6 -6
- data/lib/openstudio-standards/standards/Standards.CoolingTowerSingleSpeed.rb +1 -1
- data/lib/openstudio-standards/standards/Standards.CoolingTowerTwoSpeed.rb +1 -1
- data/lib/openstudio-standards/standards/Standards.CoolingTowerVariableSpeed.rb +1 -1
- data/lib/openstudio-standards/standards/Standards.Fan.rb +6 -12
- data/lib/openstudio-standards/standards/Standards.FanVariableVolume.rb +2 -2
- data/lib/openstudio-standards/standards/Standards.FluidCooler.rb +1 -1
- data/lib/openstudio-standards/standards/Standards.HeaderedPumpsVariableSpeed.rb +1 -1
- data/lib/openstudio-standards/standards/Standards.HeatExchangerSensLat.rb +3 -3
- data/lib/openstudio-standards/standards/Standards.Model.rb +411 -261
- data/lib/openstudio-standards/standards/Standards.PlanarSurface.rb +2 -2
- data/lib/openstudio-standards/standards/Standards.PlantLoop.rb +94 -29
- data/lib/openstudio-standards/standards/Standards.Pump.rb +2 -2
- data/lib/openstudio-standards/standards/Standards.ScheduleConstant.rb +2 -2
- data/lib/openstudio-standards/standards/Standards.ScheduleRuleset.rb +14 -14
- data/lib/openstudio-standards/standards/Standards.Space.rb +37 -30
- data/lib/openstudio-standards/standards/Standards.SpaceType.rb +38 -29
- data/lib/openstudio-standards/standards/Standards.SubSurface.rb +7 -7
- data/lib/openstudio-standards/standards/Standards.Surface.rb +13 -13
- data/lib/openstudio-standards/standards/Standards.ThermalZone.rb +109 -66
- data/lib/openstudio-standards/standards/Standards.WaterHeaterMixed.rb +11 -4
- data/lib/openstudio-standards/standards/Standards.ZoneHVACComponent.rb +6 -6
- data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/ashrae_90_1_2004.AirLoopHVAC.rb +1 -1
- data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/ashrae_90_1_2004.PlantLoop.rb +1 -1
- data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/ashrae_90_1_2004.Space.rb +1 -1
- data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2007/ashrae_90_1_2007.Space.rb +1 -1
- data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2010/ashrae_90_1_2010.AirLoopHVAC.rb +4 -4
- data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2010/ashrae_90_1_2010.AirTerminalSingleDuctVAVReheat.rb +1 -1
- data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2010/ashrae_90_1_2010.Space.rb +4 -4
- data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2013/ashrae_90_1_2013.AirLoopHVAC.rb +4 -4
- data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2013/ashrae_90_1_2013.AirTerminalSingleDuctVAVReheat.rb +1 -1
- data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2013/ashrae_90_1_2013.CoolingTowerVariableSpeed.rb +1 -1
- data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2013/ashrae_90_1_2013.Model.rb +5 -21
- data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2013/ashrae_90_1_2013.Space.rb +4 -4
- data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2013/ashrae_90_1_2013.WaterHeaterMixed.rb +1 -1
- data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2013/ashrae_90_1_2013.ZoneHVACComponent.rb +1 -1
- data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2016/ashrae_90_1_2016.AirLoopHVAC.rb +36 -4
- data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2016/ashrae_90_1_2016.AirTerminalSingleDuctVAVReheat.rb +1 -1
- data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2016/ashrae_90_1_2016.CoolingTowerVariableSpeed.rb +1 -1
- data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2016/ashrae_90_1_2016.Space.rb +4 -4
- data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2016/ashrae_90_1_2016.ZoneHVACComponent.rb +1 -1
- data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2016/comstock_ashrae_90_1_2016/comstock_ashrae_90_1_2016.AirLoopHVAC.rb +26 -0
- data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2019/ashrae_90_1_2019.AirLoopHVAC.rb +53 -10
- data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2019/ashrae_90_1_2019.AirTerminalSingleDuctVAVReheat.rb +1 -1
- data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2019/ashrae_90_1_2019.CoolingTowerVariableSpeed.rb +1 -1
- data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2019/ashrae_90_1_2019.Space.rb +6 -6
- data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2019/ashrae_90_1_2019.ZoneHVACComponent.rb +2 -2
- data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2019/comstock_ashrae_90_1_2019/comstock_ashrae_90_1_2019.AirLoopHVAC.rb +26 -0
- data/lib/openstudio-standards/standards/ashrae_90_1/data/ashrae_90_1.curves.json +211 -211
- data/lib/openstudio-standards/standards/ashrae_90_1/doe_ref_1980_2004/data/doe_ref_1980_2004.economizers.json +14 -14
- data/lib/openstudio-standards/standards/ashrae_90_1/doe_ref_1980_2004/doe_ref_1980_2004.AirLoopHVAC.rb +4 -4
- data/lib/openstudio-standards/standards/ashrae_90_1/doe_ref_1980_2004/doe_ref_1980_2004.Model.rb +1 -1
- data/lib/openstudio-standards/standards/ashrae_90_1/doe_ref_1980_2004/doe_ref_1980_2004.PlantLoop.rb +1 -1
- data/lib/openstudio-standards/standards/ashrae_90_1/doe_ref_pre_1980/data/doe_ref_pre_1980.economizers.json +14 -14
- data/lib/openstudio-standards/standards/ashrae_90_1/doe_ref_pre_1980/doe_ref_pre_1980.AirLoopHVAC.rb +4 -4
- data/lib/openstudio-standards/standards/ashrae_90_1/doe_ref_pre_1980/doe_ref_pre_1980.Model.rb +1 -1
- data/lib/openstudio-standards/standards/ashrae_90_1/doe_ref_pre_1980/doe_ref_pre_1980.PlantLoop.rb +1 -1
- data/lib/openstudio-standards/standards/ashrae_90_1/nrel_zne_ready_2017/nrel_zne_ready_2017.AirLoopHVAC.rb +6 -6
- data/lib/openstudio-standards/standards/ashrae_90_1/nrel_zne_ready_2017/nrel_zne_ready_2017.AirTerminalSingleDuctVAVReheat.rb +1 -1
- data/lib/openstudio-standards/standards/ashrae_90_1/nrel_zne_ready_2017/nrel_zne_ready_2017.CoolingTowerVariableSpeed.rb +1 -1
- data/lib/openstudio-standards/standards/ashrae_90_1/nrel_zne_ready_2017/nrel_zne_ready_2017.PlantLoop.rb +1 -1
- data/lib/openstudio-standards/standards/ashrae_90_1/nrel_zne_ready_2017/nrel_zne_ready_2017.Space.rb +4 -4
- data/lib/openstudio-standards/standards/ashrae_90_1/ze_aedg_multifamily/ze_aedg_multifamily.AirLoopHVAC.rb +6 -6
- data/lib/openstudio-standards/standards/ashrae_90_1/ze_aedg_multifamily/ze_aedg_multifamily.AirTerminalSingleDuctVAVReheat.rb +1 -1
- data/lib/openstudio-standards/standards/ashrae_90_1/ze_aedg_multifamily/ze_aedg_multifamily.CoolingTowerVariableSpeed.rb +1 -1
- data/lib/openstudio-standards/standards/ashrae_90_1/ze_aedg_multifamily/ze_aedg_multifamily.PlantLoop.rb +1 -1
- data/lib/openstudio-standards/standards/ashrae_90_1/ze_aedg_multifamily/ze_aedg_multifamily.Space.rb +4 -4
- data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.AirLoopHVAC.rb +22 -28
- data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.AirTerminalSingleDuctParallelPIUReheat.rb +1 -1
- data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.AirTerminalSingleDuctVAVReheat.rb +2 -2
- data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.BoilerHotWater.rb +1 -74
- data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.ChillerElectricEIR.rb +7 -59
- data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.CoilCoolingDXSingleSpeed.rb +1 -1
- data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.CoilCoolingDXTwoSpeed.rb +1 -1
- data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.CoilDX.rb +1 -1
- data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.CoilHeatingDXSingleSpeed.rb +1 -1
- data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.CoilHeatingGas.rb +1 -21
- data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.DesignSpecificationOutdoorAir.rb +101 -0
- data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.FanConstantVolume.rb +1 -1
- data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.FanOnOff.rb +1 -1
- data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.FanVariableVolume.rb +1 -1
- data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.HeatExchangerSensLat.rb +1 -1
- data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.Model.rb +643 -526
- data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.PlanarSurface.rb +8 -2
- data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.PlantLoop.rb +17 -77
- data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.Space.rb +74 -16
- data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.SpaceType.rb +96 -44
- data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.Surface.rb +6 -6
- data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.ThermalZone.rb +18 -6
- data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.ZoneHVACComponent.rb +1 -1
- data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.rb +328 -74
- data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm_2019/ashrae_90_1_prm_2019.Model.rb +0 -118
- data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm_2019/ashrae_90_1_prm_2019.rb +2 -1
- data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm_2019/data/ashrae_90_1_prm_2019.heat_rejection.json +1 -1
- data/lib/openstudio-standards/standards/ashrae_90_1_prm/docs/baseline_outdoor_air.md +35 -0
- data/lib/openstudio-standards/standards/ashrae_90_1_prm/docs/set_plug_load_measures.md +1 -1
- data/lib/openstudio-standards/standards/ashrae_90_1_prm/userdata_csv/ashrae_90_1_prm.UserData.rb +228 -0
- data/lib/openstudio-standards/standards/ashrae_90_1_prm/userdata_csv/userdata_enums.rb +131 -0
- data/lib/openstudio-standards/standards/ashrae_90_1_prm/userdata_csv/userdata_space.csv +1 -1
- data/lib/openstudio-standards/standards/cbes/cbes.AirLoopHVAC.rb +5 -5
- data/lib/openstudio-standards/standards/cbes/cbes.Model.rb +1 -1
- data/lib/openstudio-standards/standards/cbes/cbes.PlantLoop.rb +1 -1
- data/lib/openstudio-standards/standards/cbes/cbes.Space.rb +1 -1
- data/lib/openstudio-standards/standards/cbes/cbes_t24_2005/cbes_t24_2005.Space.rb +1 -1
- data/lib/openstudio-standards/standards/cbes/cbes_t24_2008/cbes_t24_2008.Space.rb +1 -1
- data/lib/openstudio-standards/standards/deer/deer.AirLoopHVAC.rb +109 -27
- data/lib/openstudio-standards/standards/deer/deer.Space.rb +1 -1
- data/lib/openstudio-standards/standards/deer/deer_1985/data/deer_1985.economizers.json +246 -4
- data/lib/openstudio-standards/standards/deer/deer_1996/data/deer_1996.economizers.json +246 -4
- data/lib/openstudio-standards/standards/deer/deer_2003/data/deer_2003.economizers.json +246 -4
- data/lib/openstudio-standards/standards/deer/deer_2003/deer_2003.ThermalZone.rb +18 -18
- data/lib/openstudio-standards/standards/deer/deer_2007/data/deer_2007.economizers.json +246 -4
- data/lib/openstudio-standards/standards/deer/deer_2007/deer_2007.ThermalZone.rb +18 -18
- data/lib/openstudio-standards/standards/deer/deer_2011/data/deer_2011.economizers.json +246 -4
- data/lib/openstudio-standards/standards/deer/deer_2011/deer_2011.ThermalZone.rb +18 -18
- data/lib/openstudio-standards/standards/deer/deer_2014/data/deer_2014.economizers.json +248 -6
- data/lib/openstudio-standards/standards/deer/deer_2014/deer_2014.Space.rb +3 -3
- data/lib/openstudio-standards/standards/deer/deer_2014/deer_2014.ThermalZone.rb +18 -18
- data/lib/openstudio-standards/standards/deer/deer_2015/data/deer_2015.economizers.json +248 -6
- data/lib/openstudio-standards/standards/deer/deer_2015/deer_2015.Space.rb +3 -3
- data/lib/openstudio-standards/standards/deer/deer_2015/deer_2015.ThermalZone.rb +18 -18
- data/lib/openstudio-standards/standards/deer/deer_2017/data/deer_2017.economizers.json +248 -6
- data/lib/openstudio-standards/standards/deer/deer_2017/deer_2017.Space.rb +3 -3
- data/lib/openstudio-standards/standards/deer/deer_2017/deer_2017.ThermalZone.rb +18 -18
- data/lib/openstudio-standards/standards/deer/deer_2020/data/deer_2020.economizers.json +248 -6
- data/lib/openstudio-standards/standards/deer/deer_2020/deer_2020.AirLoopHVAC.rb +18 -5
- data/lib/openstudio-standards/standards/deer/deer_2020/deer_2020.FanVariableVolume.rb +1 -1
- data/lib/openstudio-standards/standards/deer/deer_2020/deer_2020.Space.rb +3 -3
- data/lib/openstudio-standards/standards/deer/deer_2020/deer_2020.ThermalZone.rb +18 -18
- data/lib/openstudio-standards/standards/deer/deer_2025/data/deer_2025.economizers.json +248 -6
- data/lib/openstudio-standards/standards/deer/deer_2025/deer_2025.AirLoopHVAC.rb +3 -3
- data/lib/openstudio-standards/standards/deer/deer_2025/deer_2025.FanVariableVolume.rb +1 -1
- data/lib/openstudio-standards/standards/deer/deer_2025/deer_2025.Space.rb +3 -3
- data/lib/openstudio-standards/standards/deer/deer_2030/data/deer_2030.economizers.json +248 -6
- data/lib/openstudio-standards/standards/deer/deer_2030/data/deer_2030.heat_pumps.json +2 -2
- data/lib/openstudio-standards/standards/deer/deer_2030/deer_2030.AirLoopHVAC.rb +3 -3
- data/lib/openstudio-standards/standards/deer/deer_2030/deer_2030.FanVariableVolume.rb +1 -1
- data/lib/openstudio-standards/standards/deer/deer_2030/deer_2030.Space.rb +3 -3
- data/lib/openstudio-standards/standards/deer/deer_2035/data/deer_2035.economizers.json +248 -6
- data/lib/openstudio-standards/standards/deer/deer_2035/deer_2035.AirLoopHVAC.rb +3 -3
- data/lib/openstudio-standards/standards/deer/deer_2035/deer_2035.FanVariableVolume.rb +1 -1
- data/lib/openstudio-standards/standards/deer/deer_2035/deer_2035.Space.rb +3 -3
- data/lib/openstudio-standards/standards/deer/deer_2040/data/deer_2040.economizers.json +248 -6
- data/lib/openstudio-standards/standards/deer/deer_2040/deer_2040.AirLoopHVAC.rb +3 -3
- data/lib/openstudio-standards/standards/deer/deer_2040/deer_2040.FanVariableVolume.rb +1 -1
- data/lib/openstudio-standards/standards/deer/deer_2040/deer_2040.Space.rb +3 -3
- data/lib/openstudio-standards/standards/deer/deer_2045/data/deer_2045.economizers.json +260 -0
- data/lib/openstudio-standards/standards/deer/deer_2045/deer_2045.AirLoopHVAC.rb +3 -3
- data/lib/openstudio-standards/standards/deer/deer_2045/deer_2045.FanVariableVolume.rb +1 -1
- data/lib/openstudio-standards/standards/deer/deer_2045/deer_2045.Space.rb +3 -3
- data/lib/openstudio-standards/standards/deer/deer_2050/data/deer_2050.economizers.json +248 -6
- data/lib/openstudio-standards/standards/deer/deer_2050/deer_2050.AirLoopHVAC.rb +3 -3
- data/lib/openstudio-standards/standards/deer/deer_2050/deer_2050.FanVariableVolume.rb +1 -1
- data/lib/openstudio-standards/standards/deer/deer_2050/deer_2050.Space.rb +3 -3
- data/lib/openstudio-standards/standards/deer/deer_2055/data/deer_2055.economizers.json +248 -6
- data/lib/openstudio-standards/standards/deer/deer_2055/deer_2055.AirLoopHVAC.rb +3 -3
- data/lib/openstudio-standards/standards/deer/deer_2055/deer_2055.FanVariableVolume.rb +1 -1
- data/lib/openstudio-standards/standards/deer/deer_2055/deer_2055.Space.rb +3 -3
- data/lib/openstudio-standards/standards/deer/deer_2060/data/deer_2060.economizers.json +248 -6
- data/lib/openstudio-standards/standards/deer/deer_2060/deer_2060.AirLoopHVAC.rb +3 -3
- data/lib/openstudio-standards/standards/deer/deer_2060/deer_2060.FanVariableVolume.rb +1 -1
- data/lib/openstudio-standards/standards/deer/deer_2060/deer_2060.Space.rb +3 -3
- data/lib/openstudio-standards/standards/deer/deer_2065/data/deer_2065.economizers.json +248 -6
- data/lib/openstudio-standards/standards/deer/deer_2065/deer_2065.AirLoopHVAC.rb +3 -3
- data/lib/openstudio-standards/standards/deer/deer_2065/deer_2065.FanVariableVolume.rb +1 -1
- data/lib/openstudio-standards/standards/deer/deer_2065/deer_2065.Space.rb +3 -3
- data/lib/openstudio-standards/standards/deer/deer_2070/data/deer_2070.economizers.json +248 -6
- data/lib/openstudio-standards/standards/deer/deer_2070/deer_2070.AirLoopHVAC.rb +3 -3
- data/lib/openstudio-standards/standards/deer/deer_2070/deer_2070.FanVariableVolume.rb +1 -1
- data/lib/openstudio-standards/standards/deer/deer_2070/deer_2070.Space.rb +3 -3
- data/lib/openstudio-standards/standards/deer/deer_2075/data/deer_2075.economizers.json +248 -6
- data/lib/openstudio-standards/standards/deer/deer_2075/deer_2075.AirLoopHVAC.rb +3 -3
- data/lib/openstudio-standards/standards/deer/deer_2075/deer_2075.FanVariableVolume.rb +1 -1
- data/lib/openstudio-standards/standards/deer/deer_2075/deer_2075.Space.rb +3 -3
- data/lib/openstudio-standards/standards/deer/deer_pre_1975/data/deer_pre_1975.economizers.json +246 -4
- data/lib/openstudio-standards/standards/necb/BTAP1980TO2010/data/space_types.json +447 -223
- data/lib/openstudio-standards/standards/necb/BTAPPRE1980/building_envelope.rb +1 -1
- data/lib/openstudio-standards/standards/necb/BTAPPRE1980/data/space_types.json +447 -223
- data/lib/openstudio-standards/standards/necb/BTAPPRE1980/hvac_systems.rb +5 -2
- data/lib/openstudio-standards/standards/necb/ECMS/data/chiller_types.json +25 -0
- data/lib/openstudio-standards/standards/necb/ECMS/data/chillers.json +44 -0
- data/lib/openstudio-standards/standards/necb/ECMS/data/curves.json +225 -0
- data/lib/openstudio-standards/standards/necb/ECMS/ecms.rb +2 -2
- data/lib/openstudio-standards/standards/necb/ECMS/hvac_systems.rb +193 -73
- data/lib/openstudio-standards/standards/necb/ECMS/pv_ground.rb +1 -1
- data/lib/openstudio-standards/standards/necb/NECB2011/autozone.rb +10 -4
- data/lib/openstudio-standards/standards/necb/NECB2011/beps_compliance_path.rb +7 -7
- data/lib/openstudio-standards/standards/necb/NECB2011/building_envelope.rb +4 -5
- data/lib/openstudio-standards/standards/necb/NECB2011/data/chiller_types.json +32 -0
- data/lib/openstudio-standards/standards/necb/NECB2011/data/chillers.json +1 -1
- data/lib/openstudio-standards/standards/necb/NECB2011/data/constants.json +36 -0
- data/lib/openstudio-standards/standards/necb/NECB2011/data/fuel_type_sets.json +7 -7
- data/lib/openstudio-standards/standards/necb/NECB2011/data/geometry/NorthernEducation.osm +47587 -0
- data/lib/openstudio-standards/standards/necb/NECB2011/data/geometry/NorthernHealthCare.osm +49764 -0
- data/lib/openstudio-standards/standards/necb/NECB2011/data/geometry/Warehouse.osm +283 -297
- data/lib/openstudio-standards/standards/necb/NECB2011/data/space_type_unit_definitions.txt +2 -1
- data/lib/openstudio-standards/standards/necb/NECB2011/data/space_types.json +447 -223
- data/lib/openstudio-standards/standards/necb/NECB2011/data/standards_data.rb +3 -3
- data/lib/openstudio-standards/standards/necb/NECB2011/hvac_system_1_multi_speed.rb +1 -1
- data/lib/openstudio-standards/standards/necb/NECB2011/hvac_systems.rb +49 -27
- data/lib/openstudio-standards/standards/necb/NECB2011/necb_2011.rb +400 -202
- data/lib/openstudio-standards/standards/necb/NECB2011/service_water_heating.rb +4 -4
- data/lib/openstudio-standards/standards/necb/NECB2015/data/space_types.json +637 -318
- data/lib/openstudio-standards/standards/necb/NECB2015/hvac_systems.rb +18 -1
- data/lib/openstudio-standards/standards/necb/NECB2015/necb_2015.rb +3 -3
- data/lib/openstudio-standards/standards/necb/NECB2017/data/space_types.json +637 -318
- data/lib/openstudio-standards/standards/necb/NECB2017/hvac_systems.rb +1 -1
- data/lib/openstudio-standards/standards/necb/NECB2017/necb_2017.rb +3 -3
- data/lib/openstudio-standards/standards/necb/NECB2020/building_envelope.rb +1 -1
- data/lib/openstudio-standards/standards/necb/NECB2020/data/space_types.json +615 -307
- data/lib/openstudio-standards/standards/necb/NECB2020/service_water_heating.rb +4 -4
- data/lib/openstudio-standards/standards/necb/common/btap_data.rb +10 -5
- data/lib/openstudio-standards/standards/necb/common/btap_datapoint.rb +1 -1
- data/lib/openstudio-standards/utilities/assertion.rb +128 -0
- data/lib/openstudio-standards/utilities/logging.rb +2 -3
- data/lib/openstudio-standards/utilities/object_info.rb +39 -18
- data/lib/openstudio-standards/utilities/schedule_translator.rb +8 -6
- data/lib/openstudio-standards/utilities/simulation.rb +24 -11
- data/lib/openstudio-standards/utilities/sqlfile.rb +10 -5
- data/lib/openstudio-standards/version.rb +1 -1
- data/lib/openstudio-standards/weather/Weather.Model.rb +8 -9
- data/lib/openstudio-standards/weather/Weather.stat_file.rb +3 -3
- data/lib/openstudio-standards/weather/information.rb +35 -0
- data/lib/openstudio-standards.rb +69 -5
- metadata +52 -16
- data/data/standards/OpenStudio_Standards-deer-ALL-comstock(space_types).xlsx +0 -0
- data/lib/openstudio-standards/hvac_sizing/Siz.AirLoopHVAC.rb +0 -59
- data/lib/openstudio-standards/hvac_sizing/Siz.CoilCoolingWater.rb +0 -13
- data/lib/openstudio-standards/hvac_sizing/Siz.HVACComponent.rb +0 -36
- data/lib/openstudio-standards/hvac_sizing/Siz.HeatingCoolingFuels.rb +0 -898
- data/lib/openstudio-standards/hvac_sizing/Siz.Model.rb +0 -126
- data/lib/openstudio-standards/hvac_sizing/Siz.ThermalZone.rb +0 -356
- data/lib/openstudio-standards/prototypes/ashrae_90_1/nrel_nze_ready_2017/nrel_zne_ready_2017.Model.rb +0 -35
- data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.CoolingTower.rb +0 -110
- data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.CoolingTowerVariableSpeed.rb +0 -5
|
@@ -4,10 +4,10 @@ module MediumOffice
|
|
|
4
4
|
# hvac adjustments specific to the prototype model
|
|
5
5
|
#
|
|
6
6
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
|
7
|
-
# @param building_type [
|
|
7
|
+
# @param building_type [String the building type
|
|
8
8
|
# @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
|
|
9
9
|
# @param prototype_input [Hash] hash of prototype inputs
|
|
10
|
-
# @return [
|
|
10
|
+
# @return [Boolean] returns true if successful, false if not
|
|
11
11
|
def model_custom_hvac_tweaks(model, building_type, climate_zone, prototype_input)
|
|
12
12
|
OpenStudio.logFree(OpenStudio::Info, 'openstudio.model.Model', 'Started building type specific HVAC adjustments')
|
|
13
13
|
|
|
@@ -90,7 +90,7 @@ module MediumOffice
|
|
|
90
90
|
#
|
|
91
91
|
# @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
|
|
92
92
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
|
93
|
-
# @return [
|
|
93
|
+
# @return [Boolean] returns true if successful, false if not
|
|
94
94
|
def add_door_infiltration(climate_zone, model)
|
|
95
95
|
# add extra infiltration for entry door in m3/s (there is no attic in 'DOE Ref Pre-1980')
|
|
96
96
|
return false if template == 'DOE Ref 1980-2004' || template == 'DOE Ref Pre-1980'
|
|
@@ -135,10 +135,10 @@ module MediumOffice
|
|
|
135
135
|
# swh adjustments specific to the prototype model
|
|
136
136
|
#
|
|
137
137
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
|
138
|
-
# @param building_type [
|
|
138
|
+
# @param building_type [String the building type
|
|
139
139
|
# @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
|
|
140
140
|
# @param prototype_input [Hash] hash of prototype inputs
|
|
141
|
-
# @return [
|
|
141
|
+
# @return [Boolean] returns true if successful, false if not
|
|
142
142
|
def model_custom_swh_tweaks(model, building_type, climate_zone, prototype_input)
|
|
143
143
|
return true
|
|
144
144
|
end
|
|
@@ -146,10 +146,10 @@ module MediumOffice
|
|
|
146
146
|
# geometry adjustments specific to the prototype model
|
|
147
147
|
#
|
|
148
148
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
|
149
|
-
# @param building_type [
|
|
149
|
+
# @param building_type [String the building type
|
|
150
150
|
# @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
|
|
151
151
|
# @param prototype_input [Hash] hash of prototype inputs
|
|
152
|
-
# @return [
|
|
152
|
+
# @return [Boolean] returns true if successful, false if not
|
|
153
153
|
def model_custom_geometry_tweaks(model, building_type, climate_zone, prototype_input)
|
|
154
154
|
# Set original building North axis
|
|
155
155
|
model_set_building_north_axis(model, 0.0)
|
|
@@ -163,7 +163,7 @@ module MediumOffice
|
|
|
163
163
|
#
|
|
164
164
|
# @param air_terminal_single_duct_vav_reheat [OpenStudio::Model::AirTerminalSingleDuctVAVReheat] the air terminal object
|
|
165
165
|
# @param zone_oa_per_area [Double] the zone outdoor air per area in m^3/s*m^2
|
|
166
|
-
# @return [
|
|
166
|
+
# @return [Boolean] returns true if successful, false if not
|
|
167
167
|
def air_terminal_single_duct_vav_reheat_apply_initial_prototype_damper_position(air_terminal_single_duct_vav_reheat, zone_oa_per_area)
|
|
168
168
|
min_damper_position = template == '90.1-2010' || template == '90.1-2013' || template == '90.1-2016' || template == '90.1-2019' ? 0.2 : 0.3
|
|
169
169
|
|
|
@@ -4,10 +4,10 @@ module MediumOfficeDetailed
|
|
|
4
4
|
# hvac adjustments specific to the prototype model
|
|
5
5
|
#
|
|
6
6
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
|
7
|
-
# @param building_type [
|
|
7
|
+
# @param building_type [String the building type
|
|
8
8
|
# @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
|
|
9
9
|
# @param prototype_input [Hash] hash of prototype inputs
|
|
10
|
-
# @return [
|
|
10
|
+
# @return [Boolean] returns true if successful, false if not
|
|
11
11
|
def model_custom_hvac_tweaks(model, building_type, climate_zone, prototype_input)
|
|
12
12
|
OpenStudio.logFree(OpenStudio::Info, 'openstudio.model.Model', 'Started building type specific adjustments')
|
|
13
13
|
|
|
@@ -37,7 +37,7 @@ module MediumOfficeDetailed
|
|
|
37
37
|
#
|
|
38
38
|
# @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
|
|
39
39
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
|
40
|
-
# @return [
|
|
40
|
+
# @return [Boolean] returns true if successful, false if not
|
|
41
41
|
def add_door_infiltration(climate_zone, model)
|
|
42
42
|
# add extra infiltration for entry door in m3/s (there is no attic in 'DOE Ref Pre-1980')
|
|
43
43
|
return false if template == 'DOE Ref 1980-2004' || template == 'DOE Ref Pre-1980'
|
|
@@ -67,10 +67,10 @@ module MediumOfficeDetailed
|
|
|
67
67
|
# # daylighting adjustments specific to the prototype model
|
|
68
68
|
# #
|
|
69
69
|
# # @param model [OpenStudio::Model::Model] OpenStudio model object
|
|
70
|
-
# # @param building_type [
|
|
70
|
+
# # @param building_type [String the building type
|
|
71
71
|
# # @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
|
|
72
72
|
# # @param prototype_input [Hash] hash of prototype inputs
|
|
73
|
-
# # @return [
|
|
73
|
+
# # @return [Boolean] returns true if successful, false if not
|
|
74
74
|
# def model_custom_daylighting_tweaks(model, building_type, climate_zone, prototype_input)
|
|
75
75
|
# OpenStudio.logFree(OpenStudio::Info, 'openstudio.model.Model', 'Adjusting daylight sensor positions and fractions')
|
|
76
76
|
#
|
|
@@ -128,7 +128,7 @@ module MediumOfficeDetailed
|
|
|
128
128
|
# update water heater loss coefficient
|
|
129
129
|
#
|
|
130
130
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
|
131
|
-
# @return [
|
|
131
|
+
# @return [Boolean] returns true if successful, false if not
|
|
132
132
|
def update_waterheater_loss_coefficient(model)
|
|
133
133
|
case template
|
|
134
134
|
when '90.1-2004', '90.1-2007', '90.1-2010', '90.1-2013', '90.1-2016', '90.1-2019', 'NECB2011'
|
|
@@ -143,10 +143,10 @@ module MediumOfficeDetailed
|
|
|
143
143
|
# swh adjustments specific to the prototype model
|
|
144
144
|
#
|
|
145
145
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
|
146
|
-
# @param building_type [
|
|
146
|
+
# @param building_type [String the building type
|
|
147
147
|
# @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
|
|
148
148
|
# @param prototype_input [Hash] hash of prototype inputs
|
|
149
|
-
# @return [
|
|
149
|
+
# @return [Boolean] returns true if successful, false if not
|
|
150
150
|
def model_custom_swh_tweaks(model, building_type, climate_zone, prototype_input)
|
|
151
151
|
update_waterheater_loss_coefficient(model)
|
|
152
152
|
|
|
@@ -156,10 +156,10 @@ module MediumOfficeDetailed
|
|
|
156
156
|
# geometry adjustments specific to the prototype model
|
|
157
157
|
#
|
|
158
158
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
|
159
|
-
# @param building_type [
|
|
159
|
+
# @param building_type [String the building type
|
|
160
160
|
# @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
|
|
161
161
|
# @param prototype_input [Hash] hash of prototype inputs
|
|
162
|
-
# @return [
|
|
162
|
+
# @return [Boolean] returns true if successful, false if not
|
|
163
163
|
def model_custom_geometry_tweaks(model, building_type, climate_zone, prototype_input)
|
|
164
164
|
# Set original building North axis
|
|
165
165
|
model_set_building_north_axis(model, 0.0)
|
|
@@ -173,7 +173,7 @@ module MediumOfficeDetailed
|
|
|
173
173
|
#
|
|
174
174
|
# @param air_terminal_single_duct_vav_reheat [OpenStudio::Model::AirTerminalSingleDuctVAVReheat] the air terminal object
|
|
175
175
|
# @param zone_oa_per_area [Double] the zone outdoor air per area in m^3/s*m^2
|
|
176
|
-
# @return [
|
|
176
|
+
# @return [Boolean] returns true if successful, false if not
|
|
177
177
|
def air_terminal_single_duct_vav_reheat_apply_initial_prototype_damper_position(air_terminal_single_duct_vav_reheat, zone_oa_per_area)
|
|
178
178
|
min_damper_position = template == '90.1-2010' || template == '90.1-2013' || template == '90.1-2016' || template == '90.1-2019' ? 0.2 : 0.3
|
|
179
179
|
|
|
@@ -4,10 +4,10 @@ module MidriseApartment
|
|
|
4
4
|
# hvac adjustments specific to the prototype model
|
|
5
5
|
#
|
|
6
6
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
|
7
|
-
# @param building_type [
|
|
7
|
+
# @param building_type [String the building type
|
|
8
8
|
# @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
|
|
9
9
|
# @param prototype_input [Hash] hash of prototype inputs
|
|
10
|
-
# @return [
|
|
10
|
+
# @return [Boolean] returns true if successful, false if not
|
|
11
11
|
def model_custom_hvac_tweaks(model, building_type, climate_zone, prototype_input)
|
|
12
12
|
OpenStudio.logFree(OpenStudio::Info, 'openstudio.model.Model', 'Started building type specific adjustments')
|
|
13
13
|
|
|
@@ -26,7 +26,7 @@ module MidriseApartment
|
|
|
26
26
|
# adjust office cooling setpoint in specific climate zones
|
|
27
27
|
#
|
|
28
28
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
|
29
|
-
# @return [
|
|
29
|
+
# @return [Boolean] returns true if successful, false if not
|
|
30
30
|
def adjust_clg_setpoint(climate_zone, model)
|
|
31
31
|
space_name = 'Office'
|
|
32
32
|
space_type_name = model.getSpaceByName(space_name).get.spaceType.get.name.get
|
|
@@ -52,7 +52,7 @@ module MidriseApartment
|
|
|
52
52
|
# add elevator and lights&fans for the ground floor corridor
|
|
53
53
|
#
|
|
54
54
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
|
55
|
-
# @return [
|
|
55
|
+
# @return [Boolean] returns true if successful, false if not
|
|
56
56
|
def add_extra_equip_corridor(model)
|
|
57
57
|
corridor_ground_space = model.getSpaceByName('G Corridor').get
|
|
58
58
|
elec_equip_def1 = OpenStudio::Model::ElectricEquipmentDefinition.new(model)
|
|
@@ -107,7 +107,7 @@ module MidriseApartment
|
|
|
107
107
|
#
|
|
108
108
|
# @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
|
|
109
109
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
|
110
|
-
# @return [
|
|
110
|
+
# @return [Boolean] returns true if successful, false if not
|
|
111
111
|
def add_door_infiltration(climate_zone, model)
|
|
112
112
|
return false if template == 'DOE Ref 1980-2004' || template == 'DOE Ref Pre-1980'
|
|
113
113
|
|
|
@@ -169,10 +169,10 @@ module MidriseApartment
|
|
|
169
169
|
# swh adjustments specific to the prototype model
|
|
170
170
|
#
|
|
171
171
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
|
172
|
-
# @param building_type [
|
|
172
|
+
# @param building_type [String the building type
|
|
173
173
|
# @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
|
|
174
174
|
# @param prototype_input [Hash] hash of prototype inputs
|
|
175
|
-
# @return [
|
|
175
|
+
# @return [Boolean] returns true if successful, false if not
|
|
176
176
|
def model_custom_swh_tweaks(model, building_type, climate_zone, prototype_input)
|
|
177
177
|
return true
|
|
178
178
|
end
|
|
@@ -180,10 +180,10 @@ module MidriseApartment
|
|
|
180
180
|
# geometry adjustments specific to the prototype model
|
|
181
181
|
#
|
|
182
182
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
|
183
|
-
# @param building_type [
|
|
183
|
+
# @param building_type [String the building type
|
|
184
184
|
# @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
|
|
185
185
|
# @param prototype_input [Hash] hash of prototype inputs
|
|
186
|
-
# @return [
|
|
186
|
+
# @return [Boolean] returns true if successful, false if not
|
|
187
187
|
def model_custom_geometry_tweaks(model, building_type, climate_zone, prototype_input)
|
|
188
188
|
# Set original building North axis
|
|
189
189
|
model_set_building_north_axis(model, 0.0)
|
|
@@ -4,10 +4,10 @@ module Outpatient
|
|
|
4
4
|
# hvac adjustments specific to the prototype model
|
|
5
5
|
#
|
|
6
6
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
|
7
|
-
# @param building_type [
|
|
7
|
+
# @param building_type [String the building type
|
|
8
8
|
# @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
|
|
9
9
|
# @param prototype_input [Hash] hash of prototype inputs
|
|
10
|
-
# @return [
|
|
10
|
+
# @return [Boolean] returns true if successful, false if not
|
|
11
11
|
def model_custom_hvac_tweaks(model, building_type, climate_zone, prototype_input)
|
|
12
12
|
OpenStudio.logFree(OpenStudio::Info, 'openstudio.model.Model', 'Started Adding HVAC')
|
|
13
13
|
|
|
@@ -82,7 +82,7 @@ module Outpatient
|
|
|
82
82
|
# add extra equipment for mechanical room
|
|
83
83
|
#
|
|
84
84
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
|
85
|
-
# @return [
|
|
85
|
+
# @return [Boolean] returns true if successful, false if not
|
|
86
86
|
def add_extra_equip_elevator_pump_room(model)
|
|
87
87
|
elevator_pump_room = model.getSpaceByName('Floor 1 Elevator Pump Room').get
|
|
88
88
|
elec_equip_def = OpenStudio::Model::ElectricEquipmentDefinition.new(model)
|
|
@@ -135,7 +135,7 @@ module Outpatient
|
|
|
135
135
|
#
|
|
136
136
|
# @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
|
|
137
137
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
|
138
|
-
# @return [
|
|
138
|
+
# @return [Boolean] returns true if successful, false if not
|
|
139
139
|
def adjust_clg_setpoint(climate_zone, model)
|
|
140
140
|
model.getSpaceTypes.sort.each do |space_type|
|
|
141
141
|
space_type_name = space_type.name.get
|
|
@@ -162,7 +162,7 @@ module Outpatient
|
|
|
162
162
|
# adjust infiltration
|
|
163
163
|
#
|
|
164
164
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
|
165
|
-
# @return [
|
|
165
|
+
# @return [Boolean] returns true if successful, false if not
|
|
166
166
|
def adjust_infiltration(model)
|
|
167
167
|
case template
|
|
168
168
|
when 'DOE Ref Pre-1980', 'DOE Ref 1980-2004'
|
|
@@ -204,7 +204,7 @@ module Outpatient
|
|
|
204
204
|
#
|
|
205
205
|
# @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
|
|
206
206
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
|
207
|
-
# @return [
|
|
207
|
+
# @return [Boolean] returns true if successful, false if not
|
|
208
208
|
def add_door_infiltration(climate_zone, model)
|
|
209
209
|
# add extra infiltration for vestibule door
|
|
210
210
|
case template
|
|
@@ -246,7 +246,7 @@ module Outpatient
|
|
|
246
246
|
#
|
|
247
247
|
# @param hot_water_loop [OpenStudio::Model::PlantLoop] hot water loop
|
|
248
248
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
|
249
|
-
# @return [
|
|
249
|
+
# @return [Boolean] returns true if successful, false if not
|
|
250
250
|
def add_humidifier(hot_water_loop, model)
|
|
251
251
|
operatingroom1_space = model.getSpaceByName('Floor 1 Operating Room 1').get
|
|
252
252
|
operatingroom1_zone = operatingroom1_space.thermalZone.get
|
|
@@ -293,7 +293,7 @@ module Outpatient
|
|
|
293
293
|
# AHU1 doesn't have economizer
|
|
294
294
|
#
|
|
295
295
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
|
296
|
-
# @return [
|
|
296
|
+
# @return [Boolean] returns true if successful, false if not
|
|
297
297
|
def model_modify_oa_controller(model)
|
|
298
298
|
model.getAirLoopHVACs.sort.each do |air_loop|
|
|
299
299
|
oa_system = air_loop.airLoopHVACOutdoorAirSystem.get
|
|
@@ -318,7 +318,7 @@ module Outpatient
|
|
|
318
318
|
# adjust room vav damper minimums
|
|
319
319
|
#
|
|
320
320
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
|
321
|
-
# @return [
|
|
321
|
+
# @return [Boolean] returns true if successful, false if not
|
|
322
322
|
def model_adjust_vav_minimum_damper(model)
|
|
323
323
|
# Minimum damper position for Outpatient prototype
|
|
324
324
|
# Based on AIA 2001 ventilation requirements
|
|
@@ -385,7 +385,7 @@ module Outpatient
|
|
|
385
385
|
#
|
|
386
386
|
# @param prototype_input [Hash] hash of prototype inputs
|
|
387
387
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
|
388
|
-
# @return [
|
|
388
|
+
# @return [Boolean] returns true if successful, false if not
|
|
389
389
|
def model_reset_or_room_vav_minimum_damper(prototype_input, model)
|
|
390
390
|
case template
|
|
391
391
|
when '90.1-2010', '90.1-2013', '90.1-2016', '90.1-2019'
|
|
@@ -407,7 +407,7 @@ module Outpatient
|
|
|
407
407
|
# reset boiler sizing factor
|
|
408
408
|
#
|
|
409
409
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
|
410
|
-
# @return [
|
|
410
|
+
# @return [Boolean] returns true if successful, false if not
|
|
411
411
|
def reset_boiler_sizing_factor(model)
|
|
412
412
|
model.getBoilerHotWaters.sort.each do |boiler|
|
|
413
413
|
boiler.setSizingFactor(0.3)
|
|
@@ -418,7 +418,7 @@ module Outpatient
|
|
|
418
418
|
# update exhuast fan efficiency
|
|
419
419
|
#
|
|
420
420
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
|
421
|
-
# @return [
|
|
421
|
+
# @return [Boolean] returns true if successful, false if not
|
|
422
422
|
def model_update_exhaust_fan_efficiency(model)
|
|
423
423
|
case template
|
|
424
424
|
when '90.1-2004', '90.1-2007', '90.1-2010', '90.1-2013', '90.1-2016', '90.1-2019'
|
|
@@ -443,9 +443,9 @@ module Outpatient
|
|
|
443
443
|
|
|
444
444
|
# assign the minimum total air changes to the cooling minimum air flow in Sizing:Zone
|
|
445
445
|
#
|
|
446
|
-
# @param building_type [
|
|
446
|
+
# @param building_type [String the building type
|
|
447
447
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
|
448
|
-
# @return [
|
|
448
|
+
# @return [Boolean] returns true if successful, false if not
|
|
449
449
|
def apply_minimum_total_ach(building_type, model)
|
|
450
450
|
model.getSpaces.sort.each do |space|
|
|
451
451
|
space_type_name = space.spaceType.get.standardsSpaceType.get
|
|
@@ -487,10 +487,10 @@ module Outpatient
|
|
|
487
487
|
# swh adjustments specific to the prototype model
|
|
488
488
|
#
|
|
489
489
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
|
490
|
-
# @param building_type [
|
|
490
|
+
# @param building_type [String the building type
|
|
491
491
|
# @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
|
|
492
492
|
# @param prototype_input [Hash] hash of prototype inputs
|
|
493
|
-
# @return [
|
|
493
|
+
# @return [Boolean] returns true if successful, false if not
|
|
494
494
|
def model_custom_swh_tweaks(model, building_type, climate_zone, prototype_input)
|
|
495
495
|
return true
|
|
496
496
|
end
|
|
@@ -498,10 +498,10 @@ module Outpatient
|
|
|
498
498
|
# geometry adjustments specific to the prototype model
|
|
499
499
|
#
|
|
500
500
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
|
501
|
-
# @param building_type [
|
|
501
|
+
# @param building_type [String the building type
|
|
502
502
|
# @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
|
|
503
503
|
# @param prototype_input [Hash] hash of prototype inputs
|
|
504
|
-
# @return [
|
|
504
|
+
# @return [Boolean] returns true if successful, false if not
|
|
505
505
|
def model_custom_geometry_tweaks(model, building_type, climate_zone, prototype_input)
|
|
506
506
|
# Set original building North axis
|
|
507
507
|
model_set_building_north_axis(model, 0.0)
|
|
@@ -515,7 +515,7 @@ module Outpatient
|
|
|
515
515
|
#
|
|
516
516
|
# @param air_terminal_single_duct_vav_reheat [OpenStudio::Model::AirTerminalSingleDuctVAVReheat] the air terminal object
|
|
517
517
|
# @param zone_oa_per_area [Double] the zone outdoor air per area in m^3/s*m^2
|
|
518
|
-
# @return [
|
|
518
|
+
# @return [Boolean] returns true if successful, false if not
|
|
519
519
|
def air_terminal_single_duct_vav_reheat_apply_initial_prototype_damper_position(air_terminal_single_duct_vav_reheat, zone_oa_per_area)
|
|
520
520
|
# Minimum damper position
|
|
521
521
|
# Based on AIA 2001 ventilation requirements
|
|
@@ -4,10 +4,10 @@ module PrimarySchool
|
|
|
4
4
|
# hvac adjustments specific to the prototype model
|
|
5
5
|
#
|
|
6
6
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
|
7
|
-
# @param building_type [
|
|
7
|
+
# @param building_type [String the building type
|
|
8
8
|
# @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
|
|
9
9
|
# @param prototype_input [Hash] hash of prototype inputs
|
|
10
|
-
# @return [
|
|
10
|
+
# @return [Boolean] returns true if successful, false if not
|
|
11
11
|
def model_custom_hvac_tweaks(model, building_type, climate_zone, prototype_input)
|
|
12
12
|
OpenStudio.logFree(OpenStudio::Info, 'openstudio.model.Model', 'Started building type specific HVAC adjustments')
|
|
13
13
|
|
|
@@ -38,7 +38,7 @@ module PrimarySchool
|
|
|
38
38
|
# add extra equipment for kitchen
|
|
39
39
|
#
|
|
40
40
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
|
41
|
-
# @return [
|
|
41
|
+
# @return [Boolean] returns true if successful, false if not
|
|
42
42
|
def add_extra_equip_kitchen(model)
|
|
43
43
|
kitchen_space = model.getSpaceByName('Kitchen_ZN_1_FLR_1')
|
|
44
44
|
kitchen_space = kitchen_space.get
|
|
@@ -81,7 +81,7 @@ module PrimarySchool
|
|
|
81
81
|
# update water heater ambient conditions
|
|
82
82
|
#
|
|
83
83
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
|
84
|
-
# @return [
|
|
84
|
+
# @return [Boolean] returns true if successful, false if not
|
|
85
85
|
def update_waterheater_ambient_parameters(model)
|
|
86
86
|
model.getWaterHeaterMixeds.sort.each do |water_heater|
|
|
87
87
|
if water_heater.name.to_s.include?('Booster')
|
|
@@ -96,10 +96,10 @@ module PrimarySchool
|
|
|
96
96
|
# swh adjustments specific to the prototype model
|
|
97
97
|
#
|
|
98
98
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
|
99
|
-
# @param building_type [
|
|
99
|
+
# @param building_type [String the building type
|
|
100
100
|
# @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
|
|
101
101
|
# @param prototype_input [Hash] hash of prototype inputs
|
|
102
|
-
# @return [
|
|
102
|
+
# @return [Boolean] returns true if successful, false if not
|
|
103
103
|
def model_custom_swh_tweaks(model, building_type, climate_zone, prototype_input)
|
|
104
104
|
update_waterheater_ambient_parameters(model)
|
|
105
105
|
return true
|
|
@@ -108,10 +108,10 @@ module PrimarySchool
|
|
|
108
108
|
# geometry adjustments specific to the prototype model
|
|
109
109
|
#
|
|
110
110
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
|
111
|
-
# @param building_type [
|
|
111
|
+
# @param building_type [String the building type
|
|
112
112
|
# @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
|
|
113
113
|
# @param prototype_input [Hash] hash of prototype inputs
|
|
114
|
-
# @return [
|
|
114
|
+
# @return [Boolean] returns true if successful, false if not
|
|
115
115
|
def model_custom_geometry_tweaks(model, building_type, climate_zone, prototype_input)
|
|
116
116
|
# Set original building North axis
|
|
117
117
|
model_set_building_north_axis(model, 0.0)
|
|
@@ -125,7 +125,7 @@ module PrimarySchool
|
|
|
125
125
|
#
|
|
126
126
|
# @param air_terminal_single_duct_vav_reheat [OpenStudio::Model::AirTerminalSingleDuctVAVReheat] the air terminal object
|
|
127
127
|
# @param zone_oa_per_area [Double] the zone outdoor air per area in m^3/s*m^2
|
|
128
|
-
# @return [
|
|
128
|
+
# @return [Boolean] returns true if successful, false if not
|
|
129
129
|
def air_terminal_single_duct_vav_reheat_apply_initial_prototype_damper_position(air_terminal_single_duct_vav_reheat, zone_oa_per_area)
|
|
130
130
|
min_damper_position = template == '90.1-2010' || template == '90.1-2013' || template == '90.1-2016' || template == '90.1-2019' ? 0.2 : 0.3
|
|
131
131
|
|
|
@@ -137,7 +137,7 @@ module PrimarySchool
|
|
|
137
137
|
|
|
138
138
|
# Type of SAT reset for this building type
|
|
139
139
|
#
|
|
140
|
-
# @param air_loop_hvac [OpenStudio::
|
|
140
|
+
# @param air_loop_hvac [OpenStudio::Model::AirLoopHVAC] air loop
|
|
141
141
|
# @return [String] Returns type of SAT reset
|
|
142
142
|
def air_loop_hvac_supply_air_temperature_reset_type(air_loop_hvac)
|
|
143
143
|
return 'oa'
|
data/lib/openstudio-standards/prototypes/common/buildings/Prototype.QuickServiceRestaurant.rb
CHANGED
|
@@ -4,10 +4,10 @@ module QuickServiceRestaurant
|
|
|
4
4
|
# hvac adjustments specific to the prototype model
|
|
5
5
|
#
|
|
6
6
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
|
7
|
-
# @param building_type [
|
|
7
|
+
# @param building_type [String the building type
|
|
8
8
|
# @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
|
|
9
9
|
# @param prototype_input [Hash] hash of prototype inputs
|
|
10
|
-
# @return [
|
|
10
|
+
# @return [Boolean] returns true if successful, false if not
|
|
11
11
|
def model_custom_hvac_tweaks(model, building_type, climate_zone, prototype_input)
|
|
12
12
|
OpenStudio.logFree(OpenStudio::Info, 'openstudio.model.Model', 'Started building type specific adjustments')
|
|
13
13
|
|
|
@@ -37,7 +37,7 @@ module QuickServiceRestaurant
|
|
|
37
37
|
#
|
|
38
38
|
# @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
|
|
39
39
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
|
40
|
-
# @return [
|
|
40
|
+
# @return [Boolean] returns true if successful, false if not
|
|
41
41
|
def add_door_infiltration(climate_zone, model)
|
|
42
42
|
# add extra infiltration for dining room door and attic (there is no attic in 'DOE Ref Pre-1980')
|
|
43
43
|
return false if template == 'DOE Ref 1980-2004' || template == 'DOE Ref Pre-1980'
|
|
@@ -114,7 +114,7 @@ module QuickServiceRestaurant
|
|
|
114
114
|
# add extra equipment for kitchen
|
|
115
115
|
#
|
|
116
116
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
|
117
|
-
# @return [
|
|
117
|
+
# @return [Boolean] returns true if successful, false if not
|
|
118
118
|
def add_extra_equip_kitchen(model)
|
|
119
119
|
kitchen_space = model.getSpaceByName('Kitchen')
|
|
120
120
|
kitchen_space = kitchen_space.get
|
|
@@ -167,7 +167,7 @@ module QuickServiceRestaurant
|
|
|
167
167
|
# update zone sizing information
|
|
168
168
|
#
|
|
169
169
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
|
170
|
-
# @return [
|
|
170
|
+
# @return [Boolean] returns true if successful, false if not
|
|
171
171
|
def update_sizing_zone(model)
|
|
172
172
|
case template
|
|
173
173
|
when '90.1-2007', '90.1-2010', '90.1-2013', '90.1-2016', '90.1-2019'
|
|
@@ -192,7 +192,7 @@ module QuickServiceRestaurant
|
|
|
192
192
|
#
|
|
193
193
|
# @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
|
|
194
194
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
|
195
|
-
# @return [
|
|
195
|
+
# @return [Boolean] returns true if successful, false if not
|
|
196
196
|
def adjust_clg_setpoint(climate_zone, model)
|
|
197
197
|
['Dining', 'Kitchen'].each do |space_name|
|
|
198
198
|
space_type_name = model.getSpaceByName(space_name).get.spaceType.get.name.get
|
|
@@ -226,7 +226,7 @@ module QuickServiceRestaurant
|
|
|
226
226
|
# It takes into account the available OSA in dining as transfer air.
|
|
227
227
|
#
|
|
228
228
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
|
229
|
-
# @return [
|
|
229
|
+
# @return [Boolean] returns true if successful, false if not
|
|
230
230
|
def reset_kitchen_oa(model)
|
|
231
231
|
space_kitchen = model.getSpaceByName('Kitchen').get
|
|
232
232
|
ventilation = space_kitchen.designSpecificationOutdoorAir.get
|
|
@@ -244,7 +244,7 @@ module QuickServiceRestaurant
|
|
|
244
244
|
# update exhuast fan efficiency
|
|
245
245
|
#
|
|
246
246
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
|
247
|
-
# @return [
|
|
247
|
+
# @return [Boolean] returns true if successful, false if not
|
|
248
248
|
def model_update_exhaust_fan_efficiency(model)
|
|
249
249
|
case template
|
|
250
250
|
when '90.1-2004', '90.1-2007', '90.1-2010', '90.1-2013', '90.1-2016', '90.1-2019'
|
|
@@ -267,7 +267,7 @@ module QuickServiceRestaurant
|
|
|
267
267
|
# add zone_mixing between kitchen and dining
|
|
268
268
|
#
|
|
269
269
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
|
270
|
-
# @return [
|
|
270
|
+
# @return [Boolean] returns true if successful, false if not
|
|
271
271
|
def add_zone_mixing(model)
|
|
272
272
|
# @todo remove zone mixing objects, transfer air is the should be the same for all stds, exhaust flow varies
|
|
273
273
|
space_kitchen = model.getSpaceByName('Kitchen').get
|
|
@@ -292,10 +292,10 @@ module QuickServiceRestaurant
|
|
|
292
292
|
# swh adjustments specific to the prototype model
|
|
293
293
|
#
|
|
294
294
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
|
295
|
-
# @param building_type [
|
|
295
|
+
# @param building_type [String the building type
|
|
296
296
|
# @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
|
|
297
297
|
# @param prototype_input [Hash] hash of prototype inputs
|
|
298
|
-
# @return [
|
|
298
|
+
# @return [Boolean] returns true if successful, false if not
|
|
299
299
|
def model_custom_swh_tweaks(model, building_type, climate_zone, prototype_input)
|
|
300
300
|
return true
|
|
301
301
|
end
|
|
@@ -303,10 +303,10 @@ module QuickServiceRestaurant
|
|
|
303
303
|
# geometry adjustments specific to the prototype model
|
|
304
304
|
#
|
|
305
305
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
|
306
|
-
# @param building_type [
|
|
306
|
+
# @param building_type [String the building type
|
|
307
307
|
# @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
|
|
308
308
|
# @param prototype_input [Hash] hash of prototype inputs
|
|
309
|
-
# @return [
|
|
309
|
+
# @return [Boolean] returns true if successful, false if not
|
|
310
310
|
def model_custom_geometry_tweaks(model, building_type, climate_zone, prototype_input)
|
|
311
311
|
# Set original building North axis
|
|
312
312
|
model_set_building_north_axis(model, 0.0)
|
|
@@ -10,10 +10,10 @@ module RetailStandalone
|
|
|
10
10
|
# hvac adjustments specific to the prototype model
|
|
11
11
|
#
|
|
12
12
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
|
13
|
-
# @param building_type [
|
|
13
|
+
# @param building_type [String the building type
|
|
14
14
|
# @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
|
|
15
15
|
# @param prototype_input [Hash] hash of prototype inputs
|
|
16
|
-
# @return [
|
|
16
|
+
# @return [Boolean] returns true if successful, false if not
|
|
17
17
|
def model_custom_hvac_tweaks(model, building_type, climate_zone, prototype_input)
|
|
18
18
|
OpenStudio.logFree(OpenStudio::Info, 'openstudio.model.Model', 'Started building type specific adjustments')
|
|
19
19
|
|
|
@@ -119,10 +119,10 @@ module RetailStandalone
|
|
|
119
119
|
# swh adjustments specific to the prototype model
|
|
120
120
|
#
|
|
121
121
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
|
122
|
-
# @param building_type [
|
|
122
|
+
# @param building_type [String the building type
|
|
123
123
|
# @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
|
|
124
124
|
# @param prototype_input [Hash] hash of prototype inputs
|
|
125
|
-
# @return [
|
|
125
|
+
# @return [Boolean] returns true if successful, false if not
|
|
126
126
|
def model_custom_swh_tweaks(model, building_type, climate_zone, prototype_input)
|
|
127
127
|
return true
|
|
128
128
|
end
|
|
@@ -130,10 +130,10 @@ module RetailStandalone
|
|
|
130
130
|
# geometry adjustments specific to the prototype model
|
|
131
131
|
#
|
|
132
132
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
|
133
|
-
# @param building_type [
|
|
133
|
+
# @param building_type [String the building type
|
|
134
134
|
# @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
|
|
135
135
|
# @param prototype_input [Hash] hash of prototype inputs
|
|
136
|
-
# @return [
|
|
136
|
+
# @return [Boolean] returns true if successful, false if not
|
|
137
137
|
def model_custom_geometry_tweaks(model, building_type, climate_zone, prototype_input)
|
|
138
138
|
# Set original building North axis
|
|
139
139
|
model_set_building_north_axis(model, 0.0)
|
|
@@ -4,10 +4,10 @@ module RetailStripmall
|
|
|
4
4
|
# hvac adjustments specific to the prototype model
|
|
5
5
|
#
|
|
6
6
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
|
7
|
-
# @param building_type [
|
|
7
|
+
# @param building_type [String the building type
|
|
8
8
|
# @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
|
|
9
9
|
# @param prototype_input [Hash] hash of prototype inputs
|
|
10
|
-
# @return [
|
|
10
|
+
# @return [Boolean] returns true if successful, false if not
|
|
11
11
|
def model_custom_hvac_tweaks(model, building_type, climate_zone, prototype_input)
|
|
12
12
|
OpenStudio.logFree(OpenStudio::Info, 'openstudio.model.Model', 'Started building type specific adjustments')
|
|
13
13
|
|
|
@@ -88,10 +88,10 @@ module RetailStripmall
|
|
|
88
88
|
# swh adjustments specific to the prototype model
|
|
89
89
|
#
|
|
90
90
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
|
91
|
-
# @param building_type [
|
|
91
|
+
# @param building_type [String the building type
|
|
92
92
|
# @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
|
|
93
93
|
# @param prototype_input [Hash] hash of prototype inputs
|
|
94
|
-
# @return [
|
|
94
|
+
# @return [Boolean] returns true if successful, false if not
|
|
95
95
|
def model_custom_swh_tweaks(model, building_type, climate_zone, prototype_input)
|
|
96
96
|
return true
|
|
97
97
|
end
|
|
@@ -99,10 +99,10 @@ module RetailStripmall
|
|
|
99
99
|
# geometry adjustments specific to the prototype model
|
|
100
100
|
#
|
|
101
101
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
|
102
|
-
# @param building_type [
|
|
102
|
+
# @param building_type [String the building type
|
|
103
103
|
# @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
|
|
104
104
|
# @param prototype_input [Hash] hash of prototype inputs
|
|
105
|
-
# @return [
|
|
105
|
+
# @return [Boolean] returns true if successful, false if not
|
|
106
106
|
def model_custom_geometry_tweaks(model, building_type, climate_zone, prototype_input)
|
|
107
107
|
# Set original building North axis
|
|
108
108
|
model_set_building_north_axis(model, 0.0)
|