Integrators

QuantizedSystemSolver.integrateMethod
integrate(Al::QSSAlgorithm{:qss,O}, CommonqssData::CommonQSS_Data{0}, odep::NLODEProblem{F,PRTYPE,T,D,0,CS}, f::Function, jac::Function, SD::Function) where {F,PRTYPE,O,T,CS,D}

Integrates a nonlinear ordinary differential equation (ODE) problem using a Quantized State System (QSS) algorithm.

Arguments

  • Al::QSSAlgorithm{:qss,O}: The QSS algorithm to be used for integration.
  • CommonqssData::CommonQSS_Data{0}: Common data structure for QSS integration.
  • odep::NLODEProblem{F,PRTYPE,T,0,0,CS}: The nonlinear ODE problem to be solved.
  • f::Function: The function defining the ODE system.
  • jac::Function: The Jacobian dependency function of the ODE system.
  • SD::Function: The state derivative dependency function.

Returns

  • A solution
source
QuantizedSystemSolver.integrateMethod
integrate(Al::QSSAlgorithm{:qss,O}, CommonqssData::CommonQSS_Data{Z}, odep::NLODEProblem{F,PRTYPE,T,D,Z,CS}, f::Function, jac::Function, SD::Function) where {F,PRTYPE,O,T,D,Z,CS}

Integrates a nonlinear ordinary differential equation (ODE) problem with events using a Quantized State System (QSS) algorithm.

Arguments

  • Al::QSSAlgorithm{:qss,O}: The QSS algorithm to be used for integration.
  • CommonqssData::CommonQSS_Data{Z}: Common data structure for QSS algorithms.
  • odep::NLODEProblem{F,PRTYPE,T,D,Z,CS}: The nonlinear ODE problem to be solved.
  • f::Function: The function defining the ODE system.
  • jac::Function: The Jacobian dependency function of the ODE system.
  • SD::Function: The state derivative dependency function.

Type Parameters

  • PRTYPE: The type of the problem.
  • O: The order of the QSS algorithm.
  • T: The number of continuous variables.
  • Z: The number of zero crossing functions.
  • D: The number of discrete variables
  • CS: The cache size.

Returns

  • A solution
source
QuantizedSystemSolver.integrateMethod
integrate(Al::QSSAlgorithm{:liqss,O}, CommonqssData::CommonQSS_Data{Z}, liqssdata::LiQSS_Data{O,3}, odep::NLODEProblem{F,PRTYPE,T,D,Z,CS}, f::Function, jac::Function, SD::Function, exactA::Function) where {F,PRTYPE,O,T,D,Z,CS}

Integrates a nonlinear ordinary differential equation (ODE) problem with events using the LiQSS (Linearized Quantized State System) algorithm.

Arguments

  • Al::QSSAlgorithm{:liqss,O}: The QSS algorithm type for LiQSS.
  • CommonqssData::CommonQSS_Data{Z}: Common data structure for QSS algorithms.
  • liqssdata::LiQSS_Data{O,1}: Data structure specific to the LiQSS algorithm.
  • odep::NLODEProblem{F,PRTYPE,T,D,Z,CS}: The nonlinear ODE problem to be solved.
  • f::Function: The function defining the ODE system.
  • jac::Function: The Jacobian dependency function of the ODE system.
  • SD::Function: The state derivative dependency function.
  • exactA::Function: The exact jacobian expression function for the ODE system.

Returns

  • A solution after the integration process.
source
QuantizedSystemSolver.integrateMethod
integrate(Al::QSSAlgorithm{:liqss,O}, CommonqssData::CommonQSS_Data{0}, liqssdata::LiQSS_Data{O,3}, odep::NLODEProblem{F,PRTYPE,T,D,0,CS}, f::Function, jac::Function, SD::Function, exactA::Function) where {F,PRTYPE,CS,O,T,D}

Integrates a nonlinear ordinary differential equation (ODE) problem (without events) using the LiQSS (Linearized Quantized State System) algorithm.

Arguments

  • Al::QSSAlgorithm{:liqss,O}: The QSS algorithm type with the liqss method.
  • CommonqssData::CommonQSS_Data{0}: Common QSS data structure.
  • liqssdata::LiQSS_Data{O,1}: LiQSS-specific data structure.
  • odep::NLODEProblem{F,PRTYPE,T,0,0,CS}: Nonlinear ODE problem to be solved.
  • f::Function: The function defining the ODE system.
  • jac::Function: The Jacobian dependency function of the ODE system.
  • SD::Function: The state derivative dependency function.
  • exactA::Function: The exact jacobian expression function for the ODE system.

Returns

  • A solution.
source
QuantizedSystemSolver.integrateMethod
integrate(Al::QSSAlgorithm{:nmliqss,O}, CommonqssData::CommonQSS_Data{Z}, liqssdata::LiQSS_Data{O,M}, odep::NLODEProblem{F,PRTYPE,T,D,Z,CS}, f::Function, jac::Function, SD::Function, exactA::Function) where {F,PRTYPE,O,T,D,Z,CS,M}

Integrates a nonlinear ordinary differential equation (ODE) problem with events using the nmLiqss (modified Liqss that detect events) discrete integrator algorithm.

Arguments

  • Al::QSSAlgorithm{:nmliqss,O}: The QSS algorithm type for nmLiqss.
  • CommonqssData::CommonQSS_Data{Z}: Common QSS data structure.
  • liqssdata::LiQSS_Data{O,M}: LiQSS data structure.
  • odep::NLODEProblem{F,PRTYPE,T,D,Z,CS}: Nonlinear ODE problem to be solved.
  • f::Function: The function defining the ODE system.
  • jac::Function: The Jacobian dependency function of the ODE system.
  • SD::Function: The state derivative dependency function.
  • exactA::Function: The exact jacobian expression function for the ODE system.

Returns

  • A solution.
source
QuantizedSystemSolver.integrateMethod
integrate(Al::QSSAlgorithm{:nmliqss,O}, CommonqssData::CommonQSS_Data{0}, liqssdata::LiQSS_Data{O,M}, odep::NLODEProblem{F,PRTYPE,T,D,0,CS}, f::Function, jac::Function, SD::Function, exactA::Function) where {F,PRTYPE,CS,O,T,D,M}

Integrates a nonlinear ordinary differential equation (ODE) problem (without events) using the nmLiqss (modified Liqss that detect events) algorithm.

Arguments

  • Al::QSSAlgorithm{:nmliqss,O}: The QSS algorithm to be used for integration.
  • CommonqssData::CommonQSS_Data{0}: Common data structure for QSS algorithms.
  • liqssdata::LiQSS_Data{O,M}: Data specific to the LiQSS algorithm.
  • odep::NLODEProblem{F,PRTYPE,T,0,0,CS}: The nonlinear ODE problem to be solved.
  • f::Function: The function defining the ODE system.
  • jac::Function: The Jacobian dependency function of the ODE system.
  • SD::Function: The state derivative dependency function.
  • exactA::Function: The exact jacobian expression function for the ODE system.

Returns

  • A solution
source