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
PrvCalculator.h
1#ifndef TOOLS_SUITE_PRVCALCULATOR_H
2#define TOOLS_SUITE_PRVCALCULATOR_H
3
4#include <steamModeler/api/HeaderInput.h>
5#include <steamModeler/api/TurbineInput.h>
7#include <steamModeler/domain/PrvWithDesuperheatingFactory.h>
8#include <steamModeler/domain/PrvWithoutDesuperheatingFactory.h>
9#include <steamModeler/SteamSystemModelerTool.h>
11
13 public:
14 PrvWithDesuperheating calcHighToMediumPrvWithDesuperheating(
15 const HeaderWithHighestPressure& highPressureHeaderInput, const PressureTurbine& highToLowTurbineInput,
16 const PressureTurbine& highToMediumTurbineInput, const CondensingTurbine& condensingTurbineInput,
17 const std::shared_ptr<Turbine>& highToLowPressureTurbine,
18 const std::shared_ptr<Turbine>& highToMediumPressureTurbine, const std::shared_ptr<Turbine>& condensingTurbine,
19 const Boiler& boiler, const SteamSystemModelerTool::FluidProperties& highPressureHeaderOutput,
20 const std::shared_ptr<HeaderNotHighestPressure>& mediumPressureHeaderInput) const;
21
22 PrvWithoutDesuperheating calcHighToMediumPrvWithoutDesuperheating(
23 const SteamSystemModelerTool::FluidProperties& highPressureHeaderOutput,
24 const HeaderWithHighestPressure& highPressureHeaderInput, const PressureTurbine& highToLowTurbineInput,
25 const PressureTurbine& highToMediumTurbineInput, const CondensingTurbine& condensingTurbineInput,
26 const std::shared_ptr<Turbine>& highToLowPressureTurbine,
27 const std::shared_ptr<Turbine>& highToMediumPressureTurbine, const std::shared_ptr<Turbine>& condensingTurbine,
28 const std::shared_ptr<HeaderNotHighestPressure>& mediumPressureHeaderInput) const;
29
30 private:
31 const PrvWithDesuperheatingFactory prvWithDesuperheatingFactory = PrvWithDesuperheatingFactory();
32 const PrvWithoutDesuperheatingFactory prvWithoutDesuperheatingFactory = PrvWithoutDesuperheatingFactory();
33
34 double calcPrvMassFlow(const SteamSystemModelerTool::FluidProperties& highPressureHeader,
35 const HeaderWithHighestPressure& highPressureHeaderInput,
36 const PressureTurbine& highToLowTurbineInput,
37 const PressureTurbine& highToMediumTurbineInput,
38 const CondensingTurbine& condensingTurbineInput,
39 const std::shared_ptr<Turbine>& highToLowPressureTurbine,
40 const std::shared_ptr<Turbine>& highToMediumPressureTurbine,
41 const std::shared_ptr<Turbine>& condensingTurbine) const;
42
43 double getTurbineMassFlow(const std::shared_ptr<Turbine>& turbine, const std::string& turbineName) const;
44};
45
46#endif // TOOLS_SUITE_PRVCALCULATOR_H
Calculator for boiler.
Calculator for turbines for steam systems.