create_demand_perturbation
Clone a water network, apply demand multipliers to selected nodes, and optionally simulate to analyze the impact without altering the original.
Instructions
Apply base-demand multipliers to a set of nodes and optionally simulate.
A clone of the source network is created; the original is unchanged.
Args:
network_id: Source network id.
node_demands: {node_id: multiplier} — e.g. {"J1": 2.0}
doubles demand at J1.
scenario_id: Id for the cloned scenario session (auto-generated if
omitted).
run_simulation: Run a full simulation after applying changes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network_id | Yes | ||
| scenario_id | No | ||
| node_demands | Yes | ||
| run_simulation | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |