Sometimes ResSim will not let you create a new trial after you deleted a trial.

Step-by-step guide

With ResSim closed, in the watershed's rss folder find the simulation's file (.simperiod) for the simulation being used.

1. save a copy of the .simperiod file.
2. find the FLD=_trialsList line. between the *

{COLLECT* and the *}

COLLECT* lines remove the STR= line for the trial to delete.

3. find the FLD=_modelTrials line. find the MAP entry line for the alternative in question, (STR=<alt name) and remove the trial from the *

{COLLECT* ... *}

COLLECT* block

4. find the FLD=_currentTrials line, between the *

{MAP* and the *}

MAP* lines remove the STR= line and the *

{=hec.model.TrialReference* block 5. find the *FLD=_allTrials* line, between the *\{MAP* and the *}

MAP* lines remove the STR= line and the {=hec.model.AltItem block

The trial in question may or may not be in all the areas listed above.

So if you want to remove the trial with the name ResSim trial Base_WCM–1, (the file being edited won't look exactly like the samples below.)


Step 1. save the simperiod file.

Step 2

FLD=_trialList
  {=java.util.Vector
    ID=6
    {COLLECT
      STR=ResSim trial 5D_SVD----1
      STR=ResSim trial Base_WCM--1    <--remove this line
      STR=ResSim trial Base_WCM--1    <--remove this line
    }COLLECT
  }

Step 3

FLD=_modelTrials
  {=java.util.Hashtable
    ID=7
    {MAP
      STR=rss
      {=java.util.Hashtable
        ID=8
        {MAP
          STR=Base_WCM
          {=java.util.Vector
            ID=9
            {COLLECT
              STR=Base_WCM--0
              STR=Base_WCM--1     <--- remove this line
            }COLLECT
          }
          STR=ModHyb
          {=java.util.Vector
            ID=10
            {COLLECT
              STR=ModHyb----0
            }COLLECT
          }
          STR=5D_SVD
          {=java.util.Vector
            ID=11
            {COLLECT
              STR=5D_SVD----0
              STR=5D_SVD----1
            }COLLECT
          }
        }MAP
      }
    }MAP
  }

Step 4

FLD=_currentTrials
  {=java.util.Hashtable
    ID=13
    {MAP
      STR=Base_WCM--0:1                  ---|
      {=hec.model.TrialReference            |
        ID=14                               |
        FLD=mgrIndex                        |
        I=1                                 | <--- remove this block
        FLD=modelPosition                   |
        I=0                                 |
        FLD=trialKey                        | 
        STR=Base_WCM--0                     |
      }                                  ---| 
      STR=5D_SVD----0:1
      {=hec.model.TrialReference
        ID=15
        FLD=mgrIndex
        I=15
        FLD=modelPosition
        I=0
        FLD=trialKey
        STR=5D_SVD----0
      }
      STR=ModHyb----0:1
      {=hec.model.TrialReference
        ID=16
        FLD=mgrIndex
        I=9
        FLD=modelPosition
        I=0
        FLD=trialKey
        STR=ModHyb----0
      }
    }MAP
  }

Step 5.

FLD=_allTrials
  {=java.util.Hashtable
    ID=17
    {MAP
      STR=5D_SVD----1:1
      {=hec.model.AltItem
        ID=18
        FLD=_program
        STR=rss
        FLD=_altName
        STR=5D_SVD
        FLD=_inputPos
        I=0
        FLD=_modelPos
        I=1
        FLD=_altIndex
        I=23
      }
      STR=ModHyb----:1
      {=hec.model.AltItem
        ID=19
        FLD=_program
        STR=rss
        FLD=_altName
        STR=ModHyb
        FLD=_inputPos
        I=0
        FLD=_modelPos
        I=1
        FLD=_altIndex
        I=9
      }
      STR=5D_SVD----:1
      {=hec.model.AltItem
        ID=20
        FLD=_program
        STR=rss
        FLD=_altName
        STR=5D_SVD
        FLD=_inputPos
        I=0
        FLD=_modelPos
        I=1
        FLD=_altIndex
        I=15
      }
      STR=Base_WCM--:1     ----
      {=hec.model.AltItem     |
        ID=21                 |
        FLD=_program          |
        STR=rss               |
        FLD=_altName          |
        STR=Base_WCM          |  remove this block
        FLD=_inputPos         |
        I=0                   |
        FLD=_modelPos         |
        I=1                   |
        FLD=_altIndex         |
        I=1                   |
      }                  -----
    }MAP
  }