From APMonitor Documentation

Main: AlgebraicVariables

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

 ! 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
Retrieved from http://www.apmonitor.com/wiki/index.php/Main/AlgebraicVariables
Page last modified on June 16, 2015, at 06:42 PM