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

Method nominalEfficiency

src/model/GeneratorFuelCellPowerModule.cpp:111–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109 }
110
111 double GeneratorFuelCellPowerModule_Impl::nominalEfficiency() const {
112 boost::optional<double> value = getDouble(OS_Generator_FuelCell_PowerModuleFields::NominalEfficiency, true);
113 if (!value) {
114 LOG_AND_THROW(" does not have an Nominal Efficiency.");
115 }
116 return value.get();
117 }
118
119 double GeneratorFuelCellPowerModule_Impl::nominalElectricalPower() const {
120 boost::optional<double> value = getDouble(OS_Generator_FuelCell_PowerModuleFields::NominalElectricalPower, true);

Callers 2

TEST_FFunction · 0.80

Calls 1

getMethod · 0.45

Tested by 1

TEST_FFunction · 0.64