AMO-Tools-Suite  v.0.9.0
Set of tools for calculating energy efficiency in industrial equipment
All Classes Namespaces Files Functions Variables Enumerations Friends Macros Pages
PrvCalculator.h
1 #ifndef AMO_TOOLS_SUITE_PRVCALCULATOR_H
2 #define AMO_TOOLS_SUITE_PRVCALCULATOR_H
3 
4 #include <ssmt/SteamSystemModelerTool.h>
5 #include <ssmt/Turbine.h>
6 #include <ssmt/api/HeaderInput.h>
7 #include <ssmt/api/TurbineInput.h>
8 #include <ssmt/domain/PrvWithDesuperheatingFactory.h>
9 #include <ssmt/domain/PrvWithoutDesuperheatingFactory.h>
10 #include <ssmt/Boiler.h>
11 
12 class PrvCalculator {
13 public:
15  calcHighToMediumPrvWithDesuperheating(const HeaderWithHighestPressure &highPressureHeaderInput,
16  const PressureTurbine &highToLowTurbineInput,
17  const PressureTurbine &highToMediumTurbineInput,
18  const CondensingTurbine &condensingTurbineInput,
19  const std::shared_ptr<Turbine> &highToLowPressureTurbine,
20  const std::shared_ptr<Turbine> &highToMediumPressureTurbine,
21  const std::shared_ptr<Turbine> &condensingTurbine,
22  const Boiler &boiler,
23  const SteamSystemModelerTool::FluidProperties &highPressureHeaderOutput,
24  const std::shared_ptr<HeaderNotHighestPressure> &mediumPressureHeaderInput) const;
25 
27  calcHighToMediumPrvWithoutDesuperheating(
28  const SteamSystemModelerTool::FluidProperties &highPressureHeaderOutput,
29  const HeaderWithHighestPressure &highPressureHeaderInput,
30  const PressureTurbine &highToLowTurbineInput,
31  const PressureTurbine &highToMediumTurbineInput,
32  const CondensingTurbine &condensingTurbineInput,
33  const std::shared_ptr<Turbine> &highToLowPressureTurbine,
34  const std::shared_ptr<Turbine> &highToMediumPressureTurbine,
35  const std::shared_ptr<Turbine> &condensingTurbine,
36  const std::shared_ptr<HeaderNotHighestPressure> &mediumPressureHeaderInput) const;
37 
38 private:
39  const PrvWithDesuperheatingFactory prvWithDesuperheatingFactory = PrvWithDesuperheatingFactory();
40  const PrvWithoutDesuperheatingFactory prvWithoutDesuperheatingFactory = PrvWithoutDesuperheatingFactory();
41 
42  double calcPrvMassFlow(const SteamSystemModelerTool::FluidProperties &highPressureHeader,
43  const HeaderWithHighestPressure &highPressureHeaderInput,
44  const PressureTurbine &highToLowTurbineInput,
45  const PressureTurbine &highToMediumTurbineInput,
46  const CondensingTurbine &condensingTurbineInput,
47  const std::shared_ptr<Turbine> &highToLowPressureTurbine,
48  const std::shared_ptr<Turbine> &highToMediumPressureTurbine,
49  const std::shared_ptr<Turbine> &condensingTurbine) const;
50 
51  double getTurbineMassFlow(const std::shared_ptr<Turbine> &turbine, const std::string &turbineName) const;
52 };
53 
54 #endif //AMO_TOOLS_SUITE_PRVCALCULATOR_H
Definition: Boiler.h:24