Outfall.pollut_quality#
- property Outfall.pollut_quality#
Get Current Water Quality Values for a Node. If Simulation is not running this method will raise a warning and return 0.
- Returns:
Group of Water Quality Values.
- Return type:
Examples:
>>> from pyswmm import Simulation, Nodes >>> >>> with Simulation('tests/data/test_pollutants.inp') as sim: ... J1 = Nodes(sim)["J1"] ... for step in sim: ... print(J1.pollut_quality) {'test-pollutant': 0.0} {'test-pollutant': 120.0} {'test-pollutant': 120.0}