Hi,
I’m working on second order cone programming for power distribution system problems. Suppose my system includes 5 buses and 4 lines. So,
set bi /bus1bus5/
set li /line1line4/
alias(bi,bj)

Now the vector V(bi) stands for voltage magnitude squared of a node, P(bi,bj) and Q(bi,bj) stand for the active and reactive power flow from bus bi to bj. My second order cone equation is

Thank you for your response sir. In fact I need to know how to write conic constraints in GAMS language.
Like I mention in my case, let’s assume V is a vector of variables which stands for the voltage magnitude squared of nodes. P and Q are also variable matrices stands for the active and reactive power flow among the nodes. The number of nodes of my system for example is 5.
So, the dimensions,
V is (51)
P is (55)
Q is (5*5)