run_simulation
Run EPANET hydraulic simulation for a loaded network, returning min/max/average pressure, flow, pump energy, and warnings. Optional water-quality analysis when configured.
Instructions
Run the EPANET hydraulic simulation for a loaded network and return aggregate results (min/max/average pressure and flow, pump energy, warnings). Results are stored so get_node_results / get_link_results can query them.
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": {
"networkId": "<networkId>"
},
"name": "run_simulation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quality | No | Also run water-quality analysis. Requires the model to have quality configured ([OPTIONS] Quality). | |
| networkId | Yes | The network id returned by load_network. |