openstudio-standards 0.4.0 → 0.5.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- 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 SecondarySchool
|
|
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
|
|
@@ -75,7 +75,7 @@ module SecondarySchool
|
|
75
75
|
# add extra equipment for kitchen
|
76
76
|
#
|
77
77
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
78
|
-
# @return [
|
78
|
+
# @return [Boolean] returns true if successful, false if not
|
79
79
|
def add_extra_equip_kitchen(model)
|
80
80
|
kitchen_space = model.getSpaceByName('Kitchen_ZN_1_FLR_1')
|
81
81
|
kitchen_space = kitchen_space.get
|
@@ -118,7 +118,7 @@ module SecondarySchool
|
|
118
118
|
# update water heater ambient conditions
|
119
119
|
#
|
120
120
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
121
|
-
# @return [
|
121
|
+
# @return [Boolean] returns true if successful, false if not
|
122
122
|
def update_waterheater_ambient_parameters(model)
|
123
123
|
model.getWaterHeaterMixeds.sort.each do |water_heater|
|
124
124
|
if water_heater.name.to_s.include?('Booster')
|
@@ -133,10 +133,10 @@ module SecondarySchool
|
|
133
133
|
# swh adjustments specific to the prototype model
|
134
134
|
#
|
135
135
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
136
|
-
# @param building_type [
|
136
|
+
# @param building_type [String the building type
|
137
137
|
# @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
|
138
138
|
# @param prototype_input [Hash] hash of prototype inputs
|
139
|
-
# @return [
|
139
|
+
# @return [Boolean] returns true if successful, false if not
|
140
140
|
def model_custom_swh_tweaks(model, building_type, climate_zone, prototype_input)
|
141
141
|
update_waterheater_ambient_parameters(model)
|
142
142
|
|
@@ -150,10 +150,10 @@ module SecondarySchool
|
|
150
150
|
# geometry adjustments specific to the prototype model
|
151
151
|
#
|
152
152
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
153
|
-
# @param building_type [
|
153
|
+
# @param building_type [String the building type
|
154
154
|
# @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
|
155
155
|
# @param prototype_input [Hash] hash of prototype inputs
|
156
|
-
# @return [
|
156
|
+
# @return [Boolean] returns true if successful, false if not
|
157
157
|
def model_custom_geometry_tweaks(model, building_type, climate_zone, prototype_input)
|
158
158
|
# Set original building North axis
|
159
159
|
model_set_building_north_axis(model, 0.0)
|
@@ -167,7 +167,7 @@ module SecondarySchool
|
|
167
167
|
#
|
168
168
|
# @param air_terminal_single_duct_vav_reheat [OpenStudio::Model::AirTerminalSingleDuctVAVReheat] the air terminal object
|
169
169
|
# @param zone_oa_per_area [Double] the zone outdoor air per area in m^3/s*m^2
|
170
|
-
# @return [
|
170
|
+
# @return [Boolean] returns true if successful, false if not
|
171
171
|
def air_terminal_single_duct_vav_reheat_apply_initial_prototype_damper_position(air_terminal_single_duct_vav_reheat, zone_oa_per_area)
|
172
172
|
min_damper_position = template == '90.1-2010' || template == '90.1-2013' || template == '90.1-2016' || template == '90.1-2019' ? 0.2 : 0.3
|
173
173
|
|
data/lib/openstudio-standards/prototypes/common/buildings/Prototype.SmallDataCenterHighITE.rb
CHANGED
@@ -4,10 +4,10 @@ module SmallDataCenterHighITE
|
|
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
|
|
@@ -27,7 +27,7 @@ module SmallDataCenterHighITE
|
|
27
27
|
# Normal electric equipment has been added in model_add_load prior to this will replace with ITE object here
|
28
28
|
#
|
29
29
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
30
|
-
# @return [
|
30
|
+
# @return [Boolean] returns true if successful, false if not
|
31
31
|
def add_data_center_load(model)
|
32
32
|
model.getSpaceTypes.each do |space_type|
|
33
33
|
# Get the standards data
|
@@ -76,7 +76,7 @@ module SmallDataCenterHighITE
|
|
76
76
|
# modify CRAC supply air setpoint manager
|
77
77
|
#
|
78
78
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
79
|
-
# @return [
|
79
|
+
# @return [Boolean] returns true if successful, false if not
|
80
80
|
def modify_crac_sa_stpt_manager(model)
|
81
81
|
supply_temp_sch = get_crac_supply_temp_sch(model)
|
82
82
|
model.getSetpointManagerScheduleds.each do |stpt_manager|
|
@@ -134,10 +134,10 @@ module SmallDataCenterHighITE
|
|
134
134
|
# swh adjustments specific to the prototype model
|
135
135
|
#
|
136
136
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
137
|
-
# @param building_type [
|
137
|
+
# @param building_type [String the building type
|
138
138
|
# @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
|
139
139
|
# @param prototype_input [Hash] hash of prototype inputs
|
140
|
-
# @return [
|
140
|
+
# @return [Boolean] returns true if successful, false if not
|
141
141
|
def model_custom_swh_tweaks(model, building_type, climate_zone, prototype_input)
|
142
142
|
return true
|
143
143
|
end
|
@@ -145,10 +145,10 @@ module SmallDataCenterHighITE
|
|
145
145
|
# geometry adjustments specific to the prototype model
|
146
146
|
#
|
147
147
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
148
|
-
# @param building_type [
|
148
|
+
# @param building_type [String the building type
|
149
149
|
# @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
|
150
150
|
# @param prototype_input [Hash] hash of prototype inputs
|
151
|
-
# @return [
|
151
|
+
# @return [Boolean] returns true if successful, false if not
|
152
152
|
def model_custom_geometry_tweaks(model, building_type, climate_zone, prototype_input)
|
153
153
|
return true
|
154
154
|
end
|
data/lib/openstudio-standards/prototypes/common/buildings/Prototype.SmallDataCenterLowITE.rb
CHANGED
@@ -4,10 +4,10 @@ module SmallDataCenterLowITE
|
|
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
|
|
@@ -27,7 +27,7 @@ module SmallDataCenterLowITE
|
|
27
27
|
# Normal electric equipment has been added in model_add_load prior to this will replace with ITE object here
|
28
28
|
#
|
29
29
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
30
|
-
# @return [
|
30
|
+
# @return [Boolean] returns true if successful, false if not
|
31
31
|
def add_data_center_load(model)
|
32
32
|
model.getSpaceTypes.each do |space_type|
|
33
33
|
# Get the standards data
|
@@ -75,7 +75,7 @@ module SmallDataCenterLowITE
|
|
75
75
|
# modify CRAC supply air setpoint manager
|
76
76
|
#
|
77
77
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
78
|
-
# @return [
|
78
|
+
# @return [Boolean] returns true if successful, false if not
|
79
79
|
def modify_crac_sa_stpt_manager(model)
|
80
80
|
supply_temp_sch = get_crac_supply_temp_sch(model)
|
81
81
|
model.getSetpointManagerScheduleds.each do |stpt_manager|
|
@@ -133,10 +133,10 @@ module SmallDataCenterLowITE
|
|
133
133
|
# swh adjustments specific to the prototype model
|
134
134
|
#
|
135
135
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
136
|
-
# @param building_type [
|
136
|
+
# @param building_type [String the building type
|
137
137
|
# @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
|
138
138
|
# @param prototype_input [Hash] hash of prototype inputs
|
139
|
-
# @return [
|
139
|
+
# @return [Boolean] returns true if successful, false if not
|
140
140
|
def model_custom_swh_tweaks(model, building_type, climate_zone, prototype_input)
|
141
141
|
return true
|
142
142
|
end
|
@@ -144,10 +144,10 @@ module SmallDataCenterLowITE
|
|
144
144
|
# geometry adjustments specific to the prototype model
|
145
145
|
#
|
146
146
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
147
|
-
# @param building_type [
|
147
|
+
# @param building_type [String the building type
|
148
148
|
# @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
|
149
149
|
# @param prototype_input [Hash] hash of prototype inputs
|
150
|
-
# @return [
|
150
|
+
# @return [Boolean] returns true if successful, false if not
|
151
151
|
def model_custom_geometry_tweaks(model, building_type, climate_zone, prototype_input)
|
152
152
|
return true
|
153
153
|
end
|
@@ -4,10 +4,10 @@ module SmallHotel
|
|
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
|
|
@@ -70,7 +70,7 @@ module SmallHotel
|
|
70
70
|
# add this for elevator lights/fans (elevator lift is implemented through standard lookup)
|
71
71
|
#
|
72
72
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
73
|
-
# @return [
|
73
|
+
# @return [Boolean] returns true if successful, false if not
|
74
74
|
def add_extra_equip_elevator_coreflr1(model)
|
75
75
|
elevator_coreflr1 = model.getSpaceByName('ElevatorCoreFlr1').get
|
76
76
|
elec_equip_def = OpenStudio::Model::ElectricEquipmentDefinition.new(model)
|
@@ -112,7 +112,7 @@ module SmallHotel
|
|
112
112
|
# update water heater ambient conditions
|
113
113
|
#
|
114
114
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
115
|
-
# @return [
|
115
|
+
# @return [Boolean] returns true if successful, false if not
|
116
116
|
def update_waterheater_ambient_parameters(model)
|
117
117
|
model.getWaterHeaterMixeds.sort.each do |water_heater|
|
118
118
|
if water_heater.name.to_s.include?('200gal')
|
@@ -127,10 +127,10 @@ module SmallHotel
|
|
127
127
|
# swh adjustments specific to the prototype model
|
128
128
|
#
|
129
129
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
130
|
-
# @param building_type [
|
130
|
+
# @param building_type [String the building type
|
131
131
|
# @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
|
132
132
|
# @param prototype_input [Hash] hash of prototype inputs
|
133
|
-
# @return [
|
133
|
+
# @return [Boolean] returns true if successful, false if not
|
134
134
|
def model_custom_swh_tweaks(model, building_type, climate_zone, prototype_input)
|
135
135
|
update_waterheater_ambient_parameters(model)
|
136
136
|
return true
|
@@ -139,10 +139,10 @@ module SmallHotel
|
|
139
139
|
# geometry adjustments specific to the prototype model
|
140
140
|
#
|
141
141
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
142
|
-
# @param building_type [
|
142
|
+
# @param building_type [String the building type
|
143
143
|
# @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
|
144
144
|
# @param prototype_input [Hash] hash of prototype inputs
|
145
|
-
# @return [
|
145
|
+
# @return [Boolean] returns true if successful, false if not
|
146
146
|
def model_custom_geometry_tweaks(model, building_type, climate_zone, prototype_input)
|
147
147
|
# Set original building North axis
|
148
148
|
model_set_building_north_axis(model, 90.0)
|
@@ -4,10 +4,10 @@ module SmallOffice
|
|
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
|
# add extra infiltration for entry door
|
13
13
|
add_door_infiltration(climate_zone, model)
|
@@ -27,7 +27,7 @@ module SmallOffice
|
|
27
27
|
#
|
28
28
|
# @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
|
29
29
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
30
|
-
# @return [
|
30
|
+
# @return [Boolean] returns true if successful, false if not
|
31
31
|
def add_door_infiltration(climate_zone, model)
|
32
32
|
# add extra infiltration for entry door in m3/s (there is no attic in 'DOE Ref Pre-1980')
|
33
33
|
return false if template == 'DOE Ref 1980-2004' || template == 'DOE Ref Pre-1980'
|
@@ -74,7 +74,7 @@ module SmallOffice
|
|
74
74
|
# @param template [String] the model template
|
75
75
|
# @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
|
76
76
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
77
|
-
# @return [
|
77
|
+
# @return [Boolean] returns true if successful, false if not
|
78
78
|
def add_attic_infiltration(template, climate_zone, model)
|
79
79
|
# add extra infiltration for attic in m3/s (there is no attic in 'DOE Ref Pre-1980')
|
80
80
|
return false if template == 'DOE Ref 1980-2004' || template == 'DOE Ref Pre-1980'
|
@@ -100,10 +100,10 @@ module SmallOffice
|
|
100
100
|
# swh adjustments specific to the prototype model
|
101
101
|
#
|
102
102
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
103
|
-
# @param building_type [
|
103
|
+
# @param building_type [String the building type
|
104
104
|
# @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
|
105
105
|
# @param prototype_input [Hash] hash of prototype inputs
|
106
|
-
# @return [
|
106
|
+
# @return [Boolean] returns true if successful, false if not
|
107
107
|
def model_custom_swh_tweaks(model, building_type, climate_zone, prototype_input)
|
108
108
|
return true
|
109
109
|
end
|
@@ -111,10 +111,10 @@ module SmallOffice
|
|
111
111
|
# geometry adjustments specific to the prototype model
|
112
112
|
#
|
113
113
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
114
|
-
# @param building_type [
|
114
|
+
# @param building_type [String the building type
|
115
115
|
# @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
|
116
116
|
# @param prototype_input [Hash] hash of prototype inputs
|
117
|
-
# @return [
|
117
|
+
# @return [Boolean] returns true if successful, false if not
|
118
118
|
def model_custom_geometry_tweaks(model, building_type, climate_zone, prototype_input)
|
119
119
|
# Set original building North axis
|
120
120
|
model_set_building_north_axis(model, 0.0)
|
@@ -4,10 +4,10 @@ module SmallOfficeDetailed
|
|
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
|
# add extra infiltration for entry door
|
13
13
|
add_door_infiltration(climate_zone, model)
|
@@ -27,7 +27,7 @@ module SmallOfficeDetailed
|
|
27
27
|
#
|
28
28
|
# @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
|
29
29
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
30
|
-
# @return [
|
30
|
+
# @return [Boolean] returns true if successful, false if not
|
31
31
|
def add_door_infiltration(climate_zone, model)
|
32
32
|
# add extra infiltration for entry door in m3/s (there is no attic in 'DOE Ref Pre-1980')
|
33
33
|
return false if template == 'DOE Ref 1980-2004' || template == 'DOE Ref Pre-1980'
|
@@ -63,7 +63,7 @@ module SmallOfficeDetailed
|
|
63
63
|
# @param template [String] the model template
|
64
64
|
# @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
|
65
65
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
66
|
-
# @return [
|
66
|
+
# @return [Boolean] returns true if successful, false if not
|
67
67
|
def add_attic_infiltration(template, climate_zone, model)
|
68
68
|
# add extra infiltration for attic in m3/s (there is no attic in 'DOE Ref Pre-1980')
|
69
69
|
return false if template == 'DOE Ref 1980-2004' || template == 'DOE Ref Pre-1980'
|
@@ -85,10 +85,10 @@ module SmallOfficeDetailed
|
|
85
85
|
# # daylighting adjustments specific to the prototype model
|
86
86
|
# #
|
87
87
|
# # @param model [OpenStudio::Model::Model] OpenStudio model object
|
88
|
-
# # @param building_type [
|
88
|
+
# # @param building_type [String the building type
|
89
89
|
# # @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
|
90
90
|
# # @param prototype_input [Hash] hash of prototype inputs
|
91
|
-
# # @return [
|
91
|
+
# # @return [Boolean] returns true if successful, false if not
|
92
92
|
# def model_custom_daylighting_tweaks(model, building_type, climate_zone, prototype_input)
|
93
93
|
# OpenStudio.logFree(OpenStudio::Info, 'openstudio.model.Model', 'Adjusting daylight sensor positions and fractions')
|
94
94
|
#
|
@@ -147,7 +147,7 @@ module SmallOfficeDetailed
|
|
147
147
|
# update water heater loss coefficient
|
148
148
|
#
|
149
149
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
150
|
-
# @return [
|
150
|
+
# @return [Boolean] returns true if successful, false if not
|
151
151
|
def update_waterheater_loss_coefficient(model)
|
152
152
|
case template
|
153
153
|
when '90.1-2004', '90.1-2007', '90.1-2010', '90.1-2013', '90.1-2016', '90.1-2019', 'NECB2011'
|
@@ -162,10 +162,10 @@ module SmallOfficeDetailed
|
|
162
162
|
# swh adjustments specific to the prototype model
|
163
163
|
#
|
164
164
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
165
|
-
# @param building_type [
|
165
|
+
# @param building_type [String the building type
|
166
166
|
# @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
|
167
167
|
# @param prototype_input [Hash] hash of prototype inputs
|
168
|
-
# @return [
|
168
|
+
# @return [Boolean] returns true if successful, false if not
|
169
169
|
def model_custom_swh_tweaks(model, building_type, climate_zone, prototype_input)
|
170
170
|
update_waterheater_loss_coefficient(model)
|
171
171
|
|
@@ -175,10 +175,10 @@ module SmallOfficeDetailed
|
|
175
175
|
# geometry adjustments specific to the prototype model
|
176
176
|
#
|
177
177
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
178
|
-
# @param building_type [
|
178
|
+
# @param building_type [String the building type
|
179
179
|
# @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
|
180
180
|
# @param prototype_input [Hash] hash of prototype inputs
|
181
|
-
# @return [
|
181
|
+
# @return [Boolean] returns true if successful, false if not
|
182
182
|
def model_custom_geometry_tweaks(model, building_type, climate_zone, prototype_input)
|
183
183
|
# Set original building North axis
|
184
184
|
model_set_building_north_axis(model, 0.0)
|
@@ -4,10 +4,10 @@ module SuperMarket
|
|
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
|
|
@@ -25,7 +25,7 @@ module SuperMarket
|
|
25
25
|
# define additional kitchen loads based on AEDG baseline model
|
26
26
|
#
|
27
27
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
28
|
-
# @return [
|
28
|
+
# @return [Boolean] returns true if successful, false if not
|
29
29
|
def add_extra_equip_kitchen(model)
|
30
30
|
space_names = ['Deli', 'Bakery']
|
31
31
|
space_names.each do |space_name|
|
@@ -49,7 +49,7 @@ module SuperMarket
|
|
49
49
|
# add humidistat to all spaces
|
50
50
|
#
|
51
51
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
52
|
-
# @return [
|
52
|
+
# @return [Boolean] returns true if successful, false if not
|
53
53
|
def add_humidistat(model)
|
54
54
|
space_names = ['Main Sales', 'Produce', 'West Perimeter Sales', 'East Perimeter Sales', 'Deli', 'Bakery',
|
55
55
|
'Enclosed Office', 'Meeting Room', 'Dining Room', 'Restroom', 'Mechanical Room', 'Corridor', 'Vestibule', 'Active Storage']
|
@@ -67,7 +67,7 @@ module SuperMarket
|
|
67
67
|
# update exhuast fan efficiency
|
68
68
|
#
|
69
69
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
70
|
-
# @return [
|
70
|
+
# @return [Boolean] returns true if successful, false if not
|
71
71
|
def model_update_exhaust_fan_efficiency(model)
|
72
72
|
model.getFanZoneExhausts.sort.each do |exhaust_fan|
|
73
73
|
exhaust_fan.setFanEfficiency(0.45)
|
@@ -79,7 +79,7 @@ module SuperMarket
|
|
79
79
|
# update water heater loss coefficient
|
80
80
|
#
|
81
81
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
82
|
-
# @return [
|
82
|
+
# @return [Boolean] returns true if successful, false if not
|
83
83
|
def update_waterheater_loss_coefficient(model)
|
84
84
|
case template
|
85
85
|
when '90.1-2004', '90.1-2007', '90.1-2010', '90.1-2013', '90.1-2016', '90.1-2019', 'NECB2011'
|
@@ -94,10 +94,10 @@ module SuperMarket
|
|
94
94
|
# swh adjustments specific to the prototype model
|
95
95
|
#
|
96
96
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
97
|
-
# @param building_type [
|
97
|
+
# @param building_type [String the building type
|
98
98
|
# @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
|
99
99
|
# @param prototype_input [Hash] hash of prototype inputs
|
100
|
-
# @return [
|
100
|
+
# @return [Boolean] returns true if successful, false if not
|
101
101
|
def model_custom_swh_tweaks(model, building_type, climate_zone, prototype_input)
|
102
102
|
update_waterheater_loss_coefficient(model)
|
103
103
|
|
@@ -107,10 +107,10 @@ module SuperMarket
|
|
107
107
|
# geometry adjustments specific to the prototype model
|
108
108
|
#
|
109
109
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
110
|
-
# @param building_type [
|
110
|
+
# @param building_type [String the building type
|
111
111
|
# @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
|
112
112
|
# @param prototype_input [Hash] hash of prototype inputs
|
113
|
-
# @return [
|
113
|
+
# @return [Boolean] returns true if successful, false if not
|
114
114
|
def model_custom_geometry_tweaks(model, building_type, climate_zone, prototype_input)
|
115
115
|
return true
|
116
116
|
end
|
@@ -4,10 +4,10 @@ module SuperTallBuilding
|
|
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
|
|
@@ -50,7 +50,7 @@ module SuperTallBuilding
|
|
50
50
|
#
|
51
51
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
52
52
|
# @param additional_params [Hash] hash of additional parameters
|
53
|
-
# @return [
|
53
|
+
# @return [Boolean] returns true if successful, false if not
|
54
54
|
def add_elevator_system_loads(model, additional_params)
|
55
55
|
# get the elevator machine room space from the model
|
56
56
|
if model.getSpaceTypeByName('Elevator Machine Room').empty?
|
@@ -106,7 +106,7 @@ module SuperTallBuilding
|
|
106
106
|
# @param fan_light_power_per_elev [Double] elevator fan power in watts
|
107
107
|
# @param elev_power_sch_name [String] schedule to use for the elevator motor
|
108
108
|
# @param elev_fan_light_sch_name [String] schedule to use for the elevator fan
|
109
|
-
# @return [
|
109
|
+
# @return [Boolean] returns true if successful, false if not
|
110
110
|
def add_elevator_equip(model, space, num_of_elev, function_type, motor_power_per_elev, fan_light_power_per_elev,
|
111
111
|
elev_power_sch_name, elev_fan_light_sch_name)
|
112
112
|
motor_equip_frac_loss = 0.85
|
@@ -146,7 +146,7 @@ module SuperTallBuilding
|
|
146
146
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
147
147
|
# @param prototype_input [Hash] hash of prototype inputs
|
148
148
|
# @param additional_params [Hash] hash of additional parameters
|
149
|
-
# @return [
|
149
|
+
# @return [Boolean] returns true if successful, false if not
|
150
150
|
def add_swh_tall_bldg(model, prototype_input, additional_params)
|
151
151
|
# get all building stories and rank based on Z-origin
|
152
152
|
story_info = {}
|
@@ -293,7 +293,7 @@ module SuperTallBuilding
|
|
293
293
|
# update the infiltration coefficients of super tall buildings based on Lisa Ng's research (from NIST)
|
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 update_infil_coeff(model)
|
298
298
|
# System On | System Off
|
299
299
|
# A: -0.019024771 | 0
|
@@ -361,7 +361,7 @@ module SuperTallBuilding
|
|
361
361
|
# current method is using the E+ default variation trend by specifying the height of outdoor air nodes
|
362
362
|
#
|
363
363
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
364
|
-
# @return [
|
364
|
+
# @return [Boolean] returns true if successful, false if not
|
365
365
|
def apply_vertical_weather_variation(model)
|
366
366
|
# @todo OA node height is not implemented OpenStudio yet.
|
367
367
|
# @todo Temporary fix to be done via adding EnergyPlus measure.
|
@@ -377,7 +377,7 @@ module SuperTallBuilding
|
|
377
377
|
# HighriseApartment doesn't apply thermostat to corridor spaces
|
378
378
|
#
|
379
379
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
380
|
-
# @return [
|
380
|
+
# @return [Boolean] returns true if successful, false if not
|
381
381
|
def add_thermostat_to_corridor(model)
|
382
382
|
thermostat = OpenStudio::Model::ThermostatSetpointDualSetpoint.new(model)
|
383
383
|
thermostat.setName('HighriseApartment Corridor Thermostat')
|
@@ -400,10 +400,10 @@ module SuperTallBuilding
|
|
400
400
|
# swh adjustments specific to the prototype model
|
401
401
|
#
|
402
402
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
403
|
-
# @param building_type [
|
403
|
+
# @param building_type [String the building type
|
404
404
|
# @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
|
405
405
|
# @param prototype_input [Hash] hash of prototype inputs
|
406
|
-
# @return [
|
406
|
+
# @return [Boolean] returns true if successful, false if not
|
407
407
|
def model_custom_swh_tweaks(model, building_type, climate_zone, prototype_input)
|
408
408
|
# customized swh system is not added here, but in model_custom_hvac_tweaks instead
|
409
409
|
# because model_custom_swh_tweaks is performed in Prototype.Model after efficiency assignment. If swh added here, efficiency can't be updated.
|
@@ -414,10 +414,10 @@ module SuperTallBuilding
|
|
414
414
|
# geometry adjustments specific to the prototype model
|
415
415
|
#
|
416
416
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
417
|
-
# @param building_type [
|
417
|
+
# @param building_type [String the building type
|
418
418
|
# @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
|
419
419
|
# @param prototype_input [Hash] hash of prototype inputs
|
420
|
-
# @return [
|
420
|
+
# @return [Boolean] returns true if successful, false if not
|
421
421
|
def model_custom_geometry_tweaks(model, building_type, climate_zone, prototype_input)
|
422
422
|
# @todo make additional parameters mutable by the user
|
423
423
|
# the number of floors for each function type is defined in additional_params
|
@@ -1048,9 +1048,9 @@ module SuperTallBuilding
|
|
1048
1048
|
# adjust space boundary conditions to adiabatic
|
1049
1049
|
#
|
1050
1050
|
# @param space [OpenStudio::Model::Space] OpenStudio space object
|
1051
|
-
# @param if_top_story_floor_adiabatic [
|
1052
|
-
# @param if_ground_story_plenum_adiabatic [
|
1053
|
-
# @return [
|
1051
|
+
# @param if_top_story_floor_adiabatic [Boolean] flag if top floor is adiabatic
|
1052
|
+
# @param if_ground_story_plenum_adiabatic [Boolean] flag if ground story plenum is adiabatic
|
1053
|
+
# @return [Boolean] returns true if successful, false if not
|
1054
1054
|
def update_space_outside_boundary_to_adiabatic(space, if_top_story_floor_adiabatic: false, if_ground_story_plenum_adiabatic: false)
|
1055
1055
|
if (space.name.to_s.include? 'Plenum') && !if_top_story_floor_adiabatic
|
1056
1056
|
space.surfaces.each do |surface|
|
@@ -1092,9 +1092,9 @@ module SuperTallBuilding
|
|
1092
1092
|
# @param f_to_c_height [Double] floor to ceiling height in meters
|
1093
1093
|
# @param f_to_f_height [Double] floor to floor height in meters
|
1094
1094
|
# @param current_story [OpenStudio::Model::BuildingStory] OpenStudio building story object
|
1095
|
-
# @param if_top_story_floor_adiabatic [
|
1096
|
-
# @param if_ground_story_plenum_adiabatic [
|
1097
|
-
# @return [
|
1095
|
+
# @param if_top_story_floor_adiabatic [Boolean] flag if top floor is adiabatic
|
1096
|
+
# @param if_ground_story_plenum_adiabatic [Boolean] flag if ground story plenum is adiabatic
|
1097
|
+
# @return [Boolean] returns true if successful, false if not
|
1098
1098
|
def deep_copy_story(model, original_story, multiplier, new_z_origin, f_to_c_height, f_to_f_height, current_story, if_top_story_floor_adiabatic: false, if_ground_story_plenum_adiabatic: false)
|
1099
1099
|
# clone the story
|
1100
1100
|
new_story = original_story.clone(model).to_BuildingStory.get
|
@@ -1146,7 +1146,7 @@ module SuperTallBuilding
|
|
1146
1146
|
#
|
1147
1147
|
# @param model [OpenStudio::Model::Model] OpenStudio model object
|
1148
1148
|
# building_height [Double] building height in meters
|
1149
|
-
# @return [
|
1149
|
+
# @return [Boolean] returns true if successful, false if not
|
1150
1150
|
def add_skylobby_story(model, building_height)
|
1151
1151
|
# locate the skylobby story (find the most middle story bottom, add skylobby below it)
|
1152
1152
|
# rank the stories from low to high (not including the elevator machine room, which hasn't assign the nominal Z coordinate)
|