Skip to content

StateDMI / Command / SetWellStationCapacityToWellRights


Overview

The SetWellStationCapacityToWellRights command (for StateMod) sets the well station capacity for each well station to the sum of the well rights corresponding to the station. The well rights must have been read or assigned with previous commands. If there are no well rights in the file, the capacity is set to zero.

Command Editor

The following dialog is used to edit the command and illustrates the command syntax.

SetWellStationCapacityToWellRights

SetWellStationCapacityToWellRights Command Editor (see also the full-size image)

Command Syntax

The command syntax is as follows:

SetWellStationCapacityToWellRights(Parameter="Value",...)

Command Parameters

Parameter             Description Default          
ID
required
A single well station identifier to match or a pattern using wildcards (e.g., 20*). None – must be specified.
IfNotFound Used for error handling, one of the following:
  • Fail – generate a failure message if the ID is not matched
  • Ignore – ignore (don’t add and don’t generate a message) if the ID is not matched
  • Warn – generate a warning message if the ID is not matched
Warn

Examples

See the automated tests.

Troubleshooting

See Also