MEASUR-Tools-Suite v1.0.11
The MEASUR Tools Suite is a collection of industrial efficiency calculations written in C++ and with bindings for compilation to WebAssembly.
Loading...
Searching...
No Matches
TurbineFactory.h
1#ifndef TOOLS_SUITE_TURBINEFACTORY_H
2#define TOOLS_SUITE_TURBINEFACTORY_H
3
4#include <steamModeler/api/HeaderInput.h>
5#include <steamModeler/api/TurbineInput.h>
6#include <steamModeler/Header.h>
8
10 public:
11 Turbine make(const SteamSystemModelerTool::FluidProperties& headerProperties,
12 const Turbine::TurbineProperty& turbineProperty, const PressureTurbine& highToLowTurbine,
13 const double massFlowOrPowerOut,
14 const std::shared_ptr<HeaderNotHighestPressure>& headerWithLowPressure) const;
15
16 Turbine makeIdeal(const SteamSystemModelerTool::FluidProperties& headerProperties,
17 const Turbine::TurbineProperty& turbineProperty, const PressureTurbine& highToLowTurbine,
18 const double massFlowOrPowerOut,
19 const std::shared_ptr<HeaderNotHighestPressure>& headerWithLowPressure) const;
20
21 Turbine make(const SteamSystemModelerTool::FluidProperties& headerProperties,
22 const Turbine::TurbineProperty& turbineProperty, const PressureTurbine& highToLowTurbine,
23 const double massFlowOrPowerOut,
24 const std::shared_ptr<HeaderNotHighestPressure>& headerWithLowPressure,
25 const double isentropicEfficiency) const;
26
27 Turbine make(const SteamSystemModelerTool::FluidProperties& headerProperties,
28 const CondensingTurbine& condensingTurbine, const bool isCalcIdeal) const;
29
30 Turbine make(const SteamSystemModelerTool::FluidProperties& headerProperties,
31 const CondensingTurbine& condensingTurbine, const double isentropicEfficiency) const;
32
33 Turbine makeWithMassFlow(const SteamSystemModelerTool::FluidProperties& headerProperties,
34 const PressureTurbine& pressureTurbine, const double massFlow,
35 const std::shared_ptr<HeaderNotHighestPressure>& headerWithLowPressure,
36 const bool isCalcIdeal) const;
37
38 std::shared_ptr<Turbine> makePtrWithMassFlow(const SteamSystemModelerTool::FluidProperties& headerProperties,
39 const PressureTurbine& pressureTurbine, double massFlow,
40 const std::shared_ptr<HeaderNotHighestPressure>& headerWithLowPressure,
41 const bool isCalcIdeal) const;
42
43 Turbine makeWithPowerOut(const SteamSystemModelerTool::FluidProperties& headerProperties,
44 const PressureTurbine& pressureTurbine, const double powerOut,
45 const std::shared_ptr<HeaderNotHighestPressure>& headerWithLowPressure,
46 const bool isCalcIdeal) const;
47
48 std::shared_ptr<Turbine> makePtrWithPowerOut(const SteamSystemModelerTool::FluidProperties& headerProperties,
49 const PressureTurbine& pressureTurbine, const double massFlow,
50 const std::shared_ptr<HeaderNotHighestPressure>& headerWithLowPressure,
51 const bool isCalcIdeal) const;
52
53 private:
54 Turbine make(const SteamSystemModelerTool::FluidProperties& headerProperties,
55 const CondensingTurbine& condensingTurbine) const;
56
57 Turbine makeIdeal(const SteamSystemModelerTool::FluidProperties& headerProperties,
58 const CondensingTurbine& condensingTurbine) const;
59
61 convertCondensingTurbineOperationToTurbineProperty(const CondensingTurbineOperation& operationType) const;
62};
63
64#endif // TOOLS_SUITE_TURBINEFACTORY_H
Calculator for turbines for steam systems.
TurbineProperty
enum class for TurbineProperty
Definition Turbine.h:29