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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"network_id": "<network_id>",
"valve_id": "<valve_id>",
"setting": "<setting>"
},
"name": "set_valve_setting"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| setting | Yes | ||
| valve_id | Yes | ||
| network_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |