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
PowerBalanceChecker.h
1#ifndef TOOLS_SUITE_POWERBALANCECHECKER_H
2#define TOOLS_SUITE_POWERBALANCECHECKER_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>
10#include <steamModeler/domain/FluidPropertiesFactory.h>
11#include <steamModeler/domain/PowerBalanceCheckerCalculationsDomain.h>
13#include <steamModeler/PRV.h>
14#include <steamModeler/service/DeaeratorModeler.h>
15#include <steamModeler/service/RestarterService.h>
17
18#include "LowPressureVentedSteamCalculator.h"
19#include "SteamBalanceCalculator.h"
20#include "steamModeler/service/water_and_condensate/MakeupWaterAndCondensateHeaderCalculator.h"
21#include "steamModeler/service/water_and_condensate/MakeupWaterMassFlowCalculator.h"
22
24 public:
26 check(const int headerCountInput, const HeaderWithHighestPressure& highPressureHeaderInput,
27 const std::shared_ptr<HeaderNotHighestPressure>& mediumPressureHeaderInput,
28 const std::shared_ptr<HeaderNotHighestPressure>& lowPressureHeaderInput,
29 const PressureTurbine& highToLowTurbineInput, const PressureTurbine& highToMediumTurbineInput,
30 const PressureTurbine& mediumToLowTurbineInput, const BoilerInput& boilerInput,
31 const CondensingTurbine& condensingTurbineInput, const OperationsInput& operationsInput, const Boiler& boiler,
32 const std::shared_ptr<FlashTank>& blowdownFlashTank, const double deaeratorInletSteamMassFlow,
33 const HighPressureHeaderCalculationsDomain& highPressureHeaderCalculationsDomain,
34 const std::shared_ptr<MediumPressureHeaderCalculationsDomain>& mediumPressureHeaderCalculationsDomain,
35 const std::shared_ptr<LowPressureHeaderCalculationsDomain>& lowPressureHeaderCalculationsDomain,
36 MakeupWaterAndCondensateHeaderCalculationsDomain& makeupWaterAndCondensateHeaderCalculationsDomain) const;
37
38 private:
39 const FluidPropertiesFactory fluidPropertiesFactory = FluidPropertiesFactory();
40 const RestarterService restarter = RestarterService();
41 const LowPressureVentedSteamCalculator lowPressureVentedSteamCalculator = LowPressureVentedSteamCalculator();
42 const SteamBalanceCalculator steamBalanceCalculator = SteamBalanceCalculator();
43
44 bool isVentingOnlyExcessSteamOption(const int headerCountInput, const PressureTurbine& highToLowTurbineInput,
45 const PressureTurbine& highToMediumTurbineInput,
46 const PressureTurbine& mediumToLowTurbineInput) const;
47};
48
49#endif // TOOLS_SUITE_POWERBALANCECHECKER_H
Calculator for boiler.
Calculator for the deaerator for steam systems.
Calculator for the flash tank for steam systems.
Calculator for the steam properties after after a pressure drop for steam systems.
Calculator for turbines for steam systems.