PowerSimulations.jl icon indicating copy to clipboard operation
PowerSimulations.jl copied to clipboard

Duals all NaN when including ReserveDemandCurve

Open Nongchao opened this issue 1 year ago • 2 comments

When including PSY.ReserveDemandCurve in ProblemTemplate, the problem solves, but the duals are all NaN.

Nongchao avatar Mar 26 '24 16:03 Nongchao

@sourabhdalvi Do you call what the implementation of ReserveDemandCurve looks like?

jd-lara avatar Apr 27 '24 00:04 jd-lara

@sourabhdalvi Do you call what the implementation of ReserveDemandCurve looks like?

Sourabh helped me figured out what's causing the issue. Essentially SOS variables were introduced and my understanding is there's no way to fix these variables to solve a LP to get duals. But in my application, SOS variables are not needed, so we had a "hacky" way to by-pass the convexity check and not introducing SOS variables for now.

Nongchao avatar Apr 29 '24 15:04 Nongchao

@Nongchao I'd be good to know what you are doing to make sure that we can incorporate the fix you are using.

jd-lara avatar May 13 '24 05:05 jd-lara

closing since it can't be replicated. @rodrigomha we need a test with the new ORCD to recover Duals

jd-lara avatar Jun 25 '24 14:06 jd-lara