| 807 | } |
| 808 | |
| 809 | Loop addSystemType9(Model& model) { |
| 810 | Model tempModel; |
| 811 | Schedule _alwaysOnSchedule = model.alwaysOnDiscreteSchedule(); |
| 812 | |
| 813 | AirLoopHVAC airLoopHVAC = AirLoopHVAC(model); |
| 814 | airLoopHVAC.setName("Gas Fired Furnace"); |
| 815 | // when an airloophvac is contructed, its constructor automatically creates a sizing:system object |
| 816 | // the default sizing:system contstructor makes a system:sizing object appropriate for a multizone VAV system |
| 817 | // this systems is a constant volume system with no VAV terminals, and needs different default settings |
| 818 | |
| 819 | // get the sizing:system object associated with the airloophvac |
| 820 | SizingSystem sizingSystem = airLoopHVAC.sizingSystem(); |
| 821 | |
| 822 | //set the default parameters correctly for a constant volume system with no VAV terminals |
| 823 | sizingSystem.setTypeofLoadtoSizeOn("Sensible"); |
| 824 | sizingSystem.autosizeDesignOutdoorAirFlowRate(); |
| 825 | sizingSystem.setCentralHeatingMaximumSystemAirFlowRatio(1.0); |
| 826 | sizingSystem.setPreheatDesignTemperature(7.0); |
| 827 | sizingSystem.setPreheatDesignHumidityRatio(0.008); |
| 828 | sizingSystem.setPrecoolDesignTemperature(12.8); |
| 829 | sizingSystem.setPrecoolDesignHumidityRatio(0.008); |
| 830 | sizingSystem.setCentralCoolingDesignSupplyAirTemperature(12.8); |
| 831 | sizingSystem.setCentralHeatingDesignSupplyAirTemperature(40.0); |
| 832 | sizingSystem.setSizingOption("NonCoincident"); |
| 833 | sizingSystem.setAllOutdoorAirinCooling(false); |
| 834 | sizingSystem.setAllOutdoorAirinHeating(false); |
| 835 | sizingSystem.setCentralCoolingDesignSupplyAirHumidityRatio(0.0085); |
| 836 | sizingSystem.setCentralHeatingDesignSupplyAirHumidityRatio(0.0080); |
| 837 | sizingSystem.setCoolingDesignAirFlowMethod("DesignDay"); |
| 838 | sizingSystem.setCoolingDesignAirFlowRate(0.0); |
| 839 | sizingSystem.setHeatingDesignAirFlowMethod("DesignDay"); |
| 840 | sizingSystem.setHeatingDesignAirFlowRate(0.0); |
| 841 | sizingSystem.setSystemOutdoorAirMethod("ZoneSum"); |
| 842 | |
| 843 | FanConstantVolume fan = FanConstantVolume(model); |
| 844 | fan.setPressureRise(500); |
| 845 | |
| 846 | CoilHeatingGas coilHeatingGas = CoilHeatingGas(model, _alwaysOnSchedule); |
| 847 | |
| 848 | SetpointManagerSingleZoneReheat setpointMSZR(model); |
| 849 | |
| 850 | ControllerOutdoorAir controllerOutdoorAir = ControllerOutdoorAir(model); |
| 851 | |
| 852 | AirLoopHVACOutdoorAirSystem outdoorAirSystem = AirLoopHVACOutdoorAirSystem(model, controllerOutdoorAir); |
| 853 | |
| 854 | Node supplyOutletNode = airLoopHVAC.supplyOutletNode(); |
| 855 | |
| 856 | outdoorAirSystem.addToNode(supplyOutletNode); |
| 857 | coilHeatingGas.addToNode(supplyOutletNode); |
| 858 | fan.addToNode(supplyOutletNode); |
| 859 | |
| 860 | Node node1 = fan.outletModelObject()->cast<Node>(); |
| 861 | setpointMSZR.addToNode(node1); |
| 862 | |
| 863 | AirTerminalSingleDuctConstantVolumeNoReheat terminal(model, _alwaysOnSchedule); |
| 864 | |
| 865 | airLoopHVAC.addBranchForHVACComponent(terminal); |
| 866 |
nothing calls this directly
no test coverage detected