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

Method nominalElectricalPower

src/model/GeneratorFuelCellPowerModule.cpp:119–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117 }
118
119 double GeneratorFuelCellPowerModule_Impl::nominalElectricalPower() const {
120 boost::optional<double> value = getDouble(OS_Generator_FuelCell_PowerModuleFields::NominalElectricalPower, true);
121 if (!value) {
122 LOG_AND_THROW(" does not have an Nominal Electrical Power.");
123 }
124 return value.get();
125 }
126
127 double GeneratorFuelCellPowerModule_Impl::numberofStopsatStartofSimulation() const {
128 boost::optional<double> value = getDouble(OS_Generator_FuelCell_PowerModuleFields::NumberofStopsatStartofSimulation, true);

Callers 3

TEST_FFunction · 0.80

Calls 1

getMethod · 0.45

Tested by 1

TEST_FFunction · 0.64