Network Formulations

Network Formulations

Type Hierarchy

We begin with the top of the hierarchy, where we can distinguish between gas flow models. Currently, there are two variations of the disjunctive form of the weymouth equations: The full non convex formulation and its conic relaxation.

AbstractMINLPForm <: AbstractGasFormulation
AbstractMISOCPForm <: AbstractGasFormulation

Gas Models

Each of these forms can be used as the type parameter for a GasModel:

MINLPGasModel = GenericGasModel(StandardMINLPForm)
MISOCPGasModel = GenericGasModel(StandardMISOCPForm)

For details on GenericGasModel, see the section on Gas Model.

User-Defined Abstractions

The user-defined abstractions begin from a root abstract like the AbstractGasFormulation abstract type, i.e.

AbstractMyFooForm <: AbstractGasFormulation

StandardMyFooForm <: AbstractFooForm
FooGasModel = GenericGasModel{StandardFooForm}

MINLP

Weymouth equation with discrete direction variables

source

Weymouth equation with fixed direction variables

source

MISOCP

Weymouth equation with discrete direction variables

source

Weymouth equation with fixed direction

source
source
source