Namespaces | |
| pfd | |
| Global functions for process flow diagram related operations. | |
Functions | |
| def | PooPyLab.utils.pfd._check_connection (pfd=[]) |
| Check the validity of connections on the process flow diagram. More... | |
| def | PooPyLab.utils.pfd._id_upstream_type (me, upds) |
| Identify the type of a discharger connected to the inlet. More... | |
| def | PooPyLab.utils.pfd._check_WAS (mywas) |
| Check the validity of the WAS units in the pfd. More... | |
| def | PooPyLab.utils.pfd._check_sidestream_flows (mysplitters) |
| Check the validity of the sidestreams of all splitter types. More... | |
| def | PooPyLab.utils.pfd._find_main_only_prefix (cur, pms) |
| Find the mainstream only loop in the PFD. More... | |
| def | PooPyLab.utils.pfd._has_main_only_loops (pfd) |
| Analyze a PFD and see whether it has a loop only via mainstream outlets. More... | |
| def | PooPyLab.utils.pfd.get_all_units (wwtp, type='ASMReactor') |
| Return all the units of a specific type in a treatment plant PFD. More... | |
| def | PooPyLab.utils.pfd.check (wwtp) |
| Check the validity of the PFD against the rules. More... | |
| def | PooPyLab.utils.pfd.show (wwtp=[]) |
| Show the verbal description of the PFD. More... | |
|
private |
Check the validity of connections on the process flow diagram.
All units are connected for their main- and sidestream outlets other than the exceptions made in initializations. This function checks and count the loose ends found in the PFD.
| pfd | Process Flow Diagram (list of all unit processes in the WWTP); |
|
private |
Identify the type of a discharger connected to the inlet.
This function identifies the type of an upstream discharger (upds) of (me)
| me | a process unit |
| upds | an upstream discharger of "me" |
|
private |
Check the validity of the WAS units in the pfd.
| mywas | the WAS unit under analysis |
|
private |
Check the validity of the sidestreams of all splitter types.
| mysplitters | Splitters to be checked; |
|
private |
Find the mainstream only loop in the PFD.
| cur | current process unit; |
| pms | list of mainstream units (prefixes) leading to "cur". |
|
private |
Analyze a PFD and see whether it has a loop only via mainstream outlets.
| pfd | Process Flow Diagram (list of process units in the WWTP); |
| def PooPyLab.utils.pfd.get_all_units | ( | wwtp, | |
type = 'ASMReactor' |
|||
| ) |
Return all the units of a specific type in a treatment plant PFD.
| wwtp | a collection (list) of process units; |
| type | type of process units of interest. |
| def PooPyLab.utils.pfd.check | ( | wwtp | ) |
Check the validity of the PFD against the rules.
| wwtp | a collection (list) of process units; |
| def PooPyLab.utils.pfd.show | ( | wwtp = [] | ) |
Show the verbal description of the PFD.
| wwtp | a collection (list) of process units; |