Class PlantSimulatorInitalizer
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.
Inherited Members
Namespace: TimeSeriesAnalysis.Dynamic
Assembly: TimeSeriesAnalysis.dll
Syntax
public class PlantSimulatorInitalizer
Constructors
| Edit this page View SourcePlantSimulatorInitalizer(PlantSimulator)
Constructor
Declaration
public PlantSimulatorInitalizer(PlantSimulator simulator)
Parameters
Type | Name | Description |
---|---|---|
PlantSimulator | simulator | simulator object that already includes connections,models and signals to be simulated |
Methods
| Edit this page View SourceToSteadyStateAndEstimateDisturbances(ref TimeSeriesDataSet, ref TimeSeriesDataSet, Dictionary<string, List<string>>)
Initalize the empty datasets to their steady-state values
Declaration
public bool ToSteadyStateAndEstimateDisturbances(ref TimeSeriesDataSet inputData, ref TimeSeriesDataSet simData, Dictionary<string, List<string>> compLoopDict)
Parameters
Type | Name | Description |
---|---|---|
TimeSeriesDataSet | inputData | non-simulated time-series external inputs |
TimeSeriesDataSet | simData | simulation dataset containing only the external signals. The new simulated variables are added to this variable with initial values. |
Dictionary<string, List<string>> | compLoopDict | dictionary of all computational loops |
Returns
Type | Description |
---|---|
bool |