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
LowPressureFlashedSteamIntoHeaderCalculator.h
1#ifndef TOOLS_SUITE_LOWPRESSUREFLASHEDSTEAMINTOHEADERCALCULATOR_H
2#define TOOLS_SUITE_LOWPRESSUREFLASHEDSTEAMINTOHEADERCALCULATOR_H
3
4#include <memory>
5
6#include <steamModeler/api/HeaderInput.h>
7#include <steamModeler/domain/FlashTankFactory.h>
8#include <steamModeler/domain/HeaderFactory.h>
9#include <steamModeler/domain/LowPressureFlashedSteamIntoHeaderCalculatorDomain.h>
11
13 public:
15 calc(const int headerCountInput, const std::shared_ptr<HeaderNotHighestPressure>& lowPressureHeaderInput,
16 const std::shared_ptr<HeaderNotHighestPressure>& mediumPressureHeaderInput,
17 const HighPressureHeaderCalculationsDomain& highPressureHeaderCalculationsDomain,
18 const std::shared_ptr<MediumPressureHeaderCalculationsDomain>& mediumPressureHeaderCalculationsDomain) const;
19
20 private:
21 const FlashTankFactory flashTankFactory = FlashTankFactory();
22 const HeaderFactory headerFactory = HeaderFactory();
23
24 std::shared_ptr<FlashTank>
25 makeMediumPressureCondensateFlashTank(const std::shared_ptr<HeaderNotHighestPressure>& lowPressureHeaderInput,
26 const std::shared_ptr<HeaderNotHighestPressure>& mediumPressureHeaderInput,
27 const SteamSystemModelerTool::FluidProperties& mediumPressureCondensate,
28 const SteamSystemModelerTool::FluidProperties& highPressureCondensate,
29 const std::shared_ptr<FlashTank>& highPressureCondensateFlashTank) const;
30
31 std::shared_ptr<FlashTank>
32 makeHighPressureCondensateFlashTank(const std::shared_ptr<HeaderNotHighestPressure>& lowPressureHeaderInput,
33 const SteamSystemModelerTool::FluidProperties& highPressureCondensate) const;
34
35 std::shared_ptr<Header>
36 makeHighAndMediumPressureMixHeader(const std::shared_ptr<HeaderNotHighestPressure>& lowPressureHeaderInput,
37 const std::shared_ptr<HeaderNotHighestPressure>& mediumPressureHeaderInput,
38 const SteamSystemModelerTool::FluidProperties& mediumPressureCondensate,
39 const SteamSystemModelerTool::FluidProperties& highPressureCondensate,
40 const std::shared_ptr<FlashTank>& highPressureCondensateFlashTank) const;
41};
42
43#endif // TOOLS_SUITE_LOWPRESSUREFLASHEDSTEAMINTOHEADERCALCULATOR_H
Calculator for the flash tank for steam systems.