NodeSeries#
- class NodeSeries(out_handle)[source]#
Get a node time series. New to PySWMM-v2!
Note: you can use pandas to convert dict to a pandas Series object with dict keys as index
- Returns:
dict of attribute values with between start_index and end_index with reporting timesteps as keys
- Return type:
dict {datetime : value}
Examples:
from pyswmm import Output, NodeSeries with Output('tests/data/model_full_features.out') as out: ts1 = NodeSeries(out)['J1'].invert_depth ts2 = NodeSeries(out)['J1'].hydraulic_head ts3 = NodeSeries(out)['J1'].ponded_volume ts4 = NodeSeries(out)['J1'].lateral_inflow ts5 = NodeSeries(out)['J1'].total_inflow ts6 = NodeSeries(out)['J1'].flooding_losses ts7 = NodeSeries(out)['J1'].pollut_conc_0
Methods
Attributes