set_quality_type
Set the water-quality analysis type for an EPANET network model to NONE, AGE, TRACE, or CHEM, with optional tracer node, chemical name, and units.
Instructions
Set the water-quality analysis type.
Args:
network_id: Session id.
quality_type: One of "NONE", "AGE", "TRACE", or "CHEM".
tracer_node: Source node for TRACE analysis.
chemical_name: Species name for CHEM analysis.
units: Concentration units (e.g. "mg/L").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| units | No | ||
| network_id | Yes | ||
| tracer_node | No | ||
| quality_type | Yes | ||
| chemical_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |