Download PDF
Download page Simulation Runs.
Simulation Runs
Simulation Runs are the primary method of computing results. Each run is composed of one Meteorologic Model, one Basin Model, and one Control Specifications. Results can be visualized as graphs, summary tables, and time-series tables either through the Basin Map or from the Watershed Explorer. In addition to selecting the meteorologic, basin, and control components, advanced features for controlling the run are also included.
Creating a New Run
A new Simulation Run is created using a wizard that helps you navigate the steps to creating a new run. There are two ways to access the wizard. The first way to access the wizard is to click on the Compute menu and select the Create Compute | Simulation Run command; it is only enabled if at least one Basin Model, one Meteorologic Model, and one Control Specifications exist. The wizard will open and begin the process of creating a new Simulation Run. The second way to access the wizard is from the Simulation Run Manager. Click on the Compute menu and select the Simulation Run Manager command. The Simulation Run Manager will open and show any runs that already exist. Press the New button to access the wizard and begin the process of creating a Simulation Run, as shown in the following figure.
The first step of creating a Simulation Run is to provide the Name for the new run. A default name is provided for the new Simulation Run; you can use the default or replace it with your own choice. After you finish creating the run you can add a description to it. If you change your mind and do not want to create a new Simulation Run, you can press the Cancel button at the bottom of the wizard or the X button in the upper right corner of the wizard. The Cancel button can be pressed at any time you are using the wizard. Press the Next button when you are satisfied with the name you have entered and are ready to proceed to the next step.
The second step of creating a Simulation Run is to select a Basin Model. All of the Basin Models in the project are shown and you must select one before proceeding to the next step. By default the first Basin Model in the table is selected. The selected model is highlighted. You can use your mouse to select a different Basin Model by clicking on it in the table of available choices. You can also use the arrow keys on your keyboard to select a different model. Press the Next button when you are satisfied with the Basin Model you have selected and are ready to proceed to the next step. Press the Back button if you wish to return to the previous step and change the name for the new Simulation Run.
The third step of creating a Simulation Run is to select a Meteorologic Model. All of the Meteorologic Models in the project are shown and you must select one before proceeding to the next step. By default, the first Meteorologic Model in the table is selected. The selected model is highlighted. You can use your mouse to select a different Meteorologic Model by clicking on it in the table of available choices. You can also use the arrow keys on your keyboard to select a different model. Press the Next button when you are satisfied with the Meteorologic Model you have selected and are ready to proceed to the next step. Press the Back button if you wish to return to the previous step and select a different Basin Model.
The fourth and final step of creating a Simulation Run is to select a Control Specifications. All of the Control Specifications in the project are shown and you must select one before proceeding to the next step. By default the first Control Specifications in the table is selected. The selected specifications is highlighted. You can use your mouse to select a different Control Specifications by clicking on it in the table of available choices. You can also use the arrow keys on your keyboard to select a different specifications. Press the Finish button when you are satisfied with the name you have entered and the components you have selected, and are ready to create the Simulation Run. Press the Back button if you wish to return to the previous step and select a different Meteorologic Model.
Copying a Run
There are two ways to copy a Simulation Run. Both methods for copying a run create an exact duplicate with a different name. Once the copy has been made it is independent of the original and they do not interact.
The first way to create a copy is to use the Simulation Run Manager, which is accessed from the Compute menu. Select the Simulation Run you wish to copy by clicking on it in the list of available Simulation Runs. The selected run is highlighted after you select it. After you select a run you can press the Copy button on the right side of the window. A new Copy Simulation Run window will open where you can name and describe the copy that will be created. A default name is provided for the copy; you can use the default or replace it with your own choice. A description can also be entered; if it is long you can use the button to the right of the description field to open an editor. When you are satisfied with the name and description, press the Copy button to finish the process of copying the selected Simulation Run. You cannot press the Copy button if no name is specified. If you change your mind and do not want to copy the selected Simulation Run, press the Cancel button or the X button in the upper right to return to the Simulation Run Manager window.
The second way to copy is from the Compute tab of the Watershed Explorer. Move the mouse over the Simulation Run you wish to copy, then press the right mouse button. A context menu is displayed that contains several choices including Copy. Click the Create Copy command. A new Copy Simulation Run window will open where you can name and describe the copy that will be created. A default name is provided for the copy; you can use the default or replace it with your own choice. A description can also be entered; if it is long you can use the button to the right of the description field to open an editor. When you are satisfied with the name and description, press the Copy button to finish the process of copying the selected Simulation Run. You cannot press the Copy button if no name is specified. If you change your mind and do not want to copy the selected Simulation Run, press the Cancel button or the X button in the upper right of the Copy Simulation Run window to return to the Watershed Explorer.
Renaming a Run
There are two ways to rename a Simulation Run. Both methods for renaming a run change its name and then all references to the old run name are automatically updated to the new name.
The first way to perform a rename is to use the Simulation Run Manager, which you can access from the Compute menu. Select the Simulation Run you wish to rename by clicking on it in the list of available Simulation Runs. The selected run is highlighted after you select it. After you select a run you can press the Rename button on the right side of the window. A new Rename Simulation Run window will open where you can provide the new name. If you wish you can also change the description at the same time. If the new description will be long, you can use the button to the right of the description field to open an editor. When you are satisfied with the name and description, press the Rename button to finish the process of renaming the selected Simulation Run. You cannot press the Rename button if no name is specified. If you change your mind and do not want to rename the selected Simulation Run, press the Cancel button or the X button in the upper right of the Rename Simulation Run window to return to the Simulation Run Manager window.
The second way to rename is from the Compute tab of the Watershed Explorer. Select the Simulation Run you wish to rename by clicking on it in the Watershed Explorer; it will become highlighted. Keep the mouse over the selected run and click the left mouse button again. The highlighted name will change to editing mode. You can then move the cursor with the arrow keys on the keyboard or by clicking with the mouse. You can also use the mouse to select some or all of the name. Change the name by typing with the keyboard. When you have finished changing the name, press the Enter key to finalize your choice. You can also finalize your choice by clicking elsewhere on the Compute tab. If you change your mind while in editing mode and do not want to rename the selected Simulation Run, press the Escape key.
Deleting a Run
There are two ways to delete a Simulation Run. Both methods for deleting a run remove it from the project, automatically update all references to that run, and delete previously computed results. Once a run has been deleted it cannot be retrieved or undeleted. Any references to the deleted run will switch to using no Simulation Run, which is usually not a valid choice during a simulation. At a later time you will have to go to those components and manually select a different Simulation Run.
The first way to perform a deletion is to use the Simulation Run Manager, which you can access from the Compute menu. Select the Simulation Run you wish to delete by clicking on it in the list of available Simulation Runs. The selected run is highlighted after you select it. After you select a run you can press the Delete button on the right side of the window. A window will open where you must confirm that you wish to delete the selected run as shown in the following figure. Press the OK button to delete the run. If you change your mind and do not want to delete the selected Simulation Run, press the Cancel button or the X button in the upper right to return to the Simulation Run Manager window.
The second way to delete is from the Compute tab of the Watershed Explorer. Move the mouse over the Simulation Run you wish to delete and press the right mouse button. A context menu is displayed that contains several choices including delete. Click the Delete command. A window will open where you must confirm that you wish to delete the selected run. Press the OK button to delete the run. If you change your mind and do not want to delete the selected Simulation Run, press the Cancel button or the X button in the upper right to return to the Watershed Explorer.
Importing a Run
A Simulation Run can be imported into the current project. The run to be imported is selected from a source project. Once you select the run to be imported, all of the necessary simulation components will be imported into the current project. This includes the Basin Model, Meteorologic Model, Control Specifications, and any supporting data. The supporting data include background maps and grid cell file for the Basin Model, and shared data such as time-series gages, paired data, and grid data used either in the basin or Meteorologic Model. A Simulation Run will be created in the current project using the components that have been imported.
To import a Simulation Run, begin by selecting the File | Import | Simulation Run menu command. Use the file chooser to select the project file for the project that contains the Simulation Run you wish to import.
You will then be provided a selection list of available Simulation Runs in that source project. Select the Simulation Run that you wish to import and press the Import button.
Depending on the data used in the Basin Model and Meteorologic Model, you may be prompted to choose how to treat time-series, paired, and gridded data. If you select to import the data, a copy of the data will be made in the current project directory and appropriate gage, paired data, and grid components will be automatically created. Any references in the Basin Model or Meteorologic Model to the time-series, paired, and gridded data will be automatically updated to use the new shared component data in the current project. If you choose not to import the data, the Basin Model and Meteorologic Model will be imported without any of the data. In this second case, the current project should already include the necessary time-series, paired, and gridded data necessary for the proper simulation of the Basin Model and Meteorologic Model.
Depending on the data used in the Basin Model and Meteorologic Model, you may be prompted to choose how to treat external data. If you choose to localize external data, then copies of the files will be made in the current project directory. Any references in the Basin Model or Meteorologic Model to external data will be automatically updated to use the new copies in the current project. If you choose not to localize the external data, the components in the current project will be updated to reference the files in their original locations.
Selecting Components
The principal task when creating a Simulation Run using the wizard is the selection of a Basin Model, Meteorologic Model, and Control Specifications. However, you can change the components you wish to use at any time using the Component Editor for a Simulation Run. Access the Component Editor from the Compute tab of the Watershed Explorer. If necessary, click on the Simulation Runs folder to expand it and view the available Simulation Runs. Click on the Simulation Run node you wish to edit and its Component Editor will automatically be shown. The Component Editor contains three lists for selecting the Basin Model, Meteorologic Model, and Control Specifications, respectively. The first selection list shows all of the Basin Models currently available in the project. Likewise, the second list contains all of the Meteorologic Models and the third list contains all of the Control Specifications. As the user, you are responsible for knowing which components are intended to be used together to produce simulation results.
Simulation Results Output
All of the model components produce time-series results during the simulation process. Some components also produce grid results. By default, all results are stored in the Output DSS File. The output DSS file can be changed for each Simulation Run. To change the output file, specify a new file in the Component Editor. Simulation output is configurable with options to write All Output, Minimal Output, and Selected Output. If the Selected Output option is selected, the settings button becomes enabled as shown in the image below.
Click the Selected Output Settings button to open the selected results editor shown in the image below. Results can be Selected, or De-Selected, for inclusion in the simulation output results file. Some results are not available for de-selection. These must be written to the simulation output results file as a part of the simulation compute. The Time Interval for each time-series can be modified. The default output interval is equivalent to the simulation time interval. Additional output interval options are available that are multiples of the simulation time interval. Filters are available at the top of the dialog, that filter the table for element or time-series type. Edits can be saved in the selected results editor by clicking the Save button. You will be prompted to save edits if you attempt to close the editor without saving first.
Results that are not written to the simulation output results file will not be available on the HEC-HMS Results tab.
If a change to the results configuration is made, HEC-HMS will clear simulation results from the simulation output results file. The simulation must be re-computed to regenerate the results.
Precipitation and Flow Ratios
Using Precipitation and Flow Ratios is optional for a Simulation Run. If you do not use ratios, the simulation results will be exactly determined by the meteorologic conditions specified in the Meteorology Model and the watershed physical properties specified in the Basin Model. Optionally, you can apply a ratio to the precipitation computed by the Meteorologic Model before the precipitation is applied to the Basin Model. Alternately, you may instead apply a ratio to the outflow computed by Subbasin and Source Elements in the Basin Model before routing the outflow downstream through the element network. You must choose between applying no ratio, a precipitation ratio, or a flow ratio. The same ratio is applied to all elements.
The Ratio for the Simulation Run is accessed from the Compute tab of the Watershed Explorer. Click on the Ratio node under the Simulation Run to display the Component Editor for the ratio. The Ratio and other optional tabs are always shown whenever the Component Editor is shown. Select the Type of Ratio you wish to apply from the available choices. If you select the Precipitation method, you can only choose to apply the ratio to subbasins. If you select the Flow method, you can choose to apply the ratio to subbasins, sources, or both element types. Finally, enter the Ratio Value. When working with a Precipitation Ratio, the precipitation value for each time step computed by the Meteorologic Model is multiplied by the specified ratio before the precipitation is applied to the subbasin elements. When working with a Flow Ratio, the outflow computed for each time step by the Basin Model is multiplied by the specified ratio before the outflow is routed to the next downstream element. You can only select whether to apply a ratio to Subbasins and Sources, and enter a Ratio, if a ratio method is actually selected.
Start and Save States
The various mathematical equations used in the basin and Meteorologic Models all contain State Variables. A State Variable is simply the current condition of the system at the end of a time interval. For example, the State Variable in a reservoir is the amount of water in storage, usually measured as an elevation. In the soil moisture accounting loss method, the State Variable is the amount of water currently held in each of the layers. The State Variables change during a simulation in response to changing boundary conditions and the dynamics of the mathematical equation governing the method.
The State Variables all must be specified at the beginning of a simulation, in which case they are called Initial Conditions. Some methods allow you to specify the value you wish to use, such as the initial storage in a reservoir. Some methods implicitly specify the initial condition, for example loss methods that allow you to specify the amount of infiltration that must occur before surface runoff begins, often called the initial loss. Many of the channel routing methods assume the initial condition that initial outflow equals the first inflow to the reach, or the user can specify the initial outflow.
States have two main purposes: Breaking Long Simulations Into Smaller Time Periods, and Real-Time Forecasting Operations. In the first case of long simulations, using states achieves exactly the same results as one long simulation. Suppose that a long simulation covers all of 1995 and 1996. You could configure a Simulation Run for 1995 and save states at the end of the simulation. You could then configure a simulation for 1996 that uses as start states the states saved at the end of the 1995 run. The results obtained by breaking the simulation into two runs and using states would be identical to the results obtained from a single long run. This approach can be useful when performing continuous simulation for many years or decades. In the second case of real-time forecasting operations, the typical approach is often to compute a Simulation Run daily and forecast three to five days into the future. The simulation can be configured to run for five days, saving the State Variables at the end of the first day. When the forecast is updated on the subsequent day, it can start from the saved states of the previous day and continue forward. In this way, continuously updated results can be obtained without requiring the simulation to start at the last known watershed conditions which might be very old.
Saving out the Start State Variables during a Simulation Run, or starting a run from saved State Variables is optional. If you do not use saved State Variables (start states), then the initial conditions will be specified from the basin and Meteorologic Models. If you do use the start states, the initial conditions specified in the basin and Meteorologic Models will be overridden by the values contained in the saved states used as the start states. If you do not use save states, the simulation will run normally. If you do choose to save states, the simulation will pause momentarily to save the State Variables and then continue normally. The save states condition (file) that is created can be used for any simulation, the start date of the simulation does not have to be similar to the date when the save states were created. The save states can be used across different Simulation Runs, but you must make sure the basin and Meteorologic Models have similar configurations (similar elements in the Basin Model and similar modeling methods in the basin and Meteorologic Models) in order for the save states to be applicable.
Selecting optional start states for the Simulation Run is accessed from the Compute tab of the Watershed Explorer. Open the Component Editor for the Simulation Run and then click on the States tab. The States and other optional tabs are always shown whenever the Simulation Run Component Editor is shown. You can choose to Save States and start the simulation with existing saved states. Start the simulation with saved states by choosing the states you wish to use from the Start States selection list. Only states saved by running a simulation configured to save states are shown. You will not be able to select start states unless there are valid states available. A descriptive save states name can be helpful when selecting the states to start a simulation. For example, a name of March 30 – 1200 was used when saving states when creating the example in the following figure. The date and time the states were saved were used for the name to aid in choosing these saved states in subsequent simulations.
Creating optional save states for the Simulation Run is accessed from the Compute tab of the Watershed Explorer. Open the Component Editor for the Simulation Run and then click on the States tab. The States and other optional tabs are always shown whenever the Component Editor is shown. To create a save states file, you must change the Save States option from No to Yes, as shown in the following figure. You must specify a Name for the save states and optionally may enter a description. There are two ways to specify when the states will be saved: at the End of the Simulation Run, or at a Specified Date and Time During the Simulation Run. If you select to save states at the end of the run, the program will automatically determine the correct date and time to save states. If you select to save states at a specific time, you must enter the date and time. The specified date and time must be after the start and either at or before the end of the Simulation Run.