MCPcopy Create free account
hub / github.com/NatLabRockies/OpenStudio / addToNode

Method addToNode

src/model/FanVariableVolume.cpp:404–418  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

402 }
403
404 bool FanVariableVolume_Impl::addToNode(Node& node) {
405 auto oaSystem = node.airLoopHVACOutdoorAirSystem();
406 auto airLoop = node.airLoopHVAC();
407
408 if ((airLoop && airLoop->supplyComponent(node.handle())) || (oaSystem && oaSystem->component(node.handle()))) {
409 if (StraightComponent_Impl::addToNode(node)) {
410 if (airLoop) {
411 SetpointManagerMixedAir::updateFanInletOutletNodes(airLoop.get());
412 }
413 return true;
414 }
415 }
416
417 return false;
418 }
419
420 std::vector<std::string> FanVariableVolume_Impl::fanPowerMinimumFlowRateInputMethodValues() const {
421 return FanVariableVolume::fanPowerMinimumFlowRateInputMethodValues();

Callers

nothing calls this directly

Calls 6

supplyComponentMethod · 0.80
airLoopHVACMethod · 0.45
handleMethod · 0.45
componentMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected