swmmio
swmmio copied to clipboard
Provide coverage in swmmio.rpt for the Flow Routing Continuity section
Summary
Provide a property on the swmmio.rpt object that returns a dataframe containing the information in the Flow Routing Continuity section of the rpt file. For example, users should be able to access this data
************************** Volume Volume
Flow Routing Continuity acre-feet 10^6 gal
************************** --------- ---------
Dry Weather Inflow ....... 0.000 0.000
Wet Weather Inflow ....... 6.295 2.051
Groundwater Inflow ....... 0.000 0.000
RDII Inflow .............. 0.000 0.000
External Inflow .......... 0.000 0.000
External Outflow ......... 5.874 1.914
Flooding Loss ............ 0.415 0.135
Evaporation Loss ......... 0.000 0.000
Exfiltration Loss ........ 0.000 0.000
Initial Stored Volume .... 0.000 0.000
Final Stored Volume ...... 0.000 0.000
Continuity Error (%) ..... 0.101
in a dataframe, by referencing a new property on the swmmio.rpt object. This could look like this:
model = swmmio.Model('path/to/model/with/rpt')
model.rpt.flow_routing_continuity
Cool.