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