When running a power flow, the voltages at PQ buses are results not inputs, and 
the voltage setpoints at REF and PV buses are set by the VG column in the gen 
matrix, not the VM column of the bus matrix.

So, if you modify gen(:, VG) you should see the changes you are looking for.

   Ray



On Feb 13, 2025, at 8:16 PM, WIDIPUTRA VICTOR <[email protected]> 
wrote:

Dear Community,

I am trying to simulate some scenarios using variable voltages across all of 
the buses. However, when I try to change the value of the voltage in the 
mpc.bus, it seems that the result of the powerflow using runpf(mpc) does not 
change unless I change it using extreme value that will cause the power flow to 
not converge to a solution. I am wondering is anyone experiencing the same 
issue?

I attach the example of the problem that I faced. I tried it on multiple 
MATPOWER versions and it seems the problem persists. As you can see, there is 
no change even though I changed the bus voltages into 0.8. It defaults back to 
the original case14 bus voltage value.

Best regards,

Victor Widiputra


<image.png>





<image.png>


Reply via email to