Page 1 of 1

Re: how to model two positive variables without being positive at the same time

Posted: Fri Jun 23, 2017 10:18 pm
by cladelpino
A quick search turns up this reference, for some cases. https://minds.wisconsin.edu/handle/1793/57916 .

My gut tells me it will be very hard to stay in LP but I haven't really made a deep search.

Good luck !

Re: how to model two positive variables without being positive at the same time

Posted: Mon Jul 03, 2017 2:42 pm
by Alireza.soroudi
you can add a cost for charging and discharging. In this way, the LP solver won't use them at the same time.
Especially when the charging/discharging of efficiency are not 1.

There is only one case that it might not be resolved: when you have some wind /solar resources and you have some kind of penalty for wind curtailment. The algorithm will use charging ad discharging at the same time to dissipate the excessive wind.