
For the option: | Do the following: |
|---|---|
Name | Enter the name that you want assigned to the state variable. |
Definition | Set to either: ■Run-time Expression ■User written subroutine Learn more about Ways to Define State Variables. |
F(time...,) = | ■If you selected Run-time Expression, enter the function expression that defines the variable. Select the More button to display the Function Builder and build an expression. See the Adams View Function Builder online help.■If you selected User written subroutine, enter constants to the user-written subroutine VARSUB to define a variable. See the Subroutines section of the Adams Solver online help. |
Routine | Specify an alternative library and name for the user subroutine VARSUB. Learn about specifying routines with ROUTINE Argument. |
Guess for F(1, 0..) and | Select and then specify an approximate initial value for the variable, if desired. Adams Solver may adjust the value when it performs an Initial conditions simulation. Entering an accurate value for initial conditions can help Adams Solver converge to the initial conditions solution. |