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
EnergyAndCostCalculationsDomain.h
1#ifndef TOOLS_SUITE_ENERGYANDCOSTCALCULATIONSDOMAIN_H
2#define TOOLS_SUITE_ENERGYANDCOSTCALCULATIONSDOMAIN_H
3
5 public:
6 const double powerGenerated;
7 const double sitePowerImport;
8 const double powerDemand;
9 const double powerGenerationCost;
10 const double boilerFuelCost;
11 const double makeupWaterCost;
12 const double totalOperatingCost;
13 const double boilerFuelUsage;
14
15 friend std::ostream& operator<<(std::ostream& stream, const EnergyAndCostCalculationsDomain& domain) {
16 stream << "EnergyAndCostCalculationsDomain[" << "powerGenerated=" << domain.powerGenerated
17 << ", sitePowerImport=" << domain.sitePowerImport << ", powerDemand=" << domain.powerDemand
18 << ", powerGenerationCost=" << domain.powerGenerationCost << ", boilerFuelCost=" << domain.boilerFuelCost
19 << ", makeupWaterCost=" << domain.makeupWaterCost << ", totalOperatingCost=" << domain.totalOperatingCost
20 << ", boilerFuelUsage=" << domain.boilerFuelUsage << "]";
21 return stream;
22 }
23};
24
25#endif // TOOLS_SUITE_ENERGYANDCOSTCALCULATIONSDOMAIN_H