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
FluidPropertiesFactory.h
1#ifndef TOOLS_SUITE_FLUIDPROPERTIESFACTORY_H
2#define TOOLS_SUITE_FLUIDPROPERTIESFACTORY_H
3
4#include <steamModeler/api/HeaderInput.h>
6#include <steamModeler/Header.h>
8#include <steamModeler/service/EnergyFlowCalculator.h>
9#include <steamModeler/service/MassFlowCalculator.h>
10#include <steamModeler/SteamSystemModelerTool.h>
11
13 public:
14 SteamSystemModelerTool::FluidProperties make(const Header& header) const;
15
17
18 SteamSystemModelerTool::FluidProperties make(const HeatLoss& heatLoss) const;
19
20 SteamSystemModelerTool::FluidProperties makeWithSpecificVolume(const HeatLoss& heatLoss,
21 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
33 SteamSystemModelerTool::FluidProperties makeFromBlowdown(const Boiler& boiler, const double massFlow,
34 const double energyFlow) const;
35
37 make(const std::shared_ptr<HeaderNotHighestPressure>& notHighestPressureHeaderInput) const;
38
40 const Header& combinedCondensateHeader) const;
41
42 private:
43 EnergyFlowCalculator energyFlowCalculator = EnergyFlowCalculator();
44 MassFlowCalculator massFlowCalculator = MassFlowCalculator();
45
46 SteamSystemModelerTool::SteamPropertiesOutput calcLowPressureCondensateSteamOutput(
47 const std::shared_ptr<HeaderNotHighestPressure>& notHighestPressureHeaderInput) const;
48};
49
50#endif // TOOLS_SUITE_FLUIDPROPERTIESFACTORY_H
Calculator for boiler.
Calculator for the heat loss for steam systems.