| 868 | } |
| 869 | |
| 870 | Loop addSystemType10(Model& model) { |
| 871 | Model tempModel; |
| 872 | Schedule _alwaysOnSchedule = model.alwaysOnDiscreteSchedule(); |
| 873 | |
| 874 | AirLoopHVAC airLoopHVAC = AirLoopHVAC(model); |
| 875 | airLoopHVAC.setName("Electric Furnace"); |
| 876 | // when an airloophvac is contructed, its constructor automatically creates a sizing:system object |
| 877 | // the default sizing:system contstructor makes a system:sizing object appropriate for a multizone VAV system |
| 878 | // this systems is a constant volume system with no VAV terminals, and needs different default settings |
| 879 | |
| 880 | // get the sizing:system object associated with the airloophvac |
| 881 | SizingSystem sizingSystem = airLoopHVAC.sizingSystem(); |
| 882 | |
| 883 | //set the default parameters correctly for a constant volume system with no VAV terminals |
| 884 | sizingSystem.setTypeofLoadtoSizeOn("Sensible"); |
| 885 | sizingSystem.autosizeDesignOutdoorAirFlowRate(); |
| 886 | sizingSystem.setCentralHeatingMaximumSystemAirFlowRatio(1.0); |
| 887 | sizingSystem.setPreheatDesignTemperature(7.0); |
| 888 | sizingSystem.setPreheatDesignHumidityRatio(0.008); |
| 889 | sizingSystem.setPrecoolDesignTemperature(12.8); |
| 890 | sizingSystem.setPrecoolDesignHumidityRatio(0.008); |
| 891 | sizingSystem.setCentralCoolingDesignSupplyAirTemperature(12.8); |
| 892 | sizingSystem.setCentralHeatingDesignSupplyAirTemperature(40.0); |
| 893 | sizingSystem.setSizingOption("NonCoincident"); |
| 894 | sizingSystem.setAllOutdoorAirinCooling(false); |
| 895 | sizingSystem.setAllOutdoorAirinHeating(false); |
| 896 | sizingSystem.setCentralCoolingDesignSupplyAirHumidityRatio(0.0085); |
| 897 | sizingSystem.setCentralHeatingDesignSupplyAirHumidityRatio(0.0080); |
| 898 | sizingSystem.setCoolingDesignAirFlowMethod("DesignDay"); |
| 899 | sizingSystem.setCoolingDesignAirFlowRate(0.0); |
| 900 | sizingSystem.setHeatingDesignAirFlowMethod("DesignDay"); |
| 901 | sizingSystem.setHeatingDesignAirFlowRate(0.0); |
| 902 | sizingSystem.setSystemOutdoorAirMethod("ZoneSum"); |
| 903 | |
| 904 | FanConstantVolume fan = FanConstantVolume(model); |
| 905 | fan.setPressureRise(500); |
| 906 | |
| 907 | CoilHeatingElectric coilHeatingElectric = CoilHeatingElectric(model); |
| 908 | |
| 909 | SetpointManagerSingleZoneReheat setpointMSZR(model); |
| 910 | |
| 911 | ControllerOutdoorAir controllerOutdoorAir = ControllerOutdoorAir(model); |
| 912 | |
| 913 | AirLoopHVACOutdoorAirSystem outdoorAirSystem = AirLoopHVACOutdoorAirSystem(model, controllerOutdoorAir); |
| 914 | |
| 915 | Node supplyOutletNode = airLoopHVAC.supplyOutletNode(); |
| 916 | |
| 917 | outdoorAirSystem.addToNode(supplyOutletNode); |
| 918 | coilHeatingElectric.addToNode(supplyOutletNode); |
| 919 | fan.addToNode(supplyOutletNode); |
| 920 | |
| 921 | Node node1 = fan.outletModelObject()->cast<Node>(); |
| 922 | setpointMSZR.addToNode(node1); |
| 923 | |
| 924 | AirTerminalSingleDuctConstantVolumeNoReheat terminal(model, _alwaysOnSchedule); |
| 925 | |
| 926 | airLoopHVAC.addBranchForHVACComponent(terminal); |
| 927 |
nothing calls this directly
no test coverage detected