MATPOWER / most

MOST – MATPOWER Optimal Scheduling Tool, for steady-state power systems scheduling problems.
https://matpower.org/
Other
31 stars 12 forks source link

Dispatchable loads for UC #20

Closed standon41 closed 3 years ago

standon41 commented 3 years ago

Hi, I am trying to figure out the best way to set up dispatchable loads for a DCOPF unit commitment problem. So far I have changed the genotype to DL. But that does not seem to have any effect. Should I use addgen2mpc? I am trying to modify the generators and not add anything new, will this suffice? Any examples on how I can use this function??

rdzman commented 3 years ago

If you are simply looking for a way to disable the commitment decision for the dispatchable loads, then just set the CommitKey in the xGenData to 2. See Table 5-1 in the MOST User's Manual.

If it's something else you are trying to accomplish, you'll have to be more specific about what you are trying to accomplish and what is not working.

standon41 commented 3 years ago

I am trying to measure loadshed on busses for every period that I have set up. Matpower has a function called 'load2disp' that I am using. Is there anything else I should adjust in the most settings? Thank you

rdzman commented 3 years ago

No you should be able to use load2disp to convert the loads in your case file. You'll just have to make sure that your other inputs match this new case file, e.g. the xGenData will need to have the same number of entries as the mpc.gen in your new case file.