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