[flow.sinks_sources.wells]#

Typed payload for one pumping or injection well.

  • flow.sinks_sources.wells { name = table } · optional · 27 user keys, 6 dev or expert

One table per name you choose: [flow.sinks_sources.wells.<name>]. The name is free text.

enabled = ‹true | false›Whether this well pumps or injects: true builds it, false keeps the table and builds nothing from it. required
Path
flow.sinks_sources.wells.<name>.enabled
More

Required, so a table never switches itself on.

Accepted
true | false
# flux = ‹number or list of number›Well rate, in the unit that units names (m3/s by default). calibrable
Path
flow.sinks_sources.wells.<name>.flux
More

One number for a constant rate, or one per stress period. It follows the sign of MODFLOW: negative when the well pumps, positive when it injects.

Accepted
number or list of number
Unit
m3/s
Calibration
yes, search space identity, sampling uniform, bounds belong to the site: write them in calibration.parameters.<name>.bounds
# units = "m3/s"Unit of flux, or of the forcing values: a volume per time such as 'm3/day', 'm3/h' or 'l/s'.
Path
flow.sinks_sources.wells.<name>.units
More

The rates are converted to m3/s when the run starts.

Accepted
string
Example
"m3/day"
# description = ""Free text about the well, kept with the configuration and not read by the model.
Path
flow.sinks_sources.wells.<name>.description
Accepted
string

flow.sinks_sources.wells.<name>.enabled enabled Whether this well pumps or injects: true builds it, false keeps the table and builds nothing from it. Required, so a table never switches itself on. flow.sinks_sources.wells.<name>.flux flux not set m3/s Well rate, in the unit that units names (m3/s by default). One number for a constant rate, or one per stress period. It follows the sign of MODFLOW: negative when the well pumps, positive when it injects. flow.sinks_sources.wells.<name>.units units “m3/s” “m3/day” Unit of flux, or of the forcing values: a volume per time such as ‘m3/day’, ‘m3/h’ or ‘l/s’. The rates are converted to m3/s when the run starts. flow.sinks_sources.wells.<name>.description description “” Free text about the well, kept with the configuration and not read by the model.

[flow.sinks_sources.wells.<name>.location]#

Well location payload.

kind selects the shape of this table. One tab per shape, the default first.

kind = "cell"Direct [lay, row, col] addressing on a structured solver grid. chosen shape
Path
flow.sinks_sources.wells.<name>.location.kind
Values
  • "cell" : Direct [lay, row, col] addressing on a structured solver grid.
  • "absolute_xy" : Projected (x, y) coordinates in the project CRS.
  • "relative_xy" : Normalized (x_rel, y_rel) in [0, 1] over the domain extent.
Accepted
"cell" | "absolute_xy" | "relative_xy"
cell = [0, 10, 12]Cell indices as [layer, row, column], counted from 0. required example value
Path
flow.sinks_sources.wells.<name>.location.cell
More

Only a structured grid has rows and columns.

Accepted
list of integer
Example
[0, 10, 12]
Only if
kind = "cell"

flow.sinks_sources.wells.<name>.location.kind kind “cell” cell absolute_xy relative_xy cell Direct ``[lay, row, col]`` addressing on a structured solver grid. absolute_xy Projected ``(x, y)`` coordinates in the project CRS. relative_xy Normalized ``(x_rel, y_rel)`` in ``[0, 1]`` over the domain extent. Discriminator tag for the cell-based well location. flow.sinks_sources.wells.<name>.location.cell cell [0, 10, 12] - Cell indices as [layer, row, column], counted from 0. Only a structured grid has rows and columns.

kind = "absolute_xy"Projected (x, y) coordinates in the project CRS. chosen shape
Path
flow.sinks_sources.wells.<name>.location.kind
Values
  • "cell" : Direct [lay, row, col] addressing on a structured solver grid.
  • "absolute_xy" : Projected (x, y) coordinates in the project CRS.
  • "relative_xy" : Normalized (x_rel, y_rel) in [0, 1] over the domain extent.
Accepted
"cell" | "absolute_xy" | "relative_xy"
x = 352400.0Easting of the point in the projected CRS of the project, in meters. required m example value
Path
flow.sinks_sources.wells.<name>.location.x
Accepted
number
Unit
m
Example
352400.0
Only if
kind = "absolute_xy"
y = 6788300.0Northing of the point in the projected CRS of the project, in meters. required m example value
Path
flow.sinks_sources.wells.<name>.location.y
Accepted
number
Unit
m
Example
6788300.0
Only if
kind = "absolute_xy"
# layer = ‹integer›Model layer the point lies in, counted from 0 at the top. -
Path
flow.sinks_sources.wells.<name>.location.layer
More

Left out, the well takes the top active cell of its column.

Accepted
integer
Unit
-
Only if
kind = "absolute_xy" | "relative_xy"

flow.sinks_sources.wells.<name>.location.kind kind “cell” cell absolute_xy relative_xy cell Direct ``[lay, row, col]`` addressing on a structured solver grid. absolute_xy Projected ``(x, y)`` coordinates in the project CRS. relative_xy Normalized ``(x_rel, y_rel)`` in ``[0, 1]`` over the domain extent. Discriminator tag for the cell-based well location. flow.sinks_sources.wells.<name>.location.layer layer not set - Model layer the point lies in, counted from 0 at the top. Left out, the well takes the top active cell of its column. flow.sinks_sources.wells.<name>.location.x x 352400.0 m Easting of the point in the projected CRS of the project, in meters. flow.sinks_sources.wells.<name>.location.y y 6788300.0 m Northing of the point in the projected CRS of the project, in meters.

kind = "relative_xy"Normalized (x_rel, y_rel) in [0, 1] over the domain extent. chosen shape
Path
flow.sinks_sources.wells.<name>.location.kind
Values
  • "cell" : Direct [lay, row, col] addressing on a structured solver grid.
  • "absolute_xy" : Projected (x, y) coordinates in the project CRS.
  • "relative_xy" : Normalized (x_rel, y_rel) in [0, 1] over the domain extent.
Accepted
"cell" | "absolute_xy" | "relative_xy"
x_rel = 0.5Position across the model extent from west (0) to east (1). required - example value
Path
flow.sinks_sources.wells.<name>.location.x_rel
More

A share of the extent, so it has no unit.

Accepted
number
Unit
-
Example
0.5
Only if
kind = "relative_xy"
y_rel = 0.5Position across the model extent from south (0) to north (1). required - example value
Path
flow.sinks_sources.wells.<name>.location.y_rel
More

A share of the extent, so it has no unit.

Accepted
number
Unit
-
Example
0.5
Only if
kind = "relative_xy"
# layer = ‹integer›Model layer the point lies in, counted from 0 at the top. -
Path
flow.sinks_sources.wells.<name>.location.layer
More

Left out, the well takes the top active cell of its column.

Accepted
integer
Unit
-
Only if
kind = "absolute_xy" | "relative_xy"

flow.sinks_sources.wells.<name>.location.kind kind “cell” cell absolute_xy relative_xy cell Direct ``[lay, row, col]`` addressing on a structured solver grid. absolute_xy Projected ``(x, y)`` coordinates in the project CRS. relative_xy Normalized ``(x_rel, y_rel)`` in ``[0, 1]`` over the domain extent. Discriminator tag for the cell-based well location. flow.sinks_sources.wells.<name>.location.layer layer not set - Model layer the point lies in, counted from 0 at the top. Left out, the well takes the top active cell of its column. flow.sinks_sources.wells.<name>.location.x_rel x_rel 0.5 - Position across the model extent from west (0) to east (1). A share of the extent, so it has no unit. flow.sinks_sources.wells.<name>.location.y_rel y_rel 0.5 - Position across the model extent from south (0) to north (1). A share of the extent, so it has no unit.

[flow.sinks_sources.wells.<name>.forcing]#

Rate schedule that replaces flux: ‘constant’, ‘csv’, ‘piecewise’ or ‘seasonal’.

kind selects the shape of this table. One tab per shape, the default first.

kind = "constant"One value applied to every stress period. chosen shape
Path
flow.sinks_sources.wells.<name>.forcing.kind
Values
  • "constant" : One value applied to every stress period.
  • "csv" : A dated record read from a CSV file and aligned on the stress periods.
  • "piecewise" : Ordered dated segments, each a constant or a csv.
  • "seasonal" : Calendar month or season to value, repeated across the years.
Accepted
"constant" | "csv" | "piecewise" | "seasonal"
value = "2 mm/day"Value applied to every stress period. required in units, or m3/s, m/s, m by mount example value
Path
flow.sinks_sources.wells.<name>.forcing.value
More

A text carries its unit, such as '2 mm/day' or '100 m**3/day'. A bare number is in the unit that units names, else in the unit its table reads: m3/s for a flow, m/s for a rate on a surface, m for a head. The sign follows the table: a well rate is negative when it pumps, and a rate whose name says its direction, such as a withdrawal or an evaporation, is zero or more.

Accepted
number or string
Unit
in units, or m3/s, m/s, m by mount
Example
"2 mm/day", -0.001
Only if
kind = "constant"
# units = ‹string›Unit of the values: a volume per time such as 'm3/day' for a flow, a length per time such as 'mm/day' for a rate on a surface, a length for a head.
Path
flow.sinks_sources.wells.<name>.forcing.units
More

Values are converted to SI when the run starts. Unset, a well forcing takes the well's units, a boundary head the boundary's, and the others read SI.

Accepted
string

flow.sinks_sources.wells.<name>.forcing.kind kind “constant” constant csv piecewise seasonal constant One value applied to every stress period. csv A dated record read from a CSV file and aligned on the stress periods. piecewise Ordered dated segments, each a constant or a csv. seasonal Calendar month or season to value, repeated across the years. This forcing is one value, kept over every stress period. flow.sinks_sources.wells.<name>.forcing.value value “2 mm/day” -0.001 in units, or m3/s, m/s, m by mount Value applied to every stress period. A text carries its unit, such as ‘2 mm/day’ or ‘100 m**3/day’. A bare number is in the unit that units names, else in the unit its table reads: m3/s for a flow, m/s for a rate on a surface, m for a head. The sign follows the table: a well rate is negative when it pumps, and a rate whose name says its direction, such as a withdrawal or an evaporation, is zero or more. flow.sinks_sources.wells.<name>.forcing.units units not set Unit of the values: a volume per time such as ‘m3/day’ for a flow, a length per time such as ‘mm/day’ for a rate on a surface, a length for a head. Values are converted to SI when the run starts. Unset, a well forcing takes the well’s units, a boundary head the boundary’s, and the others read SI.

[flow.sinks_sources.wells.<name>.forcing]
kind = "csv"A dated record read from a CSV file and aligned on the stress periods. chosen shape
Path
flow.sinks_sources.wells.<name>.forcing.kind
Values
  • "constant" : One value applied to every stress period.
  • "csv" : A dated record read from a CSV file and aligned on the stress periods.
  • "piecewise" : Ordered dated segments, each a constant or a csv.
  • "seasonal" : Calendar month or season to value, repeated across the years.
Accepted
"constant" | "csv" | "piecewise" | "seasonal"
path_file = "forcing.csv"CSV file of the dated values. required example value
Path
flow.sinks_sources.wells.<name>.forcing.path_file
More

Each stress period takes the aggregate of the samples that fall inside it.

Accepted
path
Example
"forcing.csv"
Only if
kind = "csv"
Workspace file
workspace:<name> reads data/forcing/<name> of the workspace, and workspace:. the folder itself
# units = ‹string›Unit of the values: a volume per time such as 'm3/day' for a flow, a length per time such as 'mm/day' for a rate on a surface, a length for a head.
Path
flow.sinks_sources.wells.<name>.forcing.units
More

Values are converted to SI when the run starts. Unset, a well forcing takes the well's units, a boundary head the boundary's, and the others read SI.

Accepted
string
# date_column = "date"Name of the CSV column that holds the dates.
Path
flow.sinks_sources.wells.<name>.forcing.date_column
Accepted
string
Only if
kind = "csv"
# value_column = "value"Name of the CSV column that holds the values.
Path
flow.sinks_sources.wells.<name>.forcing.value_column
Accepted
string
Only if
kind = "csv"
# sep = ","CSV delimiter. dev
Path
flow.sinks_sources.wells.<name>.forcing.sep
Accepted
string
Only if
kind = "csv"
# date_format = ‹string›Optional datetime format passed to pandas.to_datetime. dev
Path
flow.sinks_sources.wells.<name>.forcing.date_format
Accepted
string
Only if
kind = "csv"
# aggregate = "mean"Stress-period aggregation method. dev
Path
flow.sinks_sources.wells.<name>.forcing.aggregate
Values
  • "mean" no explanation
  • "last" no explanation
Accepted
"mean" | "last"
Only if
kind = "csv"

flow.sinks_sources.wells.<name>.forcing.kind kind “constant” constant csv piecewise seasonal constant One value applied to every stress period. csv A dated record read from a CSV file and aligned on the stress periods. piecewise Ordered dated segments, each a constant or a csv. seasonal Calendar month or season to value, repeated across the years. This forcing is one value, kept over every stress period. flow.sinks_sources.wells.<name>.forcing.units units not set Unit of the values: a volume per time such as ‘m3/day’ for a flow, a length per time such as ‘mm/day’ for a rate on a surface, a length for a head. Values are converted to SI when the run starts. Unset, a well forcing takes the well’s units, a boundary head the boundary’s, and the others read SI. flow.sinks_sources.wells.<name>.forcing.path_file path_file “forcing.csv” CSV file of the dated values. Each stress period takes the aggregate of the samples that fall inside it. flow.sinks_sources.wells.<name>.forcing.sep sep “,” CSV delimiter. flow.sinks_sources.wells.<name>.forcing.date_column date_column “date” Name of the CSV column that holds the dates. flow.sinks_sources.wells.<name>.forcing.date_format date_format not set Optional datetime format passed to pandas.to_datetime. flow.sinks_sources.wells.<name>.forcing.value_column value_column “value” Name of the CSV column that holds the values. flow.sinks_sources.wells.<name>.forcing.aggregate aggregate “mean” mean last Stress-period aggregation method.

kind = "piecewise"Ordered dated segments, each a constant or a csv. chosen shape
Path
flow.sinks_sources.wells.<name>.forcing.kind
Values
  • "constant" : One value applied to every stress period.
  • "csv" : A dated record read from a CSV file and aligned on the stress periods.
  • "piecewise" : Ordered dated segments, each a constant or a csv.
  • "seasonal" : Calendar month or season to value, repeated across the years.
Accepted
"constant" | "csv" | "piecewise" | "seasonal"
# units = ‹string›Unit of the values: a volume per time such as 'm3/day' for a flow, a length per time such as 'mm/day' for a rate on a surface, a length for a head.
Path
flow.sinks_sources.wells.<name>.forcing.units
More

Values are converted to SI when the run starts. Unset, a well forcing takes the well's units, a boundary head the boundary's, and the others read SI.

Accepted
string

flow.sinks_sources.wells.<name>.forcing.kind kind “constant” constant csv piecewise seasonal constant One value applied to every stress period. csv A dated record read from a CSV file and aligned on the stress periods. piecewise Ordered dated segments, each a constant or a csv. seasonal Calendar month or season to value, repeated across the years. This forcing is one value, kept over every stress period. flow.sinks_sources.wells.<name>.forcing.units units not set Unit of the values: a volume per time such as ‘m3/day’ for a flow, a length per time such as ‘mm/day’ for a rate on a surface, a length for a head. Values are converted to SI when the run starts. Unset, a well forcing takes the well’s units, a boundary head the boundary’s, and the others read SI.

kind = "seasonal"Calendar month or season to value, repeated across the years. chosen shape
Path
flow.sinks_sources.wells.<name>.forcing.kind
Values
  • "constant" : One value applied to every stress period.
  • "csv" : A dated record read from a CSV file and aligned on the stress periods.
  • "piecewise" : Ordered dated segments, each a constant or a csv.
  • "seasonal" : Calendar month or season to value, repeated across the years.
Accepted
"constant" | "csv" | "piecewise" | "seasonal"
# units = ‹string›Unit of the values: a volume per time such as 'm3/day' for a flow, a length per time such as 'mm/day' for a rate on a surface, a length for a head.
Path
flow.sinks_sources.wells.<name>.forcing.units
More

Values are converted to SI when the run starts. Unset, a well forcing takes the well's units, a boundary head the boundary's, and the others read SI.

Accepted
string
# by_month = ‹table { key = number }›Mapping of calendar month (1-12) to a forcing value.
Path
flow.sinks_sources.wells.<name>.forcing.by_month
Accepted
table { key = number }
Only if
kind = "seasonal"
# by_season = ‹table { key = number }›Mapping of meteorological season (DJF/MAM/JJA/SON) to a forcing value.
Path
flow.sinks_sources.wells.<name>.forcing.by_season
Accepted
table { key = number }
Only if
kind = "seasonal"

flow.sinks_sources.wells.<name>.forcing.kind kind “constant” constant csv piecewise seasonal constant One value applied to every stress period. csv A dated record read from a CSV file and aligned on the stress periods. piecewise Ordered dated segments, each a constant or a csv. seasonal Calendar month or season to value, repeated across the years. This forcing is one value, kept over every stress period. flow.sinks_sources.wells.<name>.forcing.units units not set Unit of the values: a volume per time such as ‘m3/day’ for a flow, a length per time such as ‘mm/day’ for a rate on a surface, a length for a head. Values are converted to SI when the run starts. Unset, a well forcing takes the well’s units, a boundary head the boundary’s, and the others read SI. flow.sinks_sources.wells.<name>.forcing.by_month by_month not set Mapping of calendar month (1-12) to a forcing value. flow.sinks_sources.wells.<name>.forcing.by_season by_season not set Mapping of meteorological season (DJF/MAM/JJA/SON) to a forcing value.

[[flow.sinks_sources.wells.<name>.forcing.segments]]#

One dated segment of a piecewise forcing, a constant or a csv.

Repeat the table: one [[flow.sinks_sources.wells.<name>.forcing.segments]] block per item.

Only with kind = "piecewise".

start = "2020-01-01"Inclusive segment start date (ISO date or datetime string). required example value
Path
flow.sinks_sources.wells.<name>.forcing.segments.start
Accepted
string
Example
"2020-01-01"
# end = ‹string›Exclusive segment end date (ISO string); None extends to the simulation end.
Path
flow.sinks_sources.wells.<name>.forcing.segments.end
Accepted
string

flow.sinks_sources.wells.<name>.forcing.segments.start start “2020-01-01” Inclusive segment start date (ISO date or datetime string). flow.sinks_sources.wells.<name>.forcing.segments.end end not set Exclusive segment end date (ISO string); None extends to the simulation end.

[flow.sinks_sources.wells.<name>.forcing.segments.forcing]#

What this segment reads, a constant or a csv.

kind selects the shape of this table. One tab per shape, the default first.

kind = "constant"One value applied to every stress period. chosen shape
Path
flow.sinks_sources.wells.<name>.forcing.segments.forcing.kind
Values
  • "constant" : One value applied to every stress period.
  • "csv" : A dated record read from a CSV file and aligned on the stress periods.
Accepted
"constant" | "csv"
value = "2 mm/day"Value applied to every stress period. required in units, or m3/s, m/s, m by mount example value
Path
flow.sinks_sources.wells.<name>.forcing.segments.forcing.value
More

A text carries its unit, such as '2 mm/day' or '100 m**3/day'. A bare number is in the unit that units names, else in the unit its table reads: m3/s for a flow, m/s for a rate on a surface, m for a head. The sign follows the table: a well rate is negative when it pumps, and a rate whose name says its direction, such as a withdrawal or an evaporation, is zero or more.

Accepted
number or string
Unit
in units, or m3/s, m/s, m by mount
Example
"2 mm/day", -0.001
Only if
kind = "constant"
# units = ‹string›Unit of the values: a volume per time such as 'm3/day' for a flow, a length per time such as 'mm/day' for a rate on a surface, a length for a head.
Path
flow.sinks_sources.wells.<name>.forcing.segments.forcing.units
More

Values are converted to SI when the run starts. Unset, a well forcing takes the well's units, a boundary head the boundary's, and the others read SI.

Accepted
string

flow.sinks_sources.wells.<name>.forcing.segments.forcing.kind kind “constant” constant csv constant One value applied to every stress period. csv A dated record read from a CSV file and aligned on the stress periods. This forcing is one value, kept over every stress period. flow.sinks_sources.wells.<name>.forcing.segments.forcing.value value “2 mm/day” -0.001 in units, or m3/s, m/s, m by mount Value applied to every stress period. A text carries its unit, such as ‘2 mm/day’ or ‘100 m**3/day’. A bare number is in the unit that units names, else in the unit its table reads: m3/s for a flow, m/s for a rate on a surface, m for a head. The sign follows the table: a well rate is negative when it pumps, and a rate whose name says its direction, such as a withdrawal or an evaporation, is zero or more. flow.sinks_sources.wells.<name>.forcing.segments.forcing.units units not set Unit of the values: a volume per time such as ‘m3/day’ for a flow, a length per time such as ‘mm/day’ for a rate on a surface, a length for a head. Values are converted to SI when the run starts. Unset, a well forcing takes the well’s units, a boundary head the boundary’s, and the others read SI.

[flow.sinks_sources.wells.<name>.forcing.segments.forcing]
kind = "csv"A dated record read from a CSV file and aligned on the stress periods. chosen shape
Path
flow.sinks_sources.wells.<name>.forcing.segments.forcing.kind
Values
  • "constant" : One value applied to every stress period.
  • "csv" : A dated record read from a CSV file and aligned on the stress periods.
Accepted
"constant" | "csv"
path_file = "forcing.csv"CSV file of the dated values. required example value
Path
flow.sinks_sources.wells.<name>.forcing.segments.forcing.path_file
More

Each stress period takes the aggregate of the samples that fall inside it.

Accepted
path
Example
"forcing.csv"
Only if
kind = "csv"
Workspace file
workspace:<name> reads data/forcing/<name> of the workspace, and workspace:. the folder itself
# units = ‹string›Unit of the values: a volume per time such as 'm3/day' for a flow, a length per time such as 'mm/day' for a rate on a surface, a length for a head.
Path
flow.sinks_sources.wells.<name>.forcing.segments.forcing.units
More

Values are converted to SI when the run starts. Unset, a well forcing takes the well's units, a boundary head the boundary's, and the others read SI.

Accepted
string
# date_column = "date"Name of the CSV column that holds the dates.
Path
flow.sinks_sources.wells.<name>.forcing.segments.forcing.date_column
Accepted
string
Only if
kind = "csv"
# value_column = "value"Name of the CSV column that holds the values.
Path
flow.sinks_sources.wells.<name>.forcing.segments.forcing.value_column
Accepted
string
Only if
kind = "csv"
# sep = ","CSV delimiter. dev
Path
flow.sinks_sources.wells.<name>.forcing.segments.forcing.sep
Accepted
string
Only if
kind = "csv"
# date_format = ‹string›Optional datetime format passed to pandas.to_datetime. dev
Path
flow.sinks_sources.wells.<name>.forcing.segments.forcing.date_format
Accepted
string
Only if
kind = "csv"
# aggregate = "mean"Stress-period aggregation method. dev
Path
flow.sinks_sources.wells.<name>.forcing.segments.forcing.aggregate
Values
  • "mean" no explanation
  • "last" no explanation
Accepted
"mean" | "last"
Only if
kind = "csv"

flow.sinks_sources.wells.<name>.forcing.segments.forcing.kind kind “constant” constant csv constant One value applied to every stress period. csv A dated record read from a CSV file and aligned on the stress periods. This forcing is one value, kept over every stress period. flow.sinks_sources.wells.<name>.forcing.segments.forcing.units units not set Unit of the values: a volume per time such as ‘m3/day’ for a flow, a length per time such as ‘mm/day’ for a rate on a surface, a length for a head. Values are converted to SI when the run starts. Unset, a well forcing takes the well’s units, a boundary head the boundary’s, and the others read SI. flow.sinks_sources.wells.<name>.forcing.segments.forcing.path_file path_file “forcing.csv” CSV file of the dated values. Each stress period takes the aggregate of the samples that fall inside it. flow.sinks_sources.wells.<name>.forcing.segments.forcing.sep sep “,” CSV delimiter. flow.sinks_sources.wells.<name>.forcing.segments.forcing.date_column date_column “date” Name of the CSV column that holds the dates. flow.sinks_sources.wells.<name>.forcing.segments.forcing.date_format date_format not set Optional datetime format passed to pandas.to_datetime. flow.sinks_sources.wells.<name>.forcing.segments.forcing.value_column value_column “value” Name of the CSV column that holds the values. flow.sinks_sources.wells.<name>.forcing.segments.forcing.aggregate aggregate “mean” mean last Stress-period aggregation method.