23std::ostream& operator<<(
typename std::enable_if<std::is_enum<T>::value, std::ostream>::type& stream,
const T& e) {
32 CondensingTurbine(
double isentropicEfficiency,
double generationEfficiency,
double condenserPressure,
33 CondensingTurbineOperation operationType,
double operationValue,
bool useTurbine);
35 friend std::ostream& operator<<(std::ostream& stream,
const CondensingTurbine& ct);
37 double getIsentropicEfficiency()
const;
39 double getGenerationEfficiency()
const;
41 double getCondenserPressure()
const;
43 CondensingTurbineOperation getOperationType()
const;
45 double getOperationValue()
const;
47 bool isUseTurbine()
const;
50 double isentropicEfficiency;
51 double generationEfficiency;
52 double condenserPressure;
53 CondensingTurbineOperation operationType;
54 double operationValue;
63 PressureTurbine(
double isentropicEfficiency,
double generationEfficiency, PressureTurbineOperation operationType,
64 double operationValue1,
double operationValue2,
bool useTurbine);
66 friend std::ostream& operator<<(std::ostream& stream,
const PressureTurbine& pt);
68 double getIsentropicEfficiency()
const;
70 double getGenerationEfficiency()
const;
72 PressureTurbineOperation getOperationType()
const;
74 double getOperationValue1()
const;
76 double getOperationValue2()
const;
78 bool isUseTurbine()
const;
81 double isentropicEfficiency;
82 double generationEfficiency;
83 PressureTurbineOperation operationType;
84 double operationValue1;
85 double operationValue2;