Use a Device States node (

) to define variables that will be forced to become states. Enter the initial expression in the corresponding column in the table under
State Components.
The detailed settings for a device states are almost identical to the ones for the device variable, with the same Edit Variable toolbar button. The only difference is that there is no
Advanced section with the
Elimination weight field in the dialog (see
Edit Variables for Device Variables, Device Parameters, Device Constants, Device States, Discrete Device States, and Port Variables). The elimination weight does not make sense in this context because a state variable can never be eliminated. It is recommended to only use state variables for variables whose time derivative also appears in a device equation.