1. There is unfortunately no a single function that does comprehensive sanity 
checking of the data, though this would be a very welcome contribution.
2. Think of the generator’s voltage setpoint VG as an input to the power flow 
problem (it’s an output for the OPF problem). If the generator has sufficient 
reactive power capability, that setpoint will generally be maintained, but if 
the reactive power limits are enforced ('pf.enforce_q_lims' option), then the 
bus voltage at the solution will depart from the generator’s setpoint.

    Ray



> On Feb 25, 2016, at 2:25 PM, Dirk Toewe <[email protected]> wrote:
> 
> Hello Everyone,
> 
> i am currently working on the Creation and Simulation of a few power grid 
> models at university. First of all i have to say that i really like the great 
> documentation and the simplicity of the MatPower data format and API. But I 
> still have some problems with getting the power flow simulation to converge 
> from time to time. Usually it's just some silly mistake like not having set 
> the bus or generator voltages in the model. This leads me to the following 
> questions:
> Is there a "Sanity Check"-Method, that checks a model for the most common 
> mistakes?
> Why is there even a voltage setpoint (VG) for the generators? Doesn't it 
> always have to be exactly equal to the bus' voltage?
> 
> Best regards
> Dirk

Reply via email to