You could add a generator at each bus and then use an OPF to solve for the 
power flows, with the real power dispatches constrained to their initial values.

    Ray


> On Nov 6, 2016, at 9:40 AM, Angel Pastor <[email protected]> wrote:
> 
> Dear MATPOWER community.
> 
> Hi to everyone, i'm trying to implement reactive power compensation in a 
> power system, my goal is to make voltage in all buses have values within the 
> constraints, but i don't know neither the ubication for the compensation or 
> the MVAR's that  would give me the optimal solution and satisfy all the 
> constraints. So i was wondering if there is a way for matpower to get me that 
> information.
> 
> My system consist in 14 buses, 5 PV (one generator per bus) and 9 PQ. I was 
> thinking in modeling the compensators as reactive power generators with no 
> Pg, as in a OPF the reactive power generated Qg is an optimization variable, 
> but i only have that variable in the PV buses, and i need to be able to 
> compensate in any bus to have the optimal solution.
> 
> I could make all the buses PV to put generator in all the buses, but then the 
> voltage would be attached to de Vg values from the gen_matrix.
> 
> Other idea i had was to add a new variable with the add_userfcn. function and 
> change the OPF formulation with
> 
> function om = userfcn_reserves_formulation(om, args)
> 
> But i think that variable would still be limitated to to the PV buses and 
> would only add a reserve to the current generators.
> 
> If you could help me with this, i would really appreciate it.
> 
> Hoping to get response. Thanks in advance.
> 
> Angel Araque, Electrical Engineering student in University of Los Andes. 
> Venezuela

Reply via email to