To create a new state variable:

  • Open the State Variable Editor by selecting State Variables… from the Edit menu in the Reservoir Network or Simulation module.
  • Select New from the StateVariable menu ("Figure: StateVariable Menu") of the State Variable Editor.

    Figure: StateVariable Menu


  • The New State Variable dialog ("Figure: New State Variable Dialog") will open. Enter a Name (and an optional Description) and click OK.

    Figure: New State Variable Dialog


  • The State Variable Editor will add the new variable to the Name selector and make it the selected variable. As such, the name of the new state variable will appear in the Name selector, the Parameter Name and Parameter Type fields will be blank, and the three script tabs will be filled with their relevant templates. "Figure: New State Variable in the State Variable Editor" illustrates the how the State Variable Editor will appear immediately after a new state variable is created.

    Figure: New State Variable in the State Variable Editor


  • Enter a Parameter Name for the state variable that you will be computing. This name will be used for the C part of the HEC-DSS pathname that will be written to the simulation.dss file for this state variable.
  • Select a Parameter Type from the selection list. The parameter type is used to determine the units of the state variable. If your state variable should be unitless, then select Code or Count for your variable's parameter type.