Hi, I am still new to AIMMS and am building a unit commitment model (for power system operations)
I have managed to add generation and startup, shutdown constraints but couldn't seem to add the transmission line constraint. In the end, I would like to add the power loss expression to the transmission line, but I am still stuck with representing the power flow on the lines.
These are some of the constraints that I have tried (one at a time, and the parameters are adjusted accordingly for each), which cause: "Warning: After zero iterations CPLEX 12.7 concluded that an integer solution to UCED(myMP) does not exist."
1. PGenBus(i,t)-D(i,t)=sum(l,PowerFlow(l,t)*MapLine(l,i))
2. PGenBus(i,t)-D(i,t)-DNotServed(i,t)=sum(l,PowerFlow(l,t)*MapLine(l,i))
3. PGenBus(i,t)-D(i,t)=sum(j,LineAdmittance(i,j)*Ang(i,t)*Ang(j,t));
4. PGenBus(i,t)-D(i,t)=sum(j,PowerFlow(i,j,t))-sum(j,PowerFlow(j,i,t));
where PGenBus(i,t) and D(i,t) are the generation and demand of bus i and time t. Eq 1,2,4 was meant to find the PowerFlow while Eq 3 was meant to find the angle of the nodes.
I have attached my project files and any help/advice/guidance in representing transmission line and loss constraint in AIMMS is very much appreciated.
Thanks!
Okto