Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Gate operation rules for HEC-RAS 2D #17653
    Nurlan Ongdas
    Participant

    Hi Zain,

    yeah, I was able to sort this thing. For that particular cell (you need elevation data from) you need to create a reference point in the geometry editor. Then during the Rules writing, you should choose that specific reference point (available at the bottom of Simulation variables tab). For more information you can check the following paper of mine: https://www.mdpi.com/2079-3197/11/2/27

    Below is my script that I used to give you an idea. Hope this helps

    ‘rp26-1′ = Reference Points: WS Elevation(rp26-1, Value at current time step)
    ‘rp26-2′ = Reference Points: WS Elevation(rp26-2, Value at current time step)
    If (‘rp26-1′ > Elevation 1) And (‘rp26-2′ < Elevation 2) Then
    Gate.Opening(Gate 26) = 0.89
    Else
    Gate.Opening(Gate 26) = 0
    End If

    Mfg,
    Nurlan

    Nurlan Ongdas
    Participant

    Dear Mr Goodell,

    thanks for your answer. I can’t seem to find any mentioning of reference points in HEC-RAS manual. Can you please point at literature or other references, where I can learn more about the use of Reference Points.
    Thanks a lot in advance!
    Nurlan

Viewing 2 posts - 1 through 2 (of 2 total)