to_dict#
module wntr.network.io
- to_dict(wn)[source]#
Convert a WaterNetworkModel into a dictionary
- Parameters:
wn (WaterNetworkModel) – Water network model
- Returns:
Dictionary representation of the WaterNetworkModel
- Return type:
module wntr.network.io
Convert a WaterNetworkModel into a dictionary
wn (WaterNetworkModel) – Water network model
Dictionary representation of the WaterNetworkModel