$title PMU allocation for IEEE 14 network without considering zero injection nodes $onText For more details please refer to Chapter 8 (Gcode8.1), of the following book: Soroudi, Alireza. Power System Optimization Modeling in GAMS. Springer, 2017. -------------------------------------------------------------------------------- Model type: MIP -------------------------------------------------------------------------------- Contributed by Dr. Alireza Soroudi IEEE Senior Member email: alireza.soroudi@gmail.com We do request that publications derived from the use of the developed GAMS code explicitly acknowledge that fact by citing Soroudi, Alireza. Power System Optimization Modeling in GAMS. Springer, 2017. DOI: doi.org/10.1007/978-3-319-62350-4 $offText Set bus / 1*14 /; Alias (bus,node); Set conex 'Bus connectivity matrix' / 1.2 1.5 2.3 2.4 2.5 3.4 4.5 4.7 4.9 5.6 6.11 6.12 6.13 7.8 7.9 9.10 9.14 10.11 12.13 13.14 /; conex(bus,node)$(conex(node,bus)) = 1; Variable OF; Binary Variable PMU(bus); Equation const1, const2; ********************************************************************** const1.. OF =e= sum(bus, PMU(bus)); const2(bus).. PMU(bus) + sum(node$conex(bus,node), PMU(node)) =g= 1; option optCr = 0, profile = 1; Model placement / const1, const2 /; solve placement minimizing OF using mip; display pmu.l;