Dear all,

I'm looking to get a bit of help in formulating a custom OPF constraint. Conceptually this seems easy but somehow I can't translate it into code! I'm trying to incorporate a very simple HVDC model into the OPF, whereby the two terminals of the HVDC link are simply modelled as generators. Of course, to make this realistic, I need to add a constraint to ensure that the two generators have equal and opposite active powers: so the sending end will be a negative generator absorbing power from its local grid, with the receiving generator being a positive injection.

One approach I considered is adding a new free variable to the OPF to describe the flow on the HVDC link:

om = add_vars(om, 'ThroughFlow', 1)

Then I want to add constraints so that one generator has PG = ThroughFlow and another has PG = -ThroughFlow. I'll also want some bounds on ThroughFlow.

How do I identify the two generators this constraint should apply to? And how do I formulate it?

Any advice or insights are greatly appreciated!

Many thanks all,

Paul

--
Dr. Paul Cuffe,
Senior Researcher,
Electricity Research Centre,
University College Dublin.

Phone: +353-1-716 1743


Reply via email to