Re: Changing Swing Bus Voltage Dynamically

2022-06-14 Thread João Marcelo Amaral
Hi Ray, it works perfectly. Thank you very much! Em seg., 13 de jun. de 2022 às 19:31, Ray Daniel Zimmerman escreveu: > When running a power flow the voltage at swing and PV buses is controlled > by the VG column of the corresponding generator in the gen matrix, not by > the VM column in bus.

Re: Changing Swing Bus Voltage Dynamically

2022-06-13 Thread Ray Daniel Zimmerman
When running a power flow the voltage at swing and PV buses is controlled by the VG column of the corresponding generator in the gen matrix, not by the VM column in bus. Setting the corresponding mpc.gen(slack_gen_index, VG) to the desired value in your loop should accomplish what you are

Changing Swing Bus Voltage Dynamically

2022-06-13 Thread João Marcelo Amaral
Hi, my name is João Amaral. I am a researcher from the Alternative Energy Laboratory (LAFAE) in COPPE/UFRJ, Brazil. We are working in the modelling of a Wind Farm using Matpower in Matlab and we are trying to compare field measures with the results from the program. For this we are using a "For