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

Method powerModule

src/model/GeneratorFuelCell.cpp:258–264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

256 }
257
258 GeneratorFuelCellPowerModule GeneratorFuelCell_Impl::powerModule() const {
259 boost::optional<GeneratorFuelCellPowerModule> value = optionalPowerModule();
260 if (!value) {
261 LOG_AND_THROW(" does not have an Power Module attached.");
262 }
263 return value.get();
264 }
265
266 GeneratorFuelCellAirSupply GeneratorFuelCell_Impl::airSupply() const {
267 boost::optional<GeneratorFuelCellAirSupply> value = optionalAirSupply();

Callers 4

TEST_FFunction · 0.80
TEST_FFunction · 0.80

Calls 1

getMethod · 0.45

Tested by 2

TEST_FFunction · 0.64
TEST_FFunction · 0.64