lanl-ansi / GasPowerModels.jl

Julia packages for joint optimization of natural gas and power transmission networks
https://lanl-ansi.github.io/GasPowerModels.jl/stable/
Other
25 stars 10 forks source link

Status propogation #49

Open rb004f opened 4 years ago

rb004f commented 4 years ago

We need an implementation of status propagation between infrastructure systems. For example, if a PowerModels generator status = 0, PowerModels will remove the generator from ref. However, a GasModels receipt point might point at that generator as a consumer of gas. Given that the generator is removed, this will result in a dangling data pointer. So, we need to make this receipt status = 0 as well. This might require manual execution of the correct_network functions in GasModels and PowerModels