ODE RHS#

User-supplied ODE right-hand side x’ = f(t, x, u), separated by ‘;’ for multi-state systems (x1..xn, u1..um, t). Integrated by the run’s solver.

rhs · control · no feedthrough: a feedback loop may pass through it

Inputs#

Port

Type

Unit

Components

u

numbers

—

—

Outputs#

Port

Type

Unit

Components

x

numbers

—

—

Parameters#

Param

Type

Default

Options or unit

f

text

"-x"

—

x0

matrix

"0"

—

solver

enum

"auto"

auto, rk4, rk45, rk2, euler, discrete