Skip to content
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

Add validation of ep-ratio #270

Open
kais-siala opened this issue Jan 19, 2020 · 0 comments
Open

Add validation of ep-ratio #270

kais-siala opened this issue Jan 19, 2020 · 0 comments
Labels
enhancement validation Issue should be included into validation.py

Comments

@kais-siala
Copy link
Contributor

The problem is infeasible if the ratio between inst-cap-c and inst-cap-p is not ep-ratio.
Sometimes it is the case according to excel (in fact, I use outputs of one model year as input in the next year, so I am sure the ratio is correct), but not to pyomo after loading the values, probably due to rounding.

I personally solve this by rounding inst-cap-p to two digits, then multiplying it with ep-ratio to obtain an updated inst-cap-c. Maybe this could be included in the validation?

@kais-siala kais-siala added enhancement validation Issue should be included into validation.py labels Jan 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement validation Issue should be included into validation.py
Projects
None yet
Development

No branches or pull requests

1 participant