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

Steady state pipe elevation constraint #243

Closed hskkanth closed 2 years ago

hskkanth commented 2 years ago

Added a constraint for inclined pipes. Updated the relevant files to include "elevation" as a column in junctions. Created a function "ref_theta" to add inclination angles for pipes Updated the files to include "g" = 9.81 as a global constant. Updated the weymouth constraint template to take care of zero diameter pipes.

kaarthiksundar commented 2 years ago

@hskkanth Do you need to get g as an input parameter. @rb004f Let me know what your thoughts are on this. It is never going to change right. Otherwise it seems okay.