get_node_results
Retrieve EPANET node simulation results for demand, head, pressure, or quality. Specify timesteps, node IDs, or a run ID to get precise data, with min/max/mean summaries when omitted.
Instructions
Query simulation results for nodes. Defaults to the last timestep and includes min/max/mean over time unless timesteps are given. Node ids are capped at 250, timesteps at 100. Pass the runId returned by run_simulation to pin results to a specific run; omit for the latest run. Units and a qualityAnalyzed flag are included in every response. Demand for tanks/reservoirs is net inflow; tank pressure is 0 by definition.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runId | No | The run id returned by run_simulation. Omit to use the latest run. | |
| offset | No | Zero-based index of the first node to return; combine with the cap to page through large networks. | |
| nodeIds | No | Node ids to query. Omit for all nodes (capped at 250 per page). | |
| networkId | Yes | The network id returned by load_network. | |
| timesteps | No | Zero-based reporting timestep indices. Omit to get the last timestep plus min/max/mean over time. | |
| properties | No | Result properties to return. Defaults to pressure. |