create_valve_control_scenario
Apply static valve-setting changes to a water network and run a full simulation to analyze hydraulic impacts in a what-if scenario.
Instructions
Apply static valve-setting changes and simulate.
A clone of the source network is created; the original is unchanged.
Args:
network_id: Source network id.
valve_settings: {valve_id: new_setting} map.
scenario_id: Id for the cloned scenario session.
run_simulation: Run a full simulation after applying changes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network_id | Yes | ||
| scenario_id | No | ||
| run_simulation | No | ||
| valve_settings | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |