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
FluidPropertiesFactory.h
1 #ifndef AMO_TOOLS_SUITE_FLUIDPROPERTIESFACTORY_H
2 #define AMO_TOOLS_SUITE_FLUIDPROPERTIESFACTORY_H
3 
4 #include <ssmt/Boiler.h>
5 #include <ssmt/Header.h>
6 #include <ssmt/HeatLoss.h>
7 #include <ssmt/SteamSystemModelerTool.h>
8 #include <ssmt/api/HeaderInput.h>
9 #include <ssmt/service/EnergyFlowCalculator.h>
10 #include <ssmt/service/MassFlowCalculator.h>
11 
13 public:
14  SteamSystemModelerTool::FluidProperties make(const Header &header) const;
15 
17 
18  SteamSystemModelerTool::FluidProperties make(const HeatLoss &heatLoss) const;
19 
21  makeWithSpecificVolume(const HeatLoss &heatLoss, const double specificVolume) const;
22 
24  makeWithMassFlow(const SteamSystemModelerTool::FluidProperties &lowPressureHeaderOutput,
25  const double massFlow) const;
26 
28  makeWithVentedSteamAmount(const SteamSystemModelerTool::FluidProperties &makeupWater,
29  const double ventedSteamAmount) const;
30 
31  SteamSystemModelerTool::FluidProperties makeFromBlowdown(const Boiler &boiler) const;
32 
34  makeFromBlowdown(const Boiler &boiler, const double massFlow, const double energyFlow) const;
35 
37  make(const std::shared_ptr<HeaderNotHighestPressure> &notHighestPressureHeaderInput) const;
38 
40  make(const HeaderWithHighestPressure &highPressureHeaderInput, const Header &combinedCondensateHeader) const;
41 
42 private:
43  EnergyFlowCalculator energyFlowCalculator = EnergyFlowCalculator();
44  MassFlowCalculator massFlowCalculator = MassFlowCalculator();
45 
47  calcLowPressureCondensateSteamOutput(
48  const std::shared_ptr<HeaderNotHighestPressure> &notHighestPressureHeaderInput) const;
49 };
50 
51 #endif //AMO_TOOLS_SUITE_FLUIDPROPERTIESFACTORY_H
Definition: Boiler.h:24
Definition: Header.h:44