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

Method efficiencyCurve

src/model/GeneratorFuelCellPowerModule.cpp:103–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101 }
102
103 CurveQuadratic GeneratorFuelCellPowerModule_Impl::efficiencyCurve() const {
104 boost::optional<CurveQuadratic> value = optionalEfficiencyCurve();
105 if (!value) {
106 LOG_AND_THROW(" does not have an Efficiency Curve attached.");
107 }
108 return value.get();
109 }
110
111 double GeneratorFuelCellPowerModule_Impl::nominalEfficiency() const {
112 boost::optional<double> value = getDouble(OS_Generator_FuelCell_PowerModuleFields::NominalEfficiency, true);

Callers 5

childrenMethod · 0.80
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