Additional error fixing in HEC-ResSim

This post will cover two additional error messages that can occur in the development of an HEC-ResSim model.  Special thanks to Logan Osgood-Jacobs of the Seattle District of the Corps of Engineers for supplying these screenshots.

Error 1:  Ghost Nodes

Ghost nodes, or nodes that you did not intend to include in the model, seem to periodically occur in the development of ResSim models.  I have gotten these when I have had to edit the watershed configuration and then perform an update to the reservoir network.  However, I believe that others have gotten ghost nodes in the initial development of the model.

So, how do you tell if you have a ghost node?  The most direct way is getting an error message similar to the one below when you compute your simulation.




This error message is indicating an issue with Node 81.  In the Reservoir Network Module, go to Reports > Advanced > Node List.  The report is shown below.  There is a node named, "Node 81".  Not having a ~E indicates that there is a problem.  Simply delete this node, go to the Simulation Module and "Replace from base" and re-simulate.  This should take care of the problem.  
  


Error 2: Physical Data Tables not Increasing

Typically, HEC-ResSim will give you an error message as you are inputting physical data into the model if your data are not increasing.  However, Logan got this error message during the simulation.  She had copied the physical data table from a spreadsheet to the ResSim model.  It appears that ResSim did not provide an error message at that time and, instead, provided an error message during the simulation.  This error was fixed by ensuring that the values in the table were increasing.






Comments

  1. Hello!

    Did anyone have error regarding computation?
    I got this message and computation fail at 25%.

    Starting Computations.
    Computing Hindcast
    Exception thrown during compute is:
    java.lang.ArrayIndexOutOfBoundsException: -1
    hec.model.SeasonalRecord.init(SeasonalRecord.java:57)
    hec.model.SeasonalRecord.interpolate(SeasonalRecord.java:208)
    hec.model.SeasonalRecord.interpolate(SeasonalRecord.java:235)
    hec.rss.model.StorageZone.getIndpVarValue(StorageZone.java:320)
    hec.rss.model.StorageZone.getElevation(StorageZone.java:383)
    hec.rss.model.OpSet.getActiveZone(OpSet.java:467)
    hec.rss.model.ReservoirOp.computeHindcastStep(ReservoirOp.java:689)
    hec.rss.model.ReservoirElement.computeHindcast(ReservoirElement.java:850)
    hec.rss.model.RssSystem.simulateHindcast(RssSystem.java:3388)
    hec.rss.model.RssSystem.compute(RssSystem.java:579)
    hec.rss.model.RssRun.a(RssRun.java:1117)
    hec.rss.model.RssRun.compute(RssRun.java:309)
    hec.rss.server.RssRmiWorkspaceImpl.computeAlternative(RssRmiWorkspaceImpl.java:124)
    hec.model.AbstractSimulation.computeModel(AbstractSimulation.java:1)
    hec.model.SimulationPeriod.a(SimulationPeriod.java:736)
    hec.model.SimulationPeriod.computeRun(SimulationPeriod.java:141)
    hec.client.hc.run(hc.java:3)
    java.lang.Thread.run(Unknown Source)

    ERROR: ResSim compute failed!

    COMPUTE FAILED

    I am new to this program so I don't know any background of this program.

    Thank you!
    Krešo

    ReplyDelete
    Replies
    1. It looks like your model stopped working at 25%. This usually means that the model did not begin the simulation but instead crashed due to a data issue. I am not sure what the data issue is from the error message, but you should check the physical data to make sure that you have the elevation-storage data defined along with the outlet data defined. If that looks ok, make sure that you have the zones defined in your operations set. You can check the post detailing the development of a ResSim model to make sure that you have all of the data defined correctly.

      Delete
    2. The example is in the August 10, 2015 post.

      Delete
    3. Thank You sooo much! I didn't defined zones, because my task is to simulate natural state of several fields in karst as reservoires, some sort of calibration. After natural state is properly simulated, I have to simulate hypothetical construction of retention at one of those karst fields, and to calculate how much water can be saved for accumulation downstream.

      Thank You again!
      With regards,
      Krešimir Pavlić

      Delete
  2. Thank you very much. This is very helpful.

    ReplyDelete
  3. Hello!

    Did anyone have error regarding computation?
    I got this message and computation fail at 10%.

    Initializing Simulation Compute.
    Saving Simulation Files...


    Performing Simulation for SISMG3----0
    Running ResSim alternative SISMG3----0

    ResSim Compute
    Build Version: 3.1.8.73R, April 2013
    Program-Determined Flow Computation Method: Period Average

    Evaluating Routing for Downstream Operations
    Reservoir: Presa Calachaka

    Computing Cumulative Local Flow
    RssSystem.orderElementsForCompute: element order index, -1 is out of range at position 27
    ResSim ERROR: Failed to compute cumulative local flows

    ERROR: ResSim compute failed!

    Check Compute Log for details

    ReplyDelete
    Replies
    1. Since your model only ran to 10%, it appears that you have a data issue. Do you have an inflow time series mapped for the upstream end of your model including any modeled tributaries?

      Delete
    2. The August 10, 2015 post details the development of a model step by step. It may provide some help in determining what the error is.

      Delete
  4. Hellow!

    I got error message like below and simulation fail at 15%.

    ------------
    Routing.checkForecastCalc: invalid flow calculation
    Flow (cfs) = -3.4028234663852886E38
    Element: CP2 to NN_Junction 2 0901
    Date and Time: 02Jan2002
    RssSystem.simulateHindcast: Hindcast compute failed for element CP2 to NN_Junction 2 0901
    RssSystem.compute: Hindcast simulation failed
    ResSim ERROR: System Computations failed!
    ResSim ERROR: Failed to compute unregulated flows

    ERROR: ResSim compute failed!
    ------------

    Could you give me hint to solve the Computations fail?

    PS. If you want download Data File, refer below link

    http://bigmail2.nate.com/download/sid=-3&info=673a4d7d6ab7db99283cba8d9a2d58c05d9f58728847a8b59eeb85b683235116876731d939210e4c56d242ae31f172b583cdf108efb772ab68f9878cba74e90dbdeb54c5aa406aceeeaf602737b8e208

    ReplyDelete
    Replies
    1. I believe you have missing lookback data. See the post from March 20, 2015. Your error message looks similar to Error #7.

      Delete
  5. Since your model only ran to 10%, it appears that you have a data issue. Do you have an inflow time series mapped for the upstream end of your model including any modeled tributaries?
    Junction.initialize: Failed to get inflow TS array from node Node 7
    Junction: CP1
    Failed to initialize Element CP1
    ResSim ERROR: Failed to initialize Network
    ResSim ERROR: Failed to compute cumulative local flows

    ERROR: ResSim compute failed!

    ReplyDelete
  6. Element: CP7 to Point D
    Date and Time: 02Jan2012
    RssSystem.simulateForecast: Forecast compute failed for element CP7 to Point D
    RssSystem.compute: Forecast simulation failed
    ResSim ERROR: System Computations failed!
    ResSim ERROR: Failed to compute regulated flows

    ERROR: ResSim compute failed!

    hey I got Above error Kindly Assist

    ReplyDelete
  7. Hi, I got the below error message and simulation failed at 48%.

    Routing.checkForecastCalc: invalid flow calculation
    Flow (cfs) = Infinity
    Element: Junction 50 to Bkt Jenuk Inflow
    Date and Time: 31Dec2015
    RssSystem.simulateForecast: Forecast compute failed for element Junction 50 to Bkt Jenuk Inflow
    RssSystem.compute: Forecast simulation failed
    ResSim ERROR: System Computations failed!
    ResSim ERROR: Failed to compute regulated flows

    ERROR: ResSim compute failed!

    Please help! Thank you.

    ReplyDelete
    Replies
    1. I believe you have missing lookback data. Also, check to make sure that the upstream end of each tributary and the main stem of the river has inflow values. It is probably one of those two issues based on what the error message is showing. You can refer to this blog post for an example. Your error message looks similar to Error #7.

      https://hec-ressim.blogspot.com/2015/03/how-do-i-fix-my-errors.html

      Delete
  8. Hiya,

    I have received this error:

    Routing.checkForecastCalc: invalid flow calculation
    Flow (cfs) = NaN
    Element: CP2 to Downstream end of model
    Date and Time: 01Jan2016 0200
    RssSystem.simulateForecast: Forecast compute failed for element CP2 to Downstream end of model
    RssSystem.compute: Forecast simulation failed
    ResSim ERROR: System Computations failed!
    ResSim ERROR: Failed to compute regulated flows

    ERROR: ResSim compute failed!

    Check Compute Log for details

    Upon reading earlier comments, I edited the inflow timeseries to be cumulative in excel (is this correct?), and as the error says cfs, I have changed the units to cfs even though I am working in SI units to see if it would work.

    Any help would be really appreciated!

    Thanks,
    Anurada

    ReplyDelete
    Replies
    1. Don't worry! I've got it.

      I was using an outdated version of HEC-ResSim!

      Delete
  9. Hi.
    I have recieved this error in simulation compute. 25%
    Failed to initialize Element Xudaferin s.a
    ResSim ERROR: Failed to initialize Network
    ResSim ERROR: Failed to compute regulated flows

    ERROR: ResSim compute failed!

    Please help! Thanks.

    Farid

    ReplyDelete
    Replies
    1. Farid, I believe you are missing lookback data in your model. See error #3 in this post: https://hec-ressim.blogspot.com/2015/03/how-do-i-fix-my-errors.html

      It looks similar to your error.

      Delete


  10. Hi I have recieved this error. can anyone help me with this?

    Computing Cumulative Local Flow
    Error in TSRecord.loadTSData. Input timeseries /MANGLA/FEBRUARY/FLOW//1DAY/MANGLA MODEL/. Period Average Data can not be interpolated as Instantaneous data
    ResSim ERROR: Failed to load time-series records
    ResSim ERROR: Failed to compute cumulative local flows

    ERROR: ResSim compute failed!

    ReplyDelete
    Replies
    1. This is something similar to the error message above. Make sure that you specify inflow values at the upstream end of your main channel and any modeled tributaries. Make sure that your data is continuous with no gaps. Make sure that you have lookback data. Also, even though ResSim can handle data types of a different time step than what you specify for the simulation, I tend to like to make the dss pathname that I am using the same timestep as the simulation. I can show how to do that in another post.

      Delete
  11. hello
    im getting error after 25%
    the error is "Changing input timeseries /TARBELA/RESERVOIR/INFLOWS//TRI-MONTH/OBS/ time interval. Was 14400 minutes. Converted to 1440 minute interval.
    "
    can you help me how to fix this
    thanks

    ReplyDelete
  12. Hello friends!
    I've been trying to run the simulation for a single reservoir network and encountered the following error at 63%. Anyone please help me with this. Thanks in advance.
    Initializing Simulation Compute.
    Saving Simulation Files...


    Performing Simulation for Alternate-0
    Running ResSim alternative Alternate-0
    Using Compute Launcher Default Compute Launcher

    ResSim Compute
    Build Version: 3.3.2.33R, December 2020
    Initialization Start
    Program-Determined Flow Computation Method: Instantaneous
    Initialization Complete

    Computing Cumulative Local Flow

    Computing Unregulated Flow

    Computing Regulated Flow
    ReservoirSystem.GenerationErrorFunc: bisectRoot: x=Infinity fx=NaN i=200 NC at 19Aug2020, 01:00
    ReservoirSystem.GenerationErrorFunc: bisectRoot: x=Infinity fx=NaN i=200 NC at 19Aug2020, 01:00
    ReservoirSystem.GenerationErrorFunc: bisectRoot: x=Infinity fx=NaN i=200 NC at 19Aug2020, 02:00
    .......................................................................................................................................................................
    ReservoirSystem.GenerationErrorFunc: bisectRoot: x=Infinity fx=NaN i=200 NC at 24Aug2020, 24:00
    ReservoirSystem.GenerationErrorFunc: bisectRoot: x=Infinity fx=NaN i=200 NC at 24Aug2020, 24:00
    Routing.checkForecastCalc: invalid flow calculation
    Flow (cfs) = Infinity
    Element: CP2 to Narsingpur
    Date and Time: 19Aug2020 0100
    RssSystem.simulateForecast: Forecast compute failed for element CP2 to Narsingpur
    RssSystem.compute: Forecast simulation failed
    ResSim ERROR: System Computations failed!
    ResSim ERROR: Failed to compute regulated flows
    Total Compute Time 0 Seconds.

    ERROR: ResSim compute failed!

    Check Compute Log for details

    ReplyDelete

Post a Comment