Solution Extension

Similar to extending the entities Problem and Algorithm, the Solution entity can be extended by subclassing :

QuantizedSystemSolver.SolType

Sol{T,O} This is superclass for all QSS solutions. It is parametric on these:

- The number of continuous variables T

- The order of the algorithm O
source

A current implemented concrete solution type is:

QuantizedSystemSolver.LightSolType

LightSol{T,O} A struct that holds the solution of a system of ODEs. It has the following fields:

- size: The number of continuous variables T

- order: The order of the algorithm O

- savedTimes: A vector of vectors of Float64 that holds the times at which the continuous variables were saved

- savedVars: A vector of vectors of Float64 that holds the values of the continuous variables at the times they were saved

- algName: The name of the algorithm used to solve the system

- sysName: The name of the system

- absQ: The absolute tolerance used in the simulation

- totalSteps: The total number of steps taken by the algorithm

- simulStepCount: The number of simultaneous updates during the simulation

- evCount: The number of events that occurred during the simulation

- numSteps: A vector of Int that holds the number of steps taken by the algorithm for each continuous variable

- ft: The final time of the simulation
source