Welcome to the RAS Solution Forums HEC-RAS Help Runtime error in sediment model

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #5429
    dpender
    Participant

    Hi all,

    I am trying to run a sediment transport simulation but get the following runtime error:

    Run-time error ’91’:

    Object variable or With block variable not set

    The model is stable for both steadt and unsteady flow simulations so I’m not sure of the problem.

    Has anyone experienced this before?

    Cheers,

    Doug

    #8679
    Chris G.
    Keymaster

    A run-time error is a bug in the source code. You should send a bug report to HEC. Until you hear back from them, you can go through all of your input data and make sure it is all correct and logical. If input data is all good, you may want to try a different version of HEC-RAS and see if that helps.

    #8680
    BobDobbs
    Participant

    Definitely check your input data. The Ras Sediment functions do very little data validation. I’ve seen the “Object variable or With block variable not set” pop up as a result of trying to pass null data. Sometimes you cannot see this in the viewer so you may want to check your .s## input file which is ascii xml format.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.