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
SteamModelCalculator.h
1#ifndef TOOLS_SUITE_STEAMMODELCALCULATOR_H
2#define TOOLS_SUITE_STEAMMODELCALCULATOR_H
3
4#include <steamModeler/api/BoilerInput.h>
5#include <steamModeler/api/HeaderInput.h>
6#include <steamModeler/api/OperationsInput.h>
7#include <steamModeler/api/TurbineInput.h>
8#include <steamModeler/domain/BoilerFactory.h>
9#include <steamModeler/domain/EnergyAndCostCalculationsDomain.h>
10#include <steamModeler/domain/FlashTankFactory.h>
11#include <steamModeler/domain/SteamModelCalculationsDomain.h>
12#include <steamModeler/service/energy_and_cost/EnergyAndCostCalculator.h>
13#include <steamModeler/service/high_pressure_header/HighPressureHeaderModeler.h>
14#include <steamModeler/service/low_pressure_header/LowPressureHeaderModeler.h>
15#include <steamModeler/service/medium_pressure_header/MediumPressureHeaderModeler.h>
16#include <steamModeler/service/power_balance/PowerBalanceChecker.h>
17#include <steamModeler/service/process_steam_usage/ProcessSteamUsageModeler.h>
18#include <steamModeler/service/water_and_condensate/MakeupWaterAndCondensateHeaderModeler.h>
19
24 public:
25 SteamModelCalculationsDomain calc(const bool isBaselineCalc, const double baselinePowerDemand,
26 const HeaderInput& headerInput, const BoilerInput& boilerInput,
27 const TurbineInput& turbineInput, const OperationsInput& operationsInput,
28 const double initialMassFlow) const;
29
30 private:
31 const BoilerFactory boilerFactory = BoilerFactory();
32 const DeaeratorModeler deaeratorModeler = DeaeratorModeler();
33 const EnergyAndCostCalculator energyAndCostCalculator = EnergyAndCostCalculator();
34 const FlashTankFactory flashTankFactory = FlashTankFactory();
35 const HighPressureHeaderModeler highPressureHeaderModeler = HighPressureHeaderModeler();
36 const LowPressureHeaderModeler lowPressureHeaderModeler = LowPressureHeaderModeler();
37 const MakeupWaterAndCondensateHeaderModeler makeupWaterAndCondensateHeaderModeler =
39 const MediumPressureHeaderModeler mediumPressureHeaderModeler = MediumPressureHeaderModeler();
40 const PowerBalanceChecker powerBalanceChecker = PowerBalanceChecker();
41 const ProcessSteamUsageModeler processSteamUsageModeler = ProcessSteamUsageModeler();
42};
43
44#endif // TOOLS_SUITE_STEAMMODELCALCULATOR_H