Welcome to the RAS Solution Forums HECRAS Controller Looping through Geometry and Flow Data

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #8168
    Anonymous
    Guest

    I have a set of 9 geometries that I want to run with 4 different flow files. I would like to set up match different geometries with different flow files then extract the output within VBA using the ras controller.

    I see a function to run the current plan, but I dont see anything to specify what the current plan is. For example is there a function to set the current plan to goem1 and flow file 2? Then I could run this plan and extract the ouput.

    thanks
    Brian

    #13491
    Anonymous
    Guest

    To clarify the us a “Plan_SetCurrent” function, but it would seem that I would alread have to have the plans constructed in HEC_RAS? I am wanting to contruct plans through the controller by selecting the specific geometry and steady flow file.

    #13492
    Anonymous
    Guest

    I a simple solution is to edit the text with desired geometry and flow file names in an existing plan file and resave to a new name.

    However, an annoying detail of this is that when you go to open up hec ras to view data it will not automatically load into the project. You have to import the plans through the gui which can take a long time. Anyone know how to import the plan to the project through the controller?

    #13493
    Chris G.
    Keymaster

    Brian, sorry not to respond to this sooner. You are on the right track in rewriting the plan files with the desired geometry and flow files. However, for RAS to automatically bring those geometry/flow files in, without manually importing them, you have to also write those geometry and flow files to the project (.prj) text file. Here’s an example of a project file with multiple plans and multiple geometry and flow files:

    Proj Title=Bald Eagle Creek Example Dam Break Study
    Current Plan=p13
    Default Exp/Contr=0.3,0.1
    English Units
    Geom File=g06
    Geom File=g08
    Geom File=g10
    Geom File=g11
    Geom File=g12
    Geom File=g09
    Geom File=g13
    Unsteady File=u07
    Unsteady File=u08
    Unsteady File=u09
    Unsteady File=u10
    Unsteady File=u11
    Unsteady File=u12
    Unsteady File=u13
    Unsteady File=u01
    Plan File=p13
    Plan File=p15
    Plan File=p17
    Plan File=p18
    Plan File=p19
    Plan File=p03
    Plan File=p04
    Y Axis Title=Elevation
    X Axis Title(PF)=Main Channel Distance
    X Axis Title(XS)=Station
    DSS Caption Additional Text=PMF Inflow Hydrograph

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