| 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); |