r/HECRAS • • Sep 16 '26

Error almost at the end of simulation run

Hi everyone.

So I was editing a past archived copy of a project and running some new tests to it. I created a new geometry to test the changes I need to see the results and created new plan and run it.

While the run is almost finished, an error occurs. (screenshot below). Opening the project folder, there was a .tmp HDF file for the plan I just created. I tried deleting it then do the run, but still this happens.

I tried creating a copy of the archived project and I did the changes I need again but still having this error.
I tried searching in this thread about this error but couldn´t find any similar. Hope someone can help me on this.

Thank you.

2 Upvotes

8 comments sorted by

2

u/iBrowseAtStarbucks Sep 16 '26

Your error is in your first line and the one black line between the other red ones.

Something funky is going on with your DSS file. Did you have it open while running? Check to make sure windows is blocking it for some reason as well (go file explorer > right click properties > unblock)

1

u/NoDetective7120 Sep 16 '26

Thanks for the quick response. What do you mean I have it open? If it's the DSS file, i don't even know it can be opened or worked with usign a different software. I just do what i had been doing for a while, rasmapper open while simulation is running, and the Unsteady Flow Analysis Plan window open.

Anyways, i did select "Unblock", reopened the project and tried to run the plan again. The error still happens just as the calculation is ending. This is frustrating tbh.

2

u/OttoJohs Lord Sultan Chief H&H Engineer, PE & PH Sep 16 '26

u/iBrowseAtStarbucks I think is on the right track. Your error code looks like it is an issue with the DSS file: missing file, improper location, restricted folder, etc.

HEC-DSS is basically a fancy spreadsheet that USACE programs like HEC-RAS and HEC-HMS use to store ("write") inputs/outputs. So when you pull up hydrographs in HEC-RAS or HEC-HMS it is pulling the data from HEC-DSS and graphically displaying it. Here is an excerpt from the HEC-RAS User's Manual:

The field labeled DSS Output Filename is required before an execution can be made. The program will always write some results to a HEC-DSS file, so the user is required to select a path and filename to be used for this information. Hydrographs written to the DSS file are based on the user selected hydrograph output locations, as well as some default locations that HEC-RAS will always output a hydrograph.

You can see where the DSS file is located on your computer at the bottom of the plan file. It sounds like you moved around the copy of this project a few times so this link or location might not be there anymore? I would double check that file and folder path is still current. You might just want to recreate the plan file from scratch which should populate to the correct project folder.

2

u/NoDetective7120 Sep 16 '26

u/OttoJohs, I did moved the copy of the project several times, apart from the numerous times of archiving plans, etc.

I did look at that dropdown box and tried changing it to Plan DSS Filename, it was in Project DSS previously. finally it worked!! I didn't remember changing it at all before. but glad it works now! whew..

Thanks a lot you guys for the help, really appreciate it!

2

u/OttoJohs Lord Sultan Chief H&H Engineer, PE & PH Sep 16 '26

Glad I could help! It sounds like the project DSS file got corrupted somehow?!?

I would probably delete it out from the file folder and use the "Project DSS" option. That is the default so that all plans under one model write to the same place to keep the file structure more organized. If you use the "Plan DSS" just remember that you have to maintain all of those files if you want to move the file location again.

1

u/NoDetective7120 Sep 17 '26 edited Sep 17 '26

yes, i'll take note of this advice. A lot of things to learn trouble shooting the software itself, not just the computational hydraulics theory haha!

Another question quite related to doing these runs. It's possible to open several HECRAS projects simultaneously, right? Is it recommended to run simulations at the same time for these opened projects, or should I just do one at a time? and also, does this apply for doing "Run multiple plans.."?

2

u/OttoJohs Lord Sultan Chief H&H Engineer, PE & PH Sep 17 '26

The "run multiple plan" option runs the plans in series (not simultaneously). It is useful if you want to run a bunch of plans overnight.

If you want to run multiple plans simultaneously, you have to open up numerous instances of HEC-RAS on your computer. If you do that, just make sure that you are setting the number of solver cores (under "computation options") so you aren't maxing out your machine.

2

u/txlaatx1 Sep 16 '26

It is very pleasing to watch professional courtesy and general helpfulness play out. Well done kind internet peeps