wntr.utils.disjoint_mapping#
A set of utility classes that is similar to the ‘registry’ objects in the wntr.network class, but more general, and therefore usable for other extensions, such as multi-species water quality models.
Classes
A mapping with keys that are also divided into disjoint groups of keys. |
|
A dictionary that checks a namespace for existing entries. |
Exceptions
The name already exists in the model |
|
The key exists but is in a different disjoint group |