24std::ostream& operator<<(
typename std::enable_if<std::is_enum<T>::value, std::ostream>::type& stream,
const T& e) {
33 CondensingTurbine(
double isentropicEfficiency,
double generationEfficiency,
double condenserPressure,
34 CondensingTurbineOperation operationType,
double operationValue,
bool useTurbine);
36 friend std::ostream& operator<<(std::ostream& stream,
const CondensingTurbine& ct);
38 double getIsentropicEfficiency()
const;
40 double getGenerationEfficiency()
const;
42 double getCondenserPressure()
const;
44 CondensingTurbineOperation getOperationType()
const;
46 double getOperationValue()
const;
48 bool isUseTurbine()
const;
51 double isentropicEfficiency;
52 double generationEfficiency;
53 double condenserPressure;
54 CondensingTurbineOperation operationType;
55 double operationValue;
64 PressureTurbine(
double isentropicEfficiency,
double generationEfficiency, PressureTurbineOperation operationType,
65 double operationValue1,
double operationValue2,
bool useTurbine);
67 friend std::ostream& operator<<(std::ostream& stream,
const PressureTurbine& pt);
69 double getIsentropicEfficiency()
const;
71 double getGenerationEfficiency()
const;
73 PressureTurbineOperation getOperationType()
const;
75 double getOperationValue1()
const;
77 double getOperationValue2()
const;
79 bool isUseTurbine()
const;
82 double isentropicEfficiency;
83 double generationEfficiency;
84 PressureTurbineOperation operationType;
85 double operationValue1;
86 double operationValue2;