Network Formulations

Network Formulations

Type Hierarchy

We begin with the top of the hierarchy, where we can distinguish between gas flow models. There are currently five formulations supported in GasModels. Two full non convex formulations and three relaxations.

AbstractNLPForm <: AbstractGasFormulation
AbstractMINLPForm <: AbstractGasFormulation
AbstractMISOCPForm <: AbstractGasFormulation
AbstractMIPForm <: AbstractGasFormulation
AbstractLPForm <: AbstractGasFormulation

Gas Models

Each of these forms can be used as the type parameter for a GasModel, i.e.:

NLPGasModel = GenericGasModel(StandardNLPForm)
MINLPGasModel = GenericGasModel(StandardMINLPForm)
MISOCPGasModel = GenericGasModel(StandardMISOCPForm)
MIPGasModel = GenericGasModel(StandardMIPForm)
LPGasModel = GenericGasModel(StandardLPForm)

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}

NLP

enforces pressure changes bounds that obey compression ratios for an undirected compressor.

source

constraints on pressure drop across a compressor

source

constraints on pressure drop across control valves that are undirected

source

Weymouth equation with absolute value

source

Weymouth equation with one way direction

source

Weymouth equation for an undirected expansion pipe

source

Weymouth equation for directed expansion pipes

source

MINLP

Weymouth equation with discrete direction variables

source

Weymouth equation with one way direction

source

Weymouth equation for an undirected expansion pipe

source

Weymouth equation for directed expansion pipes

source

MISOCP

Weymouth equation for an undirected pipe

source

Weymouth equation with a pipe with one way flow

source

Weymouth equation for an undirected expansion pipe

source

Weymouth equation for expansion pipes with undirected expansion pipes

source
source
source

MIP

Constraint: Compressor ratio constraints on pressure differentials–not applicable for MIP models

source

Constraint: Compressor ratio when the flow direction is constrained–not applicable for MIP models

source

Constraint: compressor ratios on a new compressor–not applicable for MIP models-not applicable for MIP models

source

Constraint: Pressure drop across an expansion compressor when direction is constrained-not applicable for MIP models

source

constraints on pressure drop across control valves that are undirected–not applicable for MIP models

source

Constraint: Pressure drop across a control valves when directions is constrained–not applicable for MIP models

source

Constraint: Constraints on pressure drop across valves where the valve can open or close–not applicable for MIP models

source

Constraint: Constraints which define pressure drop across a pipe

source

Constraint: constraints on pressure drop across where direction is constrained

source

Constraint: constraints on pressure drop across an expansion pipe

source

Constraint: Pressure drop across an expansion pipe when direction is constrained–not applicable for MIP models

source

Constraint: Constraint on pressure drop across a short pipe–not applicable for MIP models

source

Constraint: Weymouth equation–not applicable for MIP models

source

Constraint: Weymouth equation with one way direction–not applicable for MIP models

source

Constraint: Weymouth equation–not applicable for MIP models–not applicable for MIP models

source

Constraint: Weymouth equation–not applicable for MIP models–not applicable for MIP models

source

LP

Constraint: Compressor ratio constraints on pressure differentials–not applicable for LP models

source

Constraint: Compressor ratio when the flow direction is constrained–not applicable for LP models

source

Constraint: compressor ratios on a new compressor–not applicable for MIP models-not applicable for LP models

source

Constraint: Pressure drop across an expansion compressor when direction is constrained-not applicable for LP models

source

constraints on pressure drop across control valves that are undirected–not applicable for LP models

source

Constraint: Pressure drop across a control valves when directions is constrained–not applicable for LP models

source

Constraint: Constraints on pressure drop across valves where the valve can open or close–not applicable for LP models

source

Constraint: Constraints which define pressure drop across a pipe

source

Constraint: constraints on pressure drop across where direction is constrained

source

Constraint: constraints on pressure drop across an expansion pipe

source

Constraint: Pressure drop across an expansion pipe when direction is constrained–not applicable for LP models

source

Constraint: Constraint on pressure drop across a short pipe–not applicable for LP models

source

Constraint: Weymouth equation–not applicable for LP models

source

Constraint: Weymouth equation with one way direction–not applicable for LP models

source

Constraint: Weymouth equation–not applicable for MIP models–not applicable for LP models

source

Constraint: Weymouth equation–not applicable for MIP models–not applicable for LP models

source

continous relaxation of variables associated with operating valves

source