Outfall.reactor_quality#

property Outfall.reactor_quality#

Get Current Water Quality Values for the mixed reactor inside a Node. If Simulation is not running this method will raise a warning and return 0.

Returns:

Group of Water Quality Values.

Return type:

dict

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.reactor_quality)
{'test-pollutant': 0.0}
{'test-pollutant': 120.0}
{'test-pollutant': 120.0}