11 #ifndef AMO_TOOLS_SUITE_TURBINE_H 12 #define AMO_TOOLS_SUITE_TURBINE_H 15 #include "SteamProperties.h" 53 double inletQuantityValue,
TurbineProperty turbineProperty,
double isentropicEfficiency,
54 double generatorEfficiency,
double massFlowOrPowerOut,
double outletSteamPressure);
75 double inletQuantityValue,
TurbineProperty turbineProperty,
double generatorEfficiency,
76 double massFlowOrPowerOut,
double outletSteamPressure,
85 friend std::ostream &operator<<(std::ostream &stream, const std::shared_ptr<Turbine> &turbine);
87 Solve getSolveFor()
const {
return solveFor; }
268 void solveForOutletProperties();
273 void solveForIsentropicEfficiency();
280 void calculateTurbineProperties(
double inletSpecificEnthalpy,
double outletSpecificEnthalpy);
283 double inletPressure, isentropicEfficiency, generatorEfficiency, massFlowOrPowerOut, outletSteamPressure;
285 double inletQuantityValue, outletQuantityValue = 0;
290 double inletEnergyFlow, outletEnergyFlow = 0, energyOut, powerOut, massFlow;
293 #endif //AMO_TOOLS_SUITE_TURBINE_H double getInletEnergyFlow() const
friend std::ostream & operator<<(std::ostream &stream, const Turbine &turbine)
double getIsentropicEfficiency() const
void setOutletSteamPressure(double outletSteamPressure)
Turbine(Solve solveFor, double inletPressure, SteamProperties::ThermodynamicQuantity inletQuantity, double inletQuantityValue, TurbineProperty turbineProperty, double isentropicEfficiency, double generatorEfficiency, double massFlowOrPowerOut, double outletSteamPressure)
void setMassFlowOrPowerOut(double massFlowOrPowerOut)
Sets the Mass Flow Or Power Out.
void setInletQuantityValue(double inletQuantityValue)
double getOutletSteamPressure() const
TurbineProperty
enum class for TurbineProperty
void setTurbineProperty(TurbineProperty turbineProperty)
void setInletQuantity(SteamProperties::ThermodynamicQuantity inletQuantity)
double getOutletQuantityValue() const
void setOutletQuantity(SteamProperties::ThermodynamicQuantity outletQuantity)
void setOutletQuantityValue(double outletQuantityValue)
double getInletPressure() const
Solve
enum class for Solve
SteamProperties::ThermodynamicQuantity getOutletQuantity() const
SteamSystemModelerTool::SteamPropertiesOutput const & getOutletProperties() const
TurbineProperty getTurbineProperty() const
SteamProperties::ThermodynamicQuantity getInletQuantity() const
void setGeneratorEfficiency(double generatorEfficiency)
double getMassFlow() const
ThermodynamicQuantity
enum class for ThermodynamicQuantity
SteamSystemModelerTool::SteamPropertiesOutput const & getInletProperties() const
double getEnergyOut() const
double getPowerOut() const
void setSolveFor(Solve solveFor)
double getMassFlowOrPowerOut() const
void setInletPressure(double inletPressure)
double getInletQuantityValue() const
void setIsentropicEfficiency(double isentropicEfficiency)
double getGeneratorEfficiency() const
double getOutletEnergyFlow() const