Algebraic states are variables that do not have the differential operator ($) applied in any equation. These algebraic states are declared in the variables section.
! Example model with 2 algebraic equations Model example Parameters p = 1 End Parameters Variables v1 = 1 v2 = 2 End Variables Equations v1 = v2 + p 2*v1 * v2 = v1^2 End Equations End Model |