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
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SteamModelRunner Class Reference

#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()
 

Detailed Description

Runs the Steam Model.

Definition at line 15 of file SteamModelRunner.h.

Member Function Documentation

◆ run()

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.

Parameters
isBaselineCalctrue if this is a baseline calc run.
baselinePowerDemandAmount of the baseline power demand.
headerInputAll of the headers input data.
boilerInputThe boiler input data.
turbineInputAll of the turbines input data.
operationsInputThe operational input data.
Returns
The Steam Modeler processing results.
Exceptions
std::logic_errorwhen unable to attain balanced steam model.

Member Data Documentation

◆ massFlowCalculator

const MassFlowCalculator SteamModelRunner::massFlowCalculator = MassFlowCalculator()
private

Definition at line 34 of file SteamModelRunner.h.

◆ steamModelCalculator

const SteamModelCalculator SteamModelRunner::steamModelCalculator = SteamModelCalculator()
private

Definition at line 33 of file SteamModelRunner.h.


The documentation for this class was generated from the following file: