Re: derive intermediate steps of each variable

2023-06-28 Thread Ray Daniel Zimmerman
That depends on the solver being used. The default MIPS solver does not output intermediate results, but I suppose you create a modified version of mips.m where you collect the variable x at each iteration and add it to the hist struct that gets returned in results.raw.output.hist. Ray On

Re: voltage difference of generators runpf runopf case9

2023-06-28 Thread Ray Daniel Zimmerman
The generator bus voltage for the power flow is set by the VG column of the gen matrix. For the OPF it is an optimization variable must remain between the bounds set by the VMIN and VMAX columns of the bus matrix. You can also fix the voltages at the VG setpoint in the OPF by setting the opf.us