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
LowPressureVentedSteamCalculationsDomain.h
1#ifndef TOOLS_SUITE_LOWPRESSUREVENTEDSTEAMCALCULATIONSDOMAIN_H
2#define TOOLS_SUITE_LOWPRESSUREVENTEDSTEAMCALCULATIONSDOMAIN_H
3
5#include <steamModeler/SteamSystemModelerTool.h>
6
7#include "MakeupWaterVolumeFlowCalculationsDomain.h"
8
10 public:
11 double lowPressureVentedSteam;
13 SteamSystemModelerTool::FluidProperties makeupWaterAndCondensateHeaderOutputUpdated;
14 MakeupWaterVolumeFlowCalculationsDomain makeupWaterVolumeFlowCalculationsDomain;
15 Deaerator deaerator;
16
17 friend std::ostream& operator<<(std::ostream& stream, const LowPressureVentedSteamCalculationsDomain& domain) {
18 stream << "LowPressureVentedSteamCalculationsDomain["
19 << "lowPressureVentedSteam=" << domain.lowPressureVentedSteam << ", makeupWater=" << domain.makeupWater
20 << ", makeupWaterAndCondensateHeaderOutputUpdated=" << domain.makeupWaterAndCondensateHeaderOutputUpdated
21 << ", makeupWaterVolumeFlowCalculationsDomain=" << domain.makeupWaterVolumeFlowCalculationsDomain
22 << ", deaerator=" << domain.deaerator << "]";
23 return stream;
24 }
25
26 friend std::ostream& operator<<(std::ostream& stream,
27 const std::shared_ptr<LowPressureVentedSteamCalculationsDomain>& domain) {
28 if (domain == nullptr) {
29 stream << "LowPressureVentedSteamCalculationsDomain[nullptr]";
30 }
31 else {
32 stream << *domain;
33 }
34 return stream;
35 }
36};
37
38#endif // TOOLS_SUITE_LOWPRESSUREVENTEDSTEAMCALCULATIONSDOMAIN_H
Calculator for the deaerator for steam systems.