apply_hydraulic_scenario#

module wntr.extensions.design_verification.scenarios

apply_hydraulic_scenario(wn, scenario)[source]#

Apply hydraulic simulation options to an independent network copy.

The verification scenario changes only the WNTR time and hydraulic simulation option groups. The original WaterNetworkModel is not modified.

Parameters:
Returns:

  • scenario_wn (WaterNetworkModel) – Independent network copy containing the selected time and hydraulic simulation options.

  • audit (dict) – Dictionary recording the original and applied simulation options.

Return type:

tuple[WaterNetworkModel, dict[str, object]]