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

Method efficiencyCurveMode

src/model/GeneratorFuelCellPowerModule.cpp:95–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93 }
94
95 std::string GeneratorFuelCellPowerModule_Impl::efficiencyCurveMode() const {
96 boost::optional<std::string> value = getString(OS_Generator_FuelCell_PowerModuleFields::EfficiencyCurveMode, true);
97 if (!value) {
98 LOG_AND_THROW(" does not have an Efficiency Curve Mode defined.");
99 }
100 return value.get();
101 }
102
103 CurveQuadratic GeneratorFuelCellPowerModule_Impl::efficiencyCurve() const {
104 boost::optional<CurveQuadratic> value = optionalEfficiencyCurve();

Callers 4

TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80

Calls 1

getMethod · 0.45

Tested by 3

TEST_FFunction · 0.64
TEST_FFunction · 0.64
TEST_FFunction · 0.64