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#pragma once
2
3#include <steamModeler/api/HeaderInput.h>
4#include <steamModeler/api/TurbineInput.h>
5#include <steamModeler/Header.h>
7
9 public:
10 Turbine make(const SteamSystemModelerTool::FluidProperties& headerProperties,
11 const Turbine::TurbineProperty& turbineProperty, const PressureTurbine& highToLowTurbine,
12 const double massFlowOrPowerOut,
13 const std::shared_ptr<HeaderNotHighestPressure>& headerWithLowPressure) const;
14
15 Turbine makeIdeal(const SteamSystemModelerTool::FluidProperties& headerProperties,
16 const Turbine::TurbineProperty& turbineProperty, const PressureTurbine& highToLowTurbine,
17 const double massFlowOrPowerOut,
18 const std::shared_ptr<HeaderNotHighestPressure>& headerWithLowPressure) const;
19
20 Turbine make(const SteamSystemModelerTool::FluidProperties& headerProperties,
21 const Turbine::TurbineProperty& turbineProperty, const PressureTurbine& highToLowTurbine,
22 const double massFlowOrPowerOut,
23 const std::shared_ptr<HeaderNotHighestPressure>& headerWithLowPressure,
24 const double isentropicEfficiency) const;
25
26 Turbine make(const SteamSystemModelerTool::FluidProperties& headerProperties,
27 const CondensingTurbine& condensingTurbine, const bool isCalcIdeal) const;
28
29 Turbine make(const SteamSystemModelerTool::FluidProperties& headerProperties,
30 const CondensingTurbine& condensingTurbine, const double isentropicEfficiency) const;
31
32 Turbine makeWithMassFlow(const SteamSystemModelerTool::FluidProperties& headerProperties,
33 const PressureTurbine& pressureTurbine, const double massFlow,
34 const std::shared_ptr<HeaderNotHighestPressure>& headerWithLowPressure,
35 const bool isCalcIdeal) const;
36
37 std::shared_ptr<Turbine> makePtrWithMassFlow(const SteamSystemModelerTool::FluidProperties& headerProperties,
38 const PressureTurbine& pressureTurbine, double massFlow,
39 const std::shared_ptr<HeaderNotHighestPressure>& headerWithLowPressure,
40 const bool isCalcIdeal) const;
41
42 Turbine makeWithPowerOut(const SteamSystemModelerTool::FluidProperties& headerProperties,
43 const PressureTurbine& pressureTurbine, const double powerOut,
44 const std::shared_ptr<HeaderNotHighestPressure>& headerWithLowPressure,
45 const bool isCalcIdeal) const;
46
47 std::shared_ptr<Turbine> makePtrWithPowerOut(const SteamSystemModelerTool::FluidProperties& headerProperties,
48 const PressureTurbine& pressureTurbine, const double massFlow,
49 const std::shared_ptr<HeaderNotHighestPressure>& headerWithLowPressure,
50 const bool isCalcIdeal) const;
51
52 private:
53 Turbine make(const SteamSystemModelerTool::FluidProperties& headerProperties,
54 const CondensingTurbine& condensingTurbine) const;
55
56 Turbine makeIdeal(const SteamSystemModelerTool::FluidProperties& headerProperties,
57 const CondensingTurbine& condensingTurbine) const;
58
60 convertCondensingTurbineOperationToTurbineProperty(const CondensingTurbineOperation& operationType) const;
61};
62
Calculator for turbines for steam systems.
TurbineProperty
enum class for TurbineProperty
Definition Turbine.h:28