Network Formulations

The network formulations for joint power-water modeling use the formulations defined in PowerModelsDistribution.jl and WaterModels.jl.

PowerWaterModels Types

Specification of a PowerWaterModel requires the specification of both a PowerModelsDistribution.AbstractUnbalancedPowerModel and a WaterModels.AbstractWaterModel, respectively. For example, to specify a formulation that leverages the LinDist3FlowPowerModel and PWLRDWaterModel types, the corresponding PowerWaterModel type would be

PowerWaterModel{LinDist3FlowPowerModel, PWLRDWaterModel}

PowerWaterModels then utilizes the following (internal) function to construct a PowerWaterModel object:

PowerWaterModels.instantiate_modelFunction
instantiate_model(p_file, w_file, link_file, model_type, build_method; kwargs...)

Instantiates and returns a PowerWaterModels modeling object from power and water input
files `p_file` and `w_file`. Additionally, `link_file` is an input file that links
power and water networks, `model_type` is the power-water modeling type, and
`build_method` is the build method for the problem specification being considered.
source