How to use Variables and Differential Equations
Define a Function Including Several State Variables
Syntax |
VARVAL(model name.variable equation name) |
Return Value of The State Variable
Syntax |
DIF(model name.differential equation name) |
Return Value of The Time Derivative of The State Variable
Syntax |
DIF1 (model name. Differential equation name) |