Parameter Tables
HydroPol2D uses parameter tables to assign physical properties to categorical raster inputs.
Categorical maps such as LULC and Soil are not used directly in the governing equations. Instead, each class acts as an index into a parameter table, where the corresponding physical parameters are defined.
This structure separates spatial information from parameter definition and makes the model easier to calibrate, adapt, and interpret.
General Structure​
Each parameter table contains:
- a class identifier (
Index) - a set of parameters associated with that class
At runtime, HydroPol2D:
- reads the raster value at each grid cell,
- uses that value as an index,
- assigns the corresponding parameters from the table.
For this reason, raster classes and table indices must match exactly.
LULC Parameter Table​
The LULC table defines surface-related properties controlling flow resistance, interception, imperviousness, pollutant-related behavior, and root-zone depth when layered soil storage is active.
Example structure​
| Land Cover | Index | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Tree cover | 10 | 0.10 | 0 | 0 | 10 | 0.20 | 800 | 1.20 | 50 | 1.50 |
| Shrubland | 20 | 0.08 | 0 | 0 | 12 | 0.20 | 900 | 1.20 | NaN | 1.00 |
| Grassland | 30 | 0.06 | 0 | 0 | 15 | 0.22 | 1000 | 1.20 | NaN | 0.60 |
| Cropland | 40 | 0.05 | 0 | 0 | 30 | 0.25 | 1400 | 1.30 | NaN | 1.00 |
| Built-up | 50 | 0.03 | 0 | 0 | 80 | 0.30 | 2000 | 1.30 | NaN | 0.00 |
| Bare / sparse vegetation | 60 | 0.035 | 0 | 0 | 45 | 0.25 | 1600 | 1.25 | NaN | 0.10 |
| Snow and ice | 70 | 0.02 | 0 | 0 | 1 | 0.10 | 200 | 1.10 | NaN | 0.00 |
| Permanent water bodies | 80 | 0.035 | 0 | 0 | 0 | 0 | 0 | 0 | NaN | 0.00 |
| Herbaceous wetland | 90 | 0.12 | 0 | 0 | 8 | 0.18 | 700 | 1.20 | NaN | 0.40 |
| Mangroves | 95 | 0.15 | 0 | 0 | 8 | 0.18 | 700 | 1.20 | NaN | 1.00 |
| Moss and lichen | 100 | 0.08 | 0 | 0 | 5 | 0.15 | 500 | 1.15 | NaN | 0.15 |
Table 1. HydroPol2D LULC parameter table. The Index values must match the categorical values in the LULC raster.
Variable definitions​
- : Manning’s roughness coefficient
- : interception parameter
- : initial surface storage parameter
- –: coefficients associated with the pollutant build-up and wash-off formulation
- : identifier used to associate a class with impervious behavior
- : vegetation-controlled root-zone depth used by the layered soil/vadose model
The values shown above correspond to the current HydroPol2D parameter table and should be revised as needed for the adopted classification scheme and study area.
In the current implementation, root_depth_m is the supported way to provide root-depth input to the model. There is no separate root-depth raster path; root depth is assigned per LULC class and then mapped to the grid through the categorical LULC raster.
Soil Parameter Table​
The soil table defines the base hydraulic properties used to estimate infiltration, layered vadose storage, recharge, and groundwater behavior.
Example structure​
| Soil Type | Index | near | root | transmission | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Clay | 1 | 0.3 | 1.09 | 0.8 | 0.385 | 0.068 | 0.0997 | 0.03 | 6 | 1 | 1 | 1 | 1 |
| Silty Clay | 2 | 0.5 | 1.23 | 1.0 | 0.423 | 0.089 | 0.1224 | 0.04 | 10 | 1 | 1 | 1 | 1 |
| Sandy Clay | 3 | 0.6 | 1.31 | 1.5 | 0.321 | 0.075 | 0.0996 | 0.06 | 12 | 1 | 1 | 1 | 1 |
| Clay Loam | 4 | 1.0 | 1.31 | 1.9 | 0.309 | 0.095 | 0.1164 | 0.08 | 20 | 1 | 1 | 1 | 1 |
| Silty Clay Loam | 5 | 1.0 | 1.23 | 1.5 | 0.432 | 0.089 | 0.1233 | 0.09 | 20 | 1 | 1 | 1 | 1 |
| Sandy Clay Loam | 6 | 1.5 | 1.48 | 3.0 | 0.330 | 0.065 | 0.0915 | 0.11 | 30 | 1 | 1 | 1 | 1 |
| Silty Loam | 7 | 7.6 | 1.41 | 4.5 | 0.434 | 0.067 | 0.1220 | 0.14 | 152 | 1 | 1 | 1 | 1 |
| Loam | 8 | 3.4 | 1.56 | 3.6 | 0.486 | 0.078 | 0.1104 | 0.18 | 68 | 1 | 1 | 1 | 1 |
| Sandy Loam | 9 | 10.9 | 1.89 | 7.5 | 0.412 | 0.065 | 0.1287 | 0.22 | 218 | 1 | 1 | 1 | 1 |
| Silt | 10 | 3.4 | 1.37 | 4.0 | 0.486 | 0.067 | 0.1234 | 0.12 | 68 | 1 | 1 | 1 | 1 |
| Loamy Sand | 11 | 29.9 | 2.28 | 14.5 | 0.401 | 0.057 | 0.1172 | 0.25 | 598 | 1 | 1 | 1 | 1 |
| Sand | 12 | 117.8 | 2.68 | 14.5 | 0.417 | 0.045 | 0.1225 | 0.30 | 2356 | 1 | 1 | 1 | 1 |
| Water | 0 | 0.3 | 1.09 | 0.8 | 0.385 | 0.068 | 0.0997 | 0.03 | 6 | 1 | 1 | 1 | 1 |
Table 2. HydroPol2D soil parameter table. The Index values must match the categorical values in the soil raster.
Variable definitions​
- : saturated hydraulic conductivity
- : Van Genuchten shape parameter
- : inverse air-entry parameter
- : saturated water content
- : residual water content
- : initial soil moisture
- : specific yield
- : saturated conductivity associated with subsurface or groundwater parameterization
- : depth to bedrock or effective storage depth
Ks_multiplier_near_surface: multiplier applied to base in the near-surface layerKs_multiplier_root_zone: multiplier applied to base in the root-zone layerKs_multiplier_transmission: multiplier applied to base in the transmission layer
The categorical soil class defines the base hydraulic properties for the column. The layered implementation assigns those properties to the near-surface, root-zone, and transmission-zone layers, then applies optional conductivity multipliers where they are provided.
LULC controls root-zone depth. Depth to bedrock and the current water-table position constrain the final layer thicknesses, so physically impossible layer geometries collapse or truncate rather than producing negative storage.
The values shown above correspond to the current HydroPol2D soil parameter table and should be revised as needed for the adopted soil classification and simulation scenario.
DTB Assignment Through the Soil Table​
If a DTB raster is not available, DTB values can be assigned directly in the soil table.
In this case:
- each soil class is associated with a representative DTB value,
- the DTB field is constructed implicitly from the soil map,
- storage depth remains consistent with the adopted soil classification.
This is particularly useful in data-scarce applications.
Consistency Requirements​
The following conditions must be satisfied:
- all raster class values must exist in the corresponding table,
- class identifiers must not be duplicated,
- parameter fields must not be left empty,
- units must be consistent with the model formulation.
Any inconsistency between raster classes and parameter tables will lead to incorrect assignment of physical properties.
Practical Use​
Parameter tables are the main mechanism used to:
- calibrate the model,
- adapt the model to different environments,
- perform sensitivity analysis,
- test alternative physical assumptions without modifying the code.
In HydroPol2D, most practical modifications to model behavior are made by editing these tables.
Internal Boundary Conditions (Control Structures)​
HydroPol2D allows the definition of internal boundary conditions (IBCs) that locally modify the hydraulic response of the domain.
These structures are implemented through a simple rating-curve approach that converts water depth into discharge. At the selected control cells, flow is no longer determined solely by the standard local inertial update. Instead, discharge is imposed through a depth–discharge relationship defined by user-specified parameters.
This allows the model to represent localized hydraulic controls such as:
- culverts
- gates
- weirs
- outlets
- engineered control sections
Concept​
Each internal boundary condition is linked to a control cell defined by its spatial coordinates. The discharge through that control is computed from the local water depth using a rating-curve formulation.
In the current HydroPol2D implementation, the control structure spreadsheet defines two rating-curve branches, each with its own coefficient and threshold parameters. This makes it possible to represent piecewise hydraulic behavior under different flow depths or operating conditions.
The resulting discharge is imposed at the corresponding control location and therefore modifies the local flow dynamics within the numerical solver.
Function in the Model​
Internal boundary conditions affect the simulation by:
- imposing a discharge response based on local depth
- modifying inlet or outlet cell fluxes within the local inertial solver
- introducing controlled internal flow exchange within the computational domain
These structures can strongly influence:
- upstream storage
- downstream propagation
- flood attenuation
- local backwater effects
Role in the Numerical Model​
At cells where an internal boundary condition is defined:
- water depth is evaluated at the control point
- discharge is computed from the rating-curve parameters
- the resulting flow is imposed in the hydraulic update
This means that the local inertial solver is locally modified by the control structure behavior. The discharge is prescribed from the rating relationship rather than being obtained exclusively from the standard face-based flux computation.
Input Table Structure​
Internal boundary conditions are defined through a dedicated spreadsheet.
Table structure​
| Parameter | Units | Description |
|---|---|---|
| — | Identifier of the control structure | |
| Easting coordinate of the control cell | ||
| Northing coordinate of the control cell | ||
| — | Coefficient of the first rating-curve branch | |
| Reference depth or threshold associated with the first branch | ||
| — | Exponent or shape parameter associated with the first branch | |
| Easting coordinate of the first discharge control point | ||
| Northing coordinate of the first discharge control point | ||
| — | Coefficient of the second rating-curve branch | |
| Reference depth or threshold associated with the second branch | ||
| — | Exponent or shape parameter associated with the second branch | |
| Easting coordinate of the second discharge control point | ||
| Northing coordinate of the second discharge control point |
Table 3. HydroPol2D internal boundary condition parameter table. These parameters define the rating-curve behavior used to convert depth into discharge.
Example Values​
| 1 | -5166015.11 | -2706361.32 | 1.5 | 0.0 | 0.50 | -5166037.22 | -2706321.554 | 3.0 | 2.5 | 1.5 | -5166037.22 | -2706321.554 |
| 2 | -5166922.84 | -2704154.64 | 16.0 | 0.0 | 1.5 | -5166922.84 | -2704174.64 | 0.538951413 | 0.1 | 0.5 | -5166922.84 | -2704174.64 |
Table 4. Example internal boundary condition parameters currently used in HydroPol2D.
Interpretation​
The control structure formulation is based on a depth–discharge relationship of the general form:
where:
- is discharge through the structure in
- is local water depth in
- the coefficients , , , and define the rating-curve response
- the terms and define the reference depths associated with each branch
The coordinates and define the locations at which the discharge control is applied or evaluated.
This structure makes it possible to represent a simple piecewise discharge relationship using two parameterized branches.
Practical Meaning of the Parameters​
- and control the magnitude of discharge response
- and control the curvature or nonlinearity of the response
- and define activation thresholds or reference depths
- define where the controlled discharge is linked spatially
Together, these parameters define how the internal structure converts water depth into flow.
Practical Considerations​
- control coordinates must be consistent with the DEM projection
- the selected cells must coincide with valid hydraulic cells in the model domain
- rating-curve coefficients must be physically realistic
- excessively steep rating curves may create numerical instability
- control structures should be tested carefully because they directly alter local mass fluxes
Summary​
Internal boundary conditions in HydroPol2D are represented through a simple rating-curve framework that converts local water depth into discharge.
They are used to:
- impose controlled inlet or outlet fluxes
- represent hydraulic control structures
- modify the local inertial dynamics at specific cells
Their correct parameterization is essential for stable and physically meaningful simulation of engineered hydraulic systems.
Design Philosophy​
HydroPol2D separates:
- spatial inputs, which define where each class occurs,
- parameter tables, which define how each class behaves.
This makes the model easier to maintain, easier to calibrate, and easier to apply across different domains.
Summary​
Parameter tables define how HydroPol2D translates categorical spatial data into physical behavior.
They are a central component of the model structure and must be carefully prepared to ensure consistent, stable, and physically meaningful simulations.