June 2017 - Update to the v.
5 HECRAS model in FEWS
Prepared for:
Idaho Power
Update to the HEC-RAS v.5 model in FEWS
(Windows OS version)
Configuration Manual
June 2017
Update to the v.5 HECRAS model in FEWS 1
June 2017 - Update to the v.5 HECRAS model in FEWS
Table of Contents
1 INTRODUCTION................................................................................................................................................ 3
1.1 VERSIONING FOR HEC-RAS ADAPTER...................................................................................................................3
2 HEC-RAS ENVIRONMENT.................................................................................................................................. 4
2.1 INTERFACE BETWEEN FEWS AND HEC-RAS..........................................................................................................4
2.2 ENVIRONMENT VARIABLE JAVA_HOME...............................................................................................................4
2.3 DIRECTORY STRUCTURE......................................................................................................................................5
3 UPDATE OF THE HEC-RAS MODEL FILES FOR V.5.0 OF THE HEC-RAS...................................................................8
3.1 UPDATE THE OLD HEC-RAS MODEL FILES IN THE V.5.0 HEC-RAS GUI......................................................................8
3.1.1 Open HEC-RAS project in Windows GUI...............................................................................................8
3.1.2 Generate HEC-RAS model files for v.5.0.3, Overview............................................................................9
3.1.3 Set the “64-bit” computation option..................................................................................................10
3.1.4 Open the Unsteady Flow Analysis dialog and run computes..............................................................10
3.1.5 Update versions for the HEC-RAS GUI model input files.....................................................................14
3.1.6 HEC-RAS restart file considerations....................................................................................................16
3.2 COPY THE HEC-RAS DATA TO THE FEWS ENVIRONMENT.......................................................................................18
3.3 GENERAL ADAPTER FILE IN THE /CONFIG/MODULECONFIGFILES.............................................................................18
3.4 ADD GLOBAL PROPERTIES FOR HECRAS MODEL AND BINARIES...................................................................................19
APPENDIX A: UPDATE OF THE GENERAL ADAPTER FOR THE NEW 3 STEP PROCESS.............................................20
Table of Figures
FIGURE 1 DATA FLOWS INVOLVED DURING RUN OF HEC-RAS V.4.1 MODEL FEWS ADAPTER (FROM DELTARES, 2011).......................5
FIGURE 2 DIRECTORY STRUCTURE FOR THE HEC-RAS IN FEWS. THE DIRECTORIES REQUIRING UPDATES FOR THE HEC-RAS V.5. ARE
INDICATED............................................................................................................................................................... 6
FIGURE 3 CLASSIFICATION OF FILES IN MODELS/HEC-RAS/BIN DIRECTORY..................................................................................7
FIGURE 4 HEC-RAS GUI OPEN PROJECT DIALOG (TOP) AND MAIN DIALOG (BOTTOM)...................................................................9
FIGURE 5 HEC-RAS GUI UNSTEADY FLOW ANALYSIS DIALOG FOR PERFORMING THE GEOMETRY PREPROCESSOR AND UNSTEADY FLOW
SIMULATION COMPUTES FOR GENERATING THE MODEL INPUT FILES FOR THE HEC-RAS IN FEWS. THE UNSTEADY FLOW ANALYSIS
DIALOG IS ACCESSED FROM THE HEC-RAS MAIN DIALOG (NOTE CURSOR IN TOP FIGURE)......................................................12
FIGURE 6 COMPARISON OF THE CONTENTS FOR THE *.P01.TMP.HDF (LEFT) AND THE *.P01.HDF (RIGHT) HDF5 FILES.......................13
FIGURE 7 THE UPDATED HEC-RAS VERSION LINES IN THE *.B01 AND *.X01 MODEL INPUT FILES...................................................14
FIGURE 8 UPDATE HEC-RAS PLAN FILE, BY SAVE BUTTON ON MAIN DIALOG AFTER COMPUTE (TOP LEFT), BY “SAVE PLAN” MENU ITEM
ON THE UNSTEADY FLOW ANALYSIS DIALOG. THE UPDATED VERSION LINE IN THE PLAN FILE IS SHOWN IN THE BOTTOM FIGURE...15
FIGURE 9 UPDATE OF THE UNSTEADY FLOW DATA (LEFT) AND GEOMETRY DATA (RIGHT) TEXT FILES THROUGH THE HEC-RAS DATA
EDITORS................................................................................................................................................................ 15
FIGURE 10 ERROR GENERATED IN THE HEC-RAS GUI UNSTEADY FLOW SIMULATION WHEN USING A RESTART FILE FROM AN EARLIER
VERSION OF HEC-RAS.............................................................................................................................................17
FIGURE 11 WRITE RESTART FILE.........................................................................................................................................17
Update to the v.5 HECRAS model in FEWS 2
June 2017 - Update to the v.5 HECRAS model in FEWS
1 Introduction
The version 4.1 of the HEC-RAS hydraulic model had been previously implemented in
the National Weather Service CHPS/FEWS (Deltares, 2011). In 2016, the US Army
Corps of Engineers Hydrologic Engineering Center (HEC) released version 5.0 of the
HEC-RAS program. Whereas v.4.1 of the HEC-RAS model computed one-dimensional
river systems, the new v.5.0 computes flow for 1-D, 2-D and combined 1-D and 2-D
systems. This manual describes the setup of the FEWS for the new version 5.0 of the
HEC-RAS.
To accomplish the FEWS update to the new HEC-RAS v.5.0 model, a new Java-based
HEC-RAS model adapter was developed to read and output the model input files for a
FEWS forecast.
With the version 4.1 HEC-RAS/FEWS model adapter, the HEC-RAS run activity
occurred in a single step. The version 5.0 of the HEC-RAS in FEWS breaks the single
process into a three steps, 1) a HEC-RAS Preprocessor Run Activity; 2) a HEC-RAS
model(s) Compute Activity; 3) a HEC-RAS Postprocessor Run Activity.
To update the HEC-RAS in FEWS, three steps are required:
1) Generate/update new model input files from the HEC-RAS Windows GUI –
the HEC-RAS/FEWS v.5.0 is not backwards compatible.
2) Install the HEC-RAS model adapter java jar files and other required jar files,
and the v.5.0 HEC-RAS compute executables and associated library files in
the HEC-RAS model bin directory.
3) Modify the HEC-RAS General Adapter file for the new three step process.
The focus of this manual is the update of the existing HEC-RAS v.4.1 model river
systems in FEWS to the HEC-RAS v.5.0. The Deltares 2011 document, “How to add
HECRAS models to CHPS, Configuration Manual”, provides the general detailed setup
of a HEC-RAS model river system in the FEWS.
NOTE! The HEC-RAS GUI and the java-based HEC-RAS/FEWS model adapter are for
the v.5.0.3 of the HEC-RAS. This represents the available version of the HEC-RAS
model as of April 2017. The HEC-RAS v.5.0.3 Windows based program and supporting
documentation may be downloaded from the HEC website:
http://www.hec.usace.army.mil/software/hec-ras/
1.1 Versioning for HEC-RAS Adapter
The new adapter has been tested for FEWS 1602 and 64-bit Java 1.8.0_102. The HEC-
RAS/FEWS model adapter is for HEC-RAS v.5.0.3 of the Windows OS executables.
The HEC-RAS v.5.0.3 is distributed with both 32-bit and 64-bit versions of the compute
Update to the v.5 HECRAS model in FEWS 3
June 2017 - Update to the v.5 HECRAS model in FEWS
engines. To simplify the number of executables in the Models/HEC-RAS/bin directory,
only the 64-bit versions are provided. As such, the HEC-RAS GUI should be set to run
in 64-bit compute models (see Sec. 3.1.3).
2 HEC-RAS environment
The HEC-RAS model provides the compute engine for running a hydraulic model
schematization for a section of a river or a part of a river system. Two adapters, the
FEWS General Adapter and the HEC-RAS Model Adapter form the interface between
the FEWS Forecasting Shell and the HEC-RAS model.
The HEC-RAS compute engine is, as its name suggests, the component that actually
performs the HEC-RAS simulation. This simulation is controlled from the adapters, and
all run time data such as initial and boundary conditions, and parameter settings are
passed through the adapters from and to the FEWS Forecasting Shell.
2.1 Interface between FEWS and HEC-RAS
The Adapters for HEC-RAS form the interface between the FEWS Forecasting Shell
and the HEC-RAS model. The FEWS General Adapter of the Forecasting Shell
provides the required run-time data to run HEC-RAS, and calls the HEC-RAS Module
Adapter. The data is provided in a standardized XML interface format, the FEWS
Published Interface. The HEC-RAS Model Adapter transfers the XML-data into the
native HEC-RAS file formats.
Once a HEC-RAS run has been completed, relevant results are passed back by the
HECRAS Module Adapter to the Forecasting Shell (FEWS General Adapter) in the form
of the standardized XML interface format. A schematic representation of the
communication between the Forecasting Shell and the HEC-RAS model via the FEWS
Adapter is shown in the Figure 1.
2.2 Environment variable JAVA_HOME
The HEC-RAS adapter uses the environment variable $JAVA_HOME. For Operator
Client and Stand Alone this is set when starting FEWS. For the Forecasting Shell
Server please ensure this is set in the environment and that refers to the correct Java
version.
The FEWS Adapter allows running of HEC-RAS by FEWS. The FEWS Adapter should
be considered as a thin communication (software) layer on top the existing HEC-RAS
engine. The adapter is tightly connected to the model engine.
Update to the v.5 HECRAS model in FEWS 4
June 2017 - Update to the v.5 HECRAS model in FEWS
Figure 1 Data flows involved during run of HEC-RAS v.4.1 model FEWS
adapter (from Deltares, 2011).
2.3 Directory structure
The directory structure of HEC-RAS in FEWS is shown in Figure 2: The
figure indicates the directories which the content need to be updated:
ColdStateFiles – need to regenerate the model.rst file for HEC-RAS v.5 by running
the HEC-RAS GUI.
ModuleConfigFiles – modify the general adapter xml file for the new 3 step process
ModuleDataSeFiles – update HEC-RAS model input files by running the HEC-RAS
GUI
Models/HEC-RAS/bin – replace the HEC-RAS model adapter files and HEC-RAS
executables to the v.5.
The contents of the Models/HEC-RAS/bin directory is presented in Figure 3.
Update to the v.5 HECRAS model in FEWS 5
June 2017 - Update to the v.5 HECRAS model in FEWS
HEC-RAS restart file
HEC-RAS General Adapter file
HEC-RAS model input files
HEC-RAS model adapter files
and program executables
Figure 2 Directory structure for the HEC-RAS in FEWS. The directories
requiring updates for the HEC-RAS v.5. are indicated.
Update to the v.5 HECRAS model in FEWS 6
June 2017 - Update to the v.5 HECRAS model in FEWS
Deltares jars HEC-RAS java
adapter jars & dll
HEC-RAS 64-bit
executables and
libraries (flow only)
HDF5 java jars &
dlls
Figure 3 Classification of files in Models/HEC-RAS/bin directory
Update to the v.5 HECRAS model in FEWS 7
June 2017 - Update to the v.5 HECRAS model in FEWS
3 Update of the HEC-RAS model files for v.5.0 of the
HEC-RAS
The procedures outlined below assume the update of an existing HEC-RAS v.4.1
system. The initial development of the General Adapter file, RegionConfigFiles and
such are detailed in the 2011 Deltares document. The procedures and file descriptions
are current for the v.5.0.3 of the HEC-RAS
In short, the approach to add a HEC-RAS model in FEWS is as follows.
1 Run HEC-RAS model in its GUI to update the model input files.
2 Copy the HEC-RAS generated files from the HEC-RAS work directory to the
FEWS environment
3 Add (or modify existing) global properties for HEC-RAS model and binaries
3.1 Update the old HEC-RAS model files in the v.5.0 HEC-RAS GUI
The HEC-RAS model river system will need to be run from the HEC-RAS GUI (Windows
OS) to update the model files for the new version of the HEC-RAS/FEWS. The HEC-
RAS v.5.0 in the FEWS is not backwards compatible with the v.4.1 model files. The
target model files for the HEC-RAS/CHPS are those produced by the HEC-RAS GUI
v.5.0.3.
To generate the new model files, use the HEC-RAS GUI v.5.0.3 to import the existing
v.4.1 HEC-RAS river system project. If a new HEC-RAS river system (not already in the
FEWS) has been developed with the HEC-RAS GUI v.5.0.3, the required model files
are the same and the subsequent discuss still applies. The procedures below assume
the presence of an existing HEC-RAS project on the Windows OS.
3.1.1 Open HEC-RAS project in Windows GUI
The RAS “Levee Breach” example project is used for illustration. This project is
available in the older v.4.1 and newer v.5.0.3 example unsteady data sets downloaded
from the HEC-RAS website. The example here uses the v.4.1 project files. The
demonstration assumes the user has a working knowledge of the HEC-RAS GUI.
Open the project file in the work directory (Figure 4).
Update to the v.5 HECRAS model in FEWS 8
June 2017 - Update to the v.5 HECRAS model in FEWS
Figure 4 HEC-RAS GUI open project dialog (top) and main dialog (bottom).
3.1.2 Generate HEC-RAS model files for v.5.0.3, Overview
The HEC-RAS GUI v.5.0.3 generates several text based model files that will be
transferred to the HEC-RAS/CHPS “ModuleDataSetFiles” directory as previously done
for v.4.1 of the HEC-RAS/CHPS adapter. However, there are two new HDF5 format
files generated that are required for the new HEC-RAS model adapter v.5.0 setup.
Presently the new HDF5 format files specifically store data pertinent to the HEC-RAS 2-
D regions. Over the longer term, the HDF5 format files are intended to replace the text
based input files in future versions of the HEC-RAS.
The text based files required by the HEC-RAS in CHPS are divided into two groups.
For the example “LeveeBreach” project these are:
1) The model files input to the HEC-RAS GUI
LeveeBreach.prj
LeveeBreach.p01
LeveeBreach.g01
LeveeBreach.u01
Update to the v.5 HECRAS model in FEWS 9
June 2017 - Update to the v.5 HECRAS model in FEWS
2) The text based input files generated by the HEC-RAS GUI for a Geometry
Preprocessor and Unsteady flow run
LeveeBreach.x01
LeveeBreach.b01
The HDF5 format files required by the HEC-RAS v.5.0 model adapter:
LeveeBreach.g01.hdf
LeveeBreach.p01.tmp.hdf
The text files in (2) and the *.hdf files are generated by running the Geometry
Preprocessor and Unsteady Flow Simulation from the “Unsteady Flow Analysis” dialog
(Figure 5).
3.1.3 Set the “64-bit” computation option.
There are two options for the HEC-RAS computes, the default is 32-bit, with 64-bit
computes as an option. Some of the compute output files differ with selection of the
option, for example the flow restart files. The HEC-RAS compute programs loaded to
the FEWS Models/HEC-RAS/bin directory will be 64-bit so select the “Use 64 bit
computation engines”:
3.1.4 Open the Unsteady Flow Analysis dialog and run computes.
Figure 5 shows the Unsteady Flow Analysis dialog. The Geometry Preprocessor and
Unsteady Flow Simulation computes will need to be run to create the updated model
input files for the HEC-RAS model in the FEWS – the *.x01, *.b01, *.g01.hdf and
*p01.tmp.hdf files discussed above. The generation of a HEC-RAS restart file will also
be needed for the HEC-RAS setup in the FEWS – See 3.1.6 for restart file
considerations. The compute process needs to be performed in two steps.
Update to the v.5 HECRAS model in FEWS 10
June 2017 - Update to the v.5 HECRAS model in FEWS
First compute with both the “Geometry Preprocessor” and “Unsteady Flow Simulation”
boxes both checked:
Then compute with only the “Geometry Preprocessor” box checked:
The “Unsteady Flow Simulation” compute produces the HDF5 format file,
“LeveeBreach.p01.hdf”. The “Geometry Preprocessor” generates the file,
“LeveeBreach.p01.tmp.hdf” (and g01.hdf). The *.p01.hdf file contains results of the
unsteady flow compute, plus input run information. The “p01.tmp.hdf” contains only the
input run information and can be a much smaller file, especially for 2-D models. The
contents of the two plan hdf files are compared in Figure 6. The HEC-RAS in FEWS is
designed to use the more compact “p01.tmp.hdf” file. Performing the “Unsteady Flow
Simulation” compute will remove the “p01.tmp.hdf” file.
Update to the v.5 HECRAS model in FEWS 11
June 2017 - Update to the v.5 HECRAS model in FEWS
Figure 5 HEC-RAS GUI Unsteady Flow Analysis dialog for performing the
Geometry Preprocessor and Unsteady Flow Simulation computes for
generating the model input files for the HEC-RAS in FEWS. The Unsteady
Flow Analysis dialog is accessed from the HEC-RAS main dialog (note cursor
in top figure).
Update to the v.5 HECRAS model in FEWS 12
June 2017 - Update to the v.5 HECRAS model in FEWS
*.p01.tmp.hdf *.p01.hdf
Simulation Results
Figure 6 Comparison of the contents for the *.p01.tmp.hdf (left) and the
*.p01.hdf (right) HDF5 files.
The desired updated model files generated by the above computes are:
LeveeBreach.x01
LeveeBreach.b01
LeveeBreach.g01.hdf
LeveeBreach.p01.tmp.hdf
Figure 7 illustrates the updated version lines in the *.b01 and *.x01 files.
Update to the v.5 HECRAS model in FEWS 13
June 2017 - Update to the v.5 HECRAS model in FEWS
Figure 7 The updated HEC-RAS version lines in the *.b01 and *.x01 model
input files.
3.1.5 Update versions for the HEC-RAS GUI model input files.
The model files directly used by the HEC-RAS GUI may not necessarily be updated to
the v.5.0.3 format with the computes. The files are of interest are:
LeveeBreach.prj
LeveeBreach.p01
LeveeBreach.g01
LeveeBreach.u01
The *.p01 (Plan file) can be updated to v.5.0.3 from the Unsteady Flow Analysis dialog
as shown in Figure 8.
Update to the v.5 HECRAS model in FEWS 14
June 2017 - Update to the v.5 HECRAS model in FEWS
Figure 8 Update HEC-RAS Plan file, by save button on main dialog after
compute (top left), by “Save Plan” menu item on the Unsteady Flow Analysis
dialog. The updated version line in the plan file is shown in the bottom figure.
The update process will also need to be performed for the geometry and unsteady flow
files through their respective editors (Figure 9). The *.prj file does not contain a version
line and the information on the file may not be changed with the above process.
Figure 9 Update of the Unsteady Flow Data (left) and Geometry Data (right)
text files through the HEC-RAS data editors.
Update to the v.5 HECRAS model in FEWS 15
June 2017 - Update to the v.5 HECRAS model in FEWS
3.1.6 HEC-RAS restart file considerations
If the HEC-RAS GUI unsteady flow compute utilizes a restart file from an earlier version
of HEC-RAS, a compute error will likely occur (Figure 10). A new restart file will need to
be generated starting from initial conditions set on the Unsteady Flow Data dialog. With
HEC-RAS v.5.0.3, initial flows left blank in the Initial Conditions tab of the Unsteady
Flow Data dialog result in the initial flow being set to the first value of the input
hydrograph.
For the HEC-RAS setup in the FEWS, a restart file will need to be generated for the
later copy to the ColdStateFiles directory in the HEC-RAS/FEWS. Figure 11 presents
the HEC-RAS – Set Output Control Options dialog, where the output restart file option
will be set. The dialog is accessed from the “Options->Output Options …” menu on the
Unsteady Flow Analysis dialog.
Make sure the “Write Initial Conditions file at the end of the simulation” box is checked.
The FEWS needs this .rst file for state handling. It needs to be copied to the
ColdStateFiles directory (see Sec. 3.4). FEWS will not use additional initial condition
files written during the simulation, so there is no need to choose the option “Write Initial
Condition file(s) during simulation.”
NOTE! 32-bit restart files are not compatible with 64-bit computes in the
HEC-RAS/FEWS. See Section 3.1.3.
Update to the v.5 HECRAS model in FEWS 16
June 2017 - Update to the v.5 HECRAS model in FEWS
Figure 10 Error generated in the HEC-RAS GUI Unsteady Flow Simulation
when using a restart file from an earlier version of HEC-RAS.
Figure 11 Write restart file
Update to the v.5 HECRAS model in FEWS 17
June 2017 - Update to the v.5 HECRAS model in FEWS
3.2 Copy the HEC-RAS data to the FEWS environment
The HEC-RAS model files discussed in Sec. 3.1 must be copied from the local work
directory to the (Windows OS) FEWS environment. These file are:
• .prj
• .p01
• .g01
• .u01
• .b01
• .x01
• .p01.tmp.hdf
• .g01.hdf
The numbering can be different. After the procedures below the files will be copied to
the “Config/ModuleDataSetFiles” directory.
Transfer these files and create a new zip file in the FEWS environment
/Config/ModuleDataSetFiles, eg. HECRAS_KENNEBEC_UpdateStates.zip.
IMPORTANT NOTE: If you generate these files using HEC 5.0, you will need to be sure
that the *.u01 file reference the same restart file name used in the General Adapter
file/ModuleConfigFiles directory. It is recommended to edit the restart file name in
the *.u01 produced by Windows HECRAS to eliminate the data time stamp after
transferring the files to the ModuleConfigFiles. For example,
‘ctdamlevee.p29.01FEB2008 0100.rst’ would be changed to ‘ctdamlevee.p29.’
3.3 General Adapter file in the /Config/ModuleConfigFiles
The 2011 Deltares Configuration Manual covers the development of the General
Adapter module in detail for the HEC-RAS in FEWS. This section will present the
change in the General Adapter file for the new 3 Step execution of the HEC-RAS model
adapter. The model adapter execution launched in the executeActivities segment.
The HEC-RAS model adapter performs three functions:
1) PreProcess: Input FEWS forecast flows, stage other forecast run parameters.
Update the base HEC-RAS model input files and create new model input files for the
compute programs.
2) Compute: Run the HEC-RAS Fortran executables, the Geometry Preprocessor, the
Unsteady Flow Simulation, and the DSSWriter which exports the binary unstready
model results to DSS file format.
3) PostProcess: Extract the computed flows and stages from the DSS result file and
write out times series hydrographs and longitudinal profiles to PI.XML format.
Update to the v.5 HECRAS model in FEWS 18
June 2017 - Update to the v.5 HECRAS model in FEWS
In version v.4.1 HEC-RAS model adapter these three steps were performed all in a
single call to the HEC-RAS model adapter. The form of the executeActivities for the old
v.4.1 model adapter is shown below.
<executeActivities>
<executeActivity>
<command>
<className>nl.wldelft.fews.adapter.hec.HecRasAdapter</className>
<binDir>$HECRASBINDIR$</binDir>
</command>
<arguments>
<argument>%ROOT_DIR%/run_info.xml</argument>
</arguments>
<timeOut>600000</timeOut>
</executeActivity>
</executeActivities>
The executeActivities for v.5 of the HEC-RAS model adapter is broken into separate
PreProcess, Compute and Post Process activities. The new form of the
executeActivites in the new General Adapter are listed in the Appendix A.
3.4 Add global properties for hecras model and binaries
The $HECRASBINDIR$ property is defined in the global.properties at the same level of the
Config and Models directory:
HECRASMODELDIR=%REGION_HOME%/Models/hec/hecras
HECRASBINDIR=$HECRASMODELDIR$/bin
The General Adapter offers flexibility on where HEC-RAS working files are written (the
HECRASMODELDIR). User’s may not wish to not to place the executables under the
HECRASMODELDIR location as described above for performance reasons (see next
Section).
Update to the v.5 HECRAS model in FEWS 19
June 2017 - Update to the v.5 HECRAS model in FEWS
Appendix A: Update of the General Adapter for the new
3 step process
In version v.4.1 HEC-RAS model adapter performed the PreProcess, Compute and Post
Process steps in a single call to the HEC-RAS model adapter. The form of the
executeActivities for the old v.4.1 model adapter is shown below.
<executeActivities>
<executeActivity>
<command>
<className>nl.wldelft.fews.adapter.hec.HecRasAdapter</className>
<binDir>$HECRASBINDIR$</binDir>
</command>
<arguments>
<argument>%ROOT_DIR%/run_info.xml</argument>
</arguments>
<timeOut>600000</timeOut>
</executeActivity>
</executeActivities>
The v.5 HEC-RAS model adapter perform the PreProcess, Compute and Post Process
with calls to the same model adapter class (hec.HecRasAdapter). A second argument is
added to the command to inform the model adapter of the process
preProcess for the PreProcess step
compute for the HEC-RAS exe compute step
postProcess for the PostProcess step
The “PreProcess” step inputs the PIXML times series from the FEWS database and
other run parameters, .e.g. start date, compute interval, and forms the input files for the
HEC-RAS model.
The “Compute” step runs the HEC-RAS geometry preprocessor, the unsteady flow
model, and the DssWriter which process temporary binary model output files to export to
DSS time series stage and flow and longitudinal water surface profiles.
For the “PostProcess” step the HEC-RAS PostProcessor program runs if the option
selected to compute detailed hydraulic information from the unsteady run. Secondly, in
the PostProcess step, the computed HEC-RAS model results are extracted to export
time series and longitudinal profiles results to PIXML format for transfer back to the
FEWS database.
The executeActivites structure is shown below:
<executeActivities>
<executeActivity>
<command>
<className>nl.wldelft.fews.adapter.hec.HecRasAdapter</className>
<binDir>$HECRASBINDIR$</binDir>
</command>
Update to the v.5 HECRAS model in FEWS 20
June 2017 - Update to the v.5 HECRAS model in FEWS
<arguments>
<argument>%ROOT_DIR%/run_info.xml</argument>
<argument>preProcess</argument>
</arguments>
<timeOut>600000</timeOut>
</executeActivity>
Do Compute Process through model adapter
<executeActivity>
<command>
<className>nl.wldelft.fews.adapter.hec.HecRasAdapter</className>
<binDir>$HECRASBINDIR$</binDir>
</command>
<arguments>
<argument>%ROOT_DIR%/run_info.xml</argument>
<argument>compute</argument>
</arguments>
<timeOut>600000</timeOut>
</executeActivity>
Do Post Process through model adapter
<executeActivity>
<command>
<className>nl.wldelft.fews.adapter.hec.HecRasAdapter</className>
<binDir>$HECRASBINDIR$</binDir>
</command>
<arguments>
<argument>%ROOT_DIR%/run_info.xml</argument>
<argument>postProcess</argument>
</arguments>
<timeOut>600000</timeOut>
</executeActivity>
</executeActivities>
Update to the v.5 HECRAS model in FEWS 21