There is not yet a way to introduce user-defined integer variables in MATPOWER. 
The current MATPOWER includes interfaces to MILP solvers in preparation for 
future additions of UC related solvers. But, unfortunately, at this point you 
would have to manually set up your own problem (possibly using opf_setup() and 
dcopf_solver() as a starting point) that calls miqps_matpower() directly. The 
add_vars() function does allow you to specify variable type, but that variable 
type is not yet used by any current MATPOWER code.

    Ray


> On Mar 29, 2015, at 1:08 PM, Haneen Mohammad dawoud Aburub 
> <[email protected]> wrote:
> 
> Dear Dr. Zimmerman,
> 
> I am working on a day-ahead market (unit commitment and dispatch) case for a 
> 240-bus system. The problem is a mixed integer programming defined as follows:
> 1. Objective function: quadratic
> 2. Constraints (equality and inequality): linear
> 3. Variables: continuous and integer
> I know that Matpower has a unit-decommitment code to reflect the commitment 
> status of the units. To do the unit commitment, I need to add the following 
> constraint to get the start-up and shut-down status of the units based on 
> their commitment status between time periods:
> u(t)-u(t-1)=v-w
> such that,
> u(t): integer variable for commitment status at time t.
> u(t-1): integer variable for commitment status at time t-1.
> v: integer variable for start-up status.
> w: integer variable for shut-down status.
> The problem which I am facing is that the user-defined variable in matpower 
> should be defined in the following format:
> Example: om = add_vars(om, 'Pg', ng, Pg0, Pmin, Pmax); 
> but this format represents continuous (not integer) variables.
> So, if you please, is there a way to define integer variables in Matpower.
> 
> Best regards,
> 
> Haneen Aburub
> 
> PhD, Graduate Research Assistant 
> Electrical Engineering and Computer Science Department
> Wichita State University

Reply via email to