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