Simulation Options

The Simulation Options dialog box is used to adjust some facets of a model prior to running it. Simulation options are usually associated with specific scenarios.

For example, suppose you would like to specify a global bulk chlorine decay of -0.5 for one simulation and have another simulation with a decay of -0.7. This can be accomplished through the Simulation Options, where one option can be tied to one scenario while another set of options is specified for a different scenario.

The Simulation Options dialog box, used to modify sets or instances of simulation options, can be accessed from the Operation tab of the Model Explorer or from the Simulation Options' Browse button in the Run Manager.

General Options

ID and Description

The Simulation Options ID and Description area shows the name and description of the defined options. The green tic on the ID folder indicates which set of options is currently active. 

General Tab

Demand Options

Quality Options

Option

None - No water quality analysis will be performed. No parameters are displayed.

Chemical/Temp - Trace the movement of a reactive or non-reactive substance or trace the water temperature. The temperature modeling capability can be effectively used if the temperature of the pipe wall can be considered at a constant value. If the heat transfer mechanism is more complex, then users should use the InfoWater Multi-Species Modeling (MSX) capability. See Multi-Species Water Quality Modeling Overview. Also note that the Quality Timestep also controls the temperature calculation timestep. See Simulation Time. It is recommended that the Quality Timestep should be set at 1/10th of the hydraulic timestep or smaller for best results.

Water Age - Calculates the water age over time in an EPS analysis. No additional parameters are required. Water age is the time spent by a parcel of water in the network. New water entering the network from reservoirs or source nodes enters with age of zero.

Source Trace - Source tracing tracks over time what percent of water reaching any node in the network had its origin at a particular node. The source node can be any node in the network, including tanks or reservoirs. Internally, the program treats this node as a constant source of a non-reacting constituent that enters the network with a concentration of 100.

Multi-Trace - Multiple source tracing tracks over time what percent of water reaching any node in the network had its origin at a particular set of nodes. The source nodes can be any node in the network, including tanks or reservoirs. Internally, the program treats the nodes as a constant source of a non-reacting constituent that enters the network with a concentration of 100. Please Note: the Multi-Trace function described above is a batch process that runs multiple and separate source trace analysis for each individual trace. It is not a simultaneous solution of multiple source traces. It is therefore possible that the combined traces do not fully satisfy continuity especially with tanks that experience both incoming and outgoing flows. The total percentage of water combined from each source may not total 100%.

Advanced - The Advance Option is used to select a Multi-Species model (See MSX Model below). The Quality Tab changes to the following display:

Parameters

Trace Node - Used for a trace analysis. For any network node the program will report the percent of water reaching the node that had its origin at the selected source node over time. The user must specify one node that will act as the origin for the tracing procedure.

Multi-Trace on - Select All Sources, Domain or Selection Set from the pull down menu. The Selection Set option requires the Selection Set name or use the Browse Button to open the Domain Manager or Selection Set Manager as required. The Multi-Source tracing function tracks the percent of water over time that reaches any node in the network with its origin at a particular set of nodes. The source nodes can be any node in the network, including tanks or reservoirs. Internally, the program treats the source nodes as a constant source of a non-reacting constituent that enters the network with a concentration of 100. Please Note: the Multi-Trace function described above is a batch process that runs multiple and separate source traces for each individual source. It is not a simultaneous solution of multiple source traces. It is therefore possible that the combined traces do not fully satisfy continuity especially with tanks that experience both incoming and outgoing flows over time. The total percentage of water combined from each source may or may not total 100%.

Temperature Modeling - Select this option for water temperature modeling.

Chemical Name - The name of the chemical being analyzed during a water quality analysis.

Diffusivity (ratio) - For chemical trace the diffusivity is the ratio of the diffusivity of that chemical to the default diffusivity value; for temperature modeling, the diffusivity ratio is the user water thermal diffusivity to the default water thermal diffusivity.

WQ Tolerance - Solution tolerance for the water quality calculation. The smallest change in quality that will cause a new parcel of water to be created in a pipe. A typical setting might be 0.01 for chemicals measured in mg/L as well as water age and source tracing.

Mass/Temp Unit - The unit of mass or temperature for the chemical/temperature being analyzed (usually mg/L).

Global Bulk - This reflects the rate at which a chemical will grow or decay due to reactions in the bulk flow of water over time.

Global Wall - This reflects the rate at which a chemical will decay due to reactions with the pipe walls over time.

For Water Quality Diffusivity:

The default value is 1.3*10e-8 ft2/sec, if no value is given

If the given Diffusivity term is > 1.0e-4, it is used as a ‘relative ratio’, i.e. a multiplication factor to the default value,

If the given Diffusivity term is < 1.0e-4, it is assumed as the user supplied Diffusivity value

For Thermal Diffusivity:

The default value is 1.4*10e-6 ft2/sec, if no value is given

If the given Diffusivity term is > 1.0e-3, it is used as a ‘relative ratio’, i.e. a multiplication factor to the default value,

If the given Diffusivity term is < 1.0e-3, it is assumed as the user supplied Diffusivity value

Limiting Potential - Used to specify a limiting concentration that a chemical can either grow or decay.

Global Pipe Bulk Reaction Order - With a water quality analysis, the rate of growth or decay of a chemical may be zero-order, first-order, second-order, etc. (depending on the water quality and the chemical analyzed).

Global Pipe Wall Reaction Order - Unlike global bulk, the order of global wall can only be zero-order or first-order (0 or 1).

Global Tank Reaction Order - Like the Global Pipe Reaction Order (either 0 or 1), specifies the order of growth or decay for a chemical in a tank only.

Roughness Correlation Coefficient - Enter a value that relates to the wall reaction rate constant that is dependent upon the headloss equation being used.

MSX Model - Select the Multi-Species model from the list or use the Browse button to open the Multi-Species Model editor. See Multi-Species Model.

Adaptive Mixing Resolution - This option increases the accuracy of water quality modeling by decoupling the temporal resolution of the mixing and release computations from the chemical reactions. Refer to Adaptive Mixing Resolution to learn more about how to apply it with appropriate timestep and tolerance.

WQ State

Initialize with WQ State - When checked on, the water quality model will initialize from the state file specified in the path field. This file should be generated as a JSON file from Saving a WQ state in the below option.

Save ending WQ State - When check on, the final water quality results from the Run will be saved into the state file at the specified path field. Enter a new file path with JSON format or select an existing file to overwrite it.

Preserve full WQ segment resolution - When this option is checked, the saved WQ sate file will contain information for all water quality segments throughout the model. This results in a larger file but will result in a complete state transfer capable of generating the same results as one continuous simulation without a state file. If left off, the state file will initialize each pipe and junction with a single initial value.

Energy Options

Note: In order to run an Energy Management Simulation, you would need to check the Run Energy Management Simulation check box.

Advanced Options

Note: The role of relaxation factor.

The new solution (flow rate) at each iteration of the solution engine is:

New Q = Previous Q + Relaxation Factor * Delta Q (Q increment).

Based on the Newton-Raphson (NR) solution method, this is exactly same idea with relaxation factor = 1. On comparison to the other numerical method, the main advantage of NR method is its speed and efficiency to converge upon a solution. However, it also has a disadvantage of a high level of divergence (where it can not find a solution). As a numerical aid to reduce the chance of divergence, we can add a relaxation factor (usually 0.6 to 1). This simply decreases the Delta Q (increment). By adding a small relaxation factor (decreasing Q increment), the model tends to provide a more stable solution, but, obviously, with a slower computational speed. Therefore, the relaxation factor is a trade off between computation speed and model stability. The reason we changed the default of relaxation factor as 1 is to provide faster computation times. However, it may increase the chance of reaching a simulation failure (in most cases, it should be fine). Currently, the EPANET engine uses 0.6 as a relaxation factor.

To summarize, if you have a simulation failure that used to run in a previous version, please consider changing the relaxation factor into 0.6. Also, consider doubling the Status Check Frequency to four and change the Maximum Status Check Iteration to a value between 4 and 20 to reach a solution.

Example: Check Frequency = 2, Max Status Check = 10, Damping Limit = 0

Less frequent status checking; might be needed for networks that have difficulty in converging.

Example: Check Frequency = 10, Max Status Check = 100, Damping Limit = 0.01

Status checks made only after convergence is achieved; might produce convergence when other settings fail.

Example: Check Frequency = Max trials, Max Status Check = Max Trials, Damping Limit = Convergence Accuracy

Sustainability

Run Sustainability Analysis - Check this option to run the Sustainability analysis.

Carbon Footprint Factor (lb CO2/kWh)

Minimum Level of Service Pressure (psi) - Enter the minimum service pressure required for normal system operation. This information is used for comparison purposes and is used to evaluate water efficiency.

Calculate Carbon Footprint - Check this option to calculate the carbon footprint.

Define Material Carbon Footprint Curves - Select and define Sustainability Material Curve. See Sustainability Modeling.