Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Simulation" /> class.
 /// </summary>
 /// <param name="stateMatrix">The state matrix.</param>
 /// <param name="inputMatrix">The input matrix.</param>
 /// <param name="outputMatrix">The output matrix.</param>
 /// <param name="feedthroughMatrix">The feedthrough matrix.</param>
 /// <param name="initialStateVector">The initial state vector.</param>
 /// <param name="controlVector">The control vector.</param>
 public Simulation(IStateMatrix stateMatrix, IInputMatrix inputMatrix, IOutputMatrix outputMatrix, IFeedthroughMatrix feedthroughMatrix, IStateVector initialStateVector, IControlVector controlVector)
 {
     StateMatrix       = stateMatrix;
     InputMatrix       = inputMatrix;
     OutputMatrix      = outputMatrix;
     FeedthroughMatrix = feedthroughMatrix;
     StateVector       = initialStateVector;
     ControlVector     = controlVector;
     _simulationTime   = new SimulationTime();
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="Simulation" /> class.
 /// </summary>
 /// <param name="stateMatrix">The state matrix.</param>
 /// <param name="inputMatrix">The input matrix.</param>
 /// <param name="outputMatrix">The output matrix.</param>
 /// <param name="feedthroughMatrix">The feedthrough matrix.</param>
 /// <param name="initialStateVector">The initial state vector.</param>
 /// <param name="controlVector">The control vector.</param>
 public Simulation(IStateMatrix stateMatrix, IInputMatrix inputMatrix, IOutputMatrix outputMatrix, IFeedthroughMatrix feedthroughMatrix, IStateVector initialStateVector, IControlVector controlVector)
 {
     StateMatrix = stateMatrix;
     InputMatrix = inputMatrix;
     OutputMatrix = outputMatrix;
     FeedthroughMatrix = feedthroughMatrix;
     StateVector = initialStateVector;
     ControlVector = controlVector;
     _simulationTime = new SimulationTime();
 }