If I understood correctly, you want to control voltage at bus 4 by the reactive 
power injection at bus 2. MATPOWER does not currently support remotely 
controlled bus voltages in the power flow.

However, a power flow problem, including this one, can be solved using a 
properly constrained OPF problem. In fact, I have a function (attached) called 
runpfbyopf() that does exactly that. I think you will need to add a generator 
at bus 2 to make the reactive power dispatchable, and then make sure all of the 
voltage and injection constraints are set properly.

    Ray



On Jan 7, 2021, at 5:56 AM, akhil 
<[email protected]<mailto:[email protected]>> wrote:

Hello MATPOWER users!
can you please suggest me how to modify the following in matpower code.
I have 4 bus system. 'case4'
now bus 1 is slack bus and rest busses are PQ load bus.
Now I want to modify the bus 4 as PQV bus where apart from PQ voltage to at 
this bus is known now. additionally, I want to maintain this bus4 voltage 
supplying reactive power from bus 2, the augmented equation is now ∆V=[V2 V3]'  
 and  ∆Q=[Q3 Q4]'.  the equation relating the changes in power to the changes 
in the voltage magnitudes and phase angles for the Newton-Raphson method by 
augmenting the jacobian becomes, [ΔP2 ΔP3 ΔP4 ΔQ3 ΔQ4]'= [P2/δ2 P2/δ3 P2/δ4 
P2/V2 P2/V3; P3/δ2 P3/δ3 P3/δ4 P3/V2 P3/V3; P4/δ2 P4/δ3 P4/δ4 P4/V3 P4/V3; 
Q3/δ2 Q3/δ3 Q3/δ4 Q3/V2 Q3/V3 Q4/δ2 Q4/δ3 Q4/δ4 Q4/V2 Q4/V3]= [Δδ2 Δδ3 Δδ4 ΔV2 
ΔV3]'.
How can I augment the above equation in MATPOWER so that the load flow results 
obtained must have this concept. can anyone provide me a simple coded solution 
based on any bus system available in manpower
--




                                          @khil


Attachment: runpfbyopf.m
Description: runpfbyopf.m

Reply via email to