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
LowPressurePrvCalculator.h
1#ifndef TOOLS_SUITE_LOWPRESSUREPRVCALCULATOR_H
2#define TOOLS_SUITE_LOWPRESSUREPRVCALCULATOR_H
3
4#include <steamModeler/api/TurbineInput.h>
6#include <steamModeler/domain/HighPressureHeaderCalculationsDomain.h>
7#include <steamModeler/domain/MediumPressureHeaderCalculationsDomain.h>
8#include <steamModeler/domain/PrvWithDesuperheatingFactory.h>
9#include <steamModeler/domain/PrvWithoutDesuperheatingFactory.h>
11
13 public:
14 std::shared_ptr<PrvWithoutDesuperheating>
15 calc(const int headerCountInput, const HeaderWithHighestPressure& highPressureHeaderInput,
16 const PressureTurbine& highToLowTurbineInput, const CondensingTurbine& condensingTurbineInput,
17 const std::shared_ptr<HeaderNotHighestPressure>& mediumPressureHeaderInput,
18 const PressureTurbine& mediumToLowTurbineInput,
19 const std::shared_ptr<HeaderNotHighestPressure>& lowPressureHeaderInput, const Boiler& boiler,
20 const HighPressureHeaderCalculationsDomain& highPressureHeaderCalculationsDomain,
21 const std::shared_ptr<MediumPressureHeaderCalculationsDomain>& mediumPressureHeaderCalculationsDomain) const;
22
23 private:
24 const PrvWithDesuperheatingFactory prvWithDesuperheatingFactory = PrvWithDesuperheatingFactory();
25 const PrvWithoutDesuperheatingFactory prvWithoutDesuperheatingFactory = PrvWithoutDesuperheatingFactory();
26
27 double calcPrvMassFlow(
28 const int headerCountInput, const HeaderWithHighestPressure& highPressureHeaderInput,
29 const SteamSystemModelerTool::FluidProperties& highPressureHeader, const PressureTurbine& highToLowTurbineInput,
30 const std::shared_ptr<Turbine>& highToLowPressureTurbine, const CondensingTurbine& condensingTurbineInput,
31 const std::shared_ptr<Turbine>& condensingTurbine,
32 const std::shared_ptr<HeaderNotHighestPressure>& mediumPressureHeaderInput,
33 const PressureTurbine& mediumToLowTurbineInput,
34 const std::shared_ptr<MediumPressureHeaderCalculationsDomain>& mediumPressureHeaderCalculationsDomain) const;
35
37 const int headerCountInput,
38 const std::shared_ptr<MediumPressureHeaderCalculationsDomain>& mediumPressureHeaderCalculationsDomain,
39 const SteamSystemModelerTool::FluidProperties& highPressureHeaderOutput) const;
40
41 std::shared_ptr<PrvWithoutDesuperheating>
42 makePrv(const std::shared_ptr<HeaderNotHighestPressure>& lowPressureHeaderInput, const Boiler& boiler,
43 const SteamSystemModelerTool::FluidProperties& headerOutput, double prvMassFlow) const;
44};
45
46#endif // TOOLS_SUITE_LOWPRESSUREPRVCALCULATOR_H
Calculator for boiler.
Calculator for turbines for steam systems.