lanl-ansi / GasModels.jl

A Julia/JuMP Package for Gas Network Optimization
https://lanl-ansi.github.io/GasModels.jl/latest/
Other
65 stars 16 forks source link

Length or Diameter = 0 #241

Open rb004f opened 2 years ago

rb004f commented 2 years ago

Add a data check for pipes with length = 0 or diameter =0 that at least logs an error message.

rb004f commented 2 years ago

Length=0 is implemented. D = 0 should decouple pressures on either side of the pipe. Might implement a data correction remove all pipes with D =0 as they should have no flow.