set_valve_setting
Set the initial setting of a valve (pressure setpoint, flow rate, or loss coefficient) in a water distribution network model.
Instructions
Set the initial setting of a valve.
PRV/PSV/PBV → pressure setpoint; FCV → flow rate; TCV → loss coefficient.
Args: network_id: Session id. valve_id: Valve link name/ID. setting: New setting value.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| setting | Yes | ||
| valve_id | Yes | ||
| network_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |