Table of Contents

Class PlantSimulatorInitializer

Namespace
TimeSeriesAnalysis.Dynamic
Assembly
TimeSeriesAnalysis.dll

Intializes a plant simulator in the first data point

Currently, only initalizing to steady-state is supported.

By design choice, this class traverses the models by logic to initialize the plant model rather than using mathematical programming/matrix solvers.

public class PlantSimulatorInitializer
Inheritance
PlantSimulatorInitializer
Inherited Members

Constructors

PlantSimulatorInitializer(PlantSimulator)

Constructor

public PlantSimulatorInitializer(PlantSimulator simulator)

Parameters

simulator PlantSimulator

simulator object that already includes connections,models and signals to be simulated

Methods

ToSteadyStateAndEstimateDisturbances(ref TimeSeriesDataSet, ref TimeSeriesDataSet, Dictionary<string, List<string>>)

Initalize the empty datasets to their steady-state values

public bool ToSteadyStateAndEstimateDisturbances(ref TimeSeriesDataSet inputData, ref TimeSeriesDataSet simData, Dictionary<string, List<string>> compLoopDict)

Parameters

inputData TimeSeriesDataSet

non-simulated time-series external inputs

simData TimeSeriesDataSet

simulation dataset containing only the external signals. The new simulated variables are added to this variable with initial values.

compLoopDict Dictionary<string, List<string>>

dictionary of all computational loops

Returns

bool