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
HighToLowSteamTurbineCalculator.h
1#pragma once
2
3#include <steamModeler/api/HeaderInput.h>
4#include <steamModeler/api/TurbineInput.h>
6#include <steamModeler/domain/TurbineFactory.h>
7#include <steamModeler/service/medium_pressure_header/SteamBalanceCheckerService.h>
8#include <steamModeler/service/RestarterService.h>
9#include <steamModeler/service/SteamBalanceException.h>
10#include <steamModeler/SteamSystemModelerTool.h>
12
14 public:
15 std::shared_ptr<Turbine> calc(const int headerCountInput, const PressureTurbine& highToLowTurbineInput,
16 const SteamSystemModelerTool::FluidProperties& highPressureHeaderOutput,
17 const HeaderWithHighestPressure& highPressureHeaderInput,
18 const CondensingTurbine& condensingTurbineInput,
19 const std::shared_ptr<Turbine>& condensingTurbine,
20 const std::shared_ptr<HeaderNotHighestPressure>& lowPressureHeaderInput,
21 const Boiler& boiler, const bool isCalcIdeal) const;
22
23 private:
25 SteamBalanceCheckerService steamBalanceCheckerService = SteamBalanceCheckerService();
26 TurbineFactory turbineFactory = TurbineFactory();
27
28 std::shared_ptr<Turbine>
29 calcHighToLowPressureTurbine(const double availableMassFlow, const PressureTurbine& highToLowTurbineInput,
30 const SteamSystemModelerTool::FluidProperties& highPressureHeaderOutput,
31 const std::shared_ptr<HeaderNotHighestPressure>& lowPressureHeaderInput,
32 const Boiler& boiler, const bool isCalcIdeal) const;
33
34 std::shared_ptr<Turbine> calcFlowRange(const double availableMassFlow, const PressureTurbine& highToLowTurbineInput,
35 const SteamSystemModelerTool::FluidProperties& highPressureHeaderOutput,
36 const std::shared_ptr<HeaderNotHighestPressure>& lowPressureHeaderInput,
37 const Boiler& boiler, const bool isCalcIdeal) const;
38
39 std::shared_ptr<Turbine> calcPowerRange(const double availableMassFlow,
40 const PressureTurbine& highToLowTurbineInput,
41 const SteamSystemModelerTool::FluidProperties& highPressureHeaderOutput,
42 const std::shared_ptr<HeaderNotHighestPressure>& lowPressureHeaderInput,
43 const Boiler& boiler, const bool isCalcIdeal) const;
44
45 std::shared_ptr<Turbine>
46 calcPowerGeneration(const double availableMassFlow, const PressureTurbine& highToLowTurbineInput,
47 const SteamSystemModelerTool::FluidProperties& highPressureHeaderOutput,
48 const std::shared_ptr<HeaderNotHighestPressure>& lowPressureHeaderInput, const Boiler& boiler,
49 const bool isCalcIdeal) const;
50
51 std::shared_ptr<Turbine> calcSteamFlow(const double availableMassFlow, const PressureTurbine& highToLowTurbineInput,
52 const SteamSystemModelerTool::FluidProperties& highPressureHeaderOutput,
53 const std::shared_ptr<HeaderNotHighestPressure>& lowPressureHeaderInput,
54 const Boiler& boiler, const bool isCalcIdeal) const;
55
56 std::shared_ptr<Turbine> calcBalanceHeader(const double availableMassFlow,
57 const PressureTurbine& highToLowTurbineInput,
58 const SteamSystemModelerTool::FluidProperties& highPressureHeaderOutput,
59 const std::shared_ptr<HeaderNotHighestPressure>& lowPressureHeaderInput,
60 const bool isCalcIdeal) const;
61
62 double calcAvailableMassFlow(const HeaderWithHighestPressure& highPressureHeaderInput,
63 const SteamSystemModelerTool::FluidProperties& highPressureHeaderOutput,
64 const CondensingTurbine& condensingTurbineInput,
65 const std::shared_ptr<Turbine>& condensingTurbine) const;
66};
67
Calculator for boiler.
Calculator for turbines for steam systems.