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

Method inverter

src/model/GeneratorFuelCell.cpp:314–320  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

312 }
313
314 GeneratorFuelCellInverter GeneratorFuelCell_Impl::inverter() const {
315 boost::optional<GeneratorFuelCellInverter> value = optionalInverter();
316 if (!value) {
317 LOG_AND_THROW(" does not have an Inverter attached.");
318 }
319 return value.get();
320 }
321
322 boost::optional<GeneratorFuelCellStackCooler> GeneratorFuelCell_Impl::stackCooler() const {
323 return getObject<ModelObject>().getModelObjectTarget<GeneratorFuelCellStackCooler>(OS_Generator_FuelCellFields::StackCoolerName);

Callers 7

TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45

Calls 1

getMethod · 0.45

Tested by 5

TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36