-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Type of self-consumption optimization is always bigm, never maxmin #141
Comments
Yes it is hard coded to big M. It was long time ago but I think that the other method has convergence problems, probably the equations are not well posed. The big M was a second possible method but the maxmin is the elegant correct way to handle this. |
Ok, I will adapt the documentation to reflect the reality that self-consumption cost function uses the big M method. regarding the other issue on constraints, is there already a bug report of this? If not, can you provide more input/evidence of the issue? thx |
I dived into this other issue and it is solved in the current release. |
Updated the optimizer documentation here: #143 |
Hi @davidusb-geek ,
In the code, I noticed that in case of a self-consumption cost function, the optimizer always applies the so-called "bigm" method, due to this hard-coded parameter:
emhass/src/emhass/optimization.py
Line 138 in a4255f5
However, the documentation explains the "maxmin" method, which is never invoked due to the parameter above.
Is there an issue with the maxmin method (e.g. never leads to a solution)?
Happy to help further, based on your reply.
The text was updated successfully, but these errors were encountered: