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.
|
#include <SteamModelRunner.h>
Public Member Functions | |
SteamModelCalculationsDomain | run (const bool isBaselineCalc, const double baselinePowerDemand, const HeaderInput &headerInput, const BoilerInput &boilerInput, const TurbineInput &turbineInput, const OperationsInput &operationsInput) const |
Private Member Functions | |
double | handleSteamBalanceException (const SteamBalanceException &e, const int iterationCount, const double initialMassFlow) const |
void | logSection (const std::string &message) const |
Private Attributes | |
const SteamModelCalculator | steamModelCalculator = SteamModelCalculator() |
const MassFlowCalculator | massFlowCalculator = MassFlowCalculator() |
Runs the Steam Model.
Definition at line 15 of file SteamModelRunner.h.
SteamModelCalculationsDomain SteamModelRunner::run | ( | const bool | isBaselineCalc, |
const double | baselinePowerDemand, | ||
const HeaderInput & | headerInput, | ||
const BoilerInput & | boilerInput, | ||
const TurbineInput & | turbineInput, | ||
const OperationsInput & | operationsInput | ||
) | const |
Repeatedly run the Steam Model algorithm until the system balances.
isBaselineCalc | true if this is a baseline calc run. |
baselinePowerDemand | Amount of the baseline power demand. |
headerInput | All of the headers input data. |
boilerInput | The boiler input data. |
turbineInput | All of the turbines input data. |
operationsInput | The operational input data. |
std::logic_error | when unable to attain balanced steam model. |
|
private |
Definition at line 34 of file SteamModelRunner.h.
|
private |
Definition at line 33 of file SteamModelRunner.h.