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

Method addToNode

src/model/LoadProfilePlant.cpp:162–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160 }
161
162 bool LoadProfilePlant_Impl::addToNode(Node& node) {
163 if (auto plant = node.plantLoop()) {
164 if (plant->demandComponent(node.handle())) {
165 return StraightComponent_Impl::addToNode(node);
166 }
167 }
168 return false;
169 }
170
171 std::vector<EMSActuatorNames> LoadProfilePlant_Impl::emsActuatorNames() const {
172 std::vector<EMSActuatorNames> actuators{{"Plant Load Profile", "Mass Flow Rate"}, {"Plant Load Profile", "Power"}};

Callers

nothing calls this directly

Calls 3

demandComponentMethod · 0.80
plantLoopMethod · 0.45
handleMethod · 0.45

Tested by

no test coverage detected