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
simulatorPlantSimulatorsimulator 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
inputDataTimeSeriesDataSetnon-simulated time-series external inputs
simDataTimeSeriesDataSetsimulation dataset containing only the external signals. The new simulated variables are added to this variable with initial values.
compLoopDictDictionary<string, List<string>>dictionary of all computational loops