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

single year example with CO2 objective #272

Open
kayaraski opened this issue Jan 27, 2020 · 0 comments
Open

single year example with CO2 objective #272

kayaraski opened this issue Jan 27, 2020 · 0 comments
Assignees

Comments

@kayaraski
Copy link

kayaraski commented Jan 27, 2020

BUG:
When you run urbs with CO2 objective with single year example, program gives an key error for 'Weight' at modelhelper.py line 86 (stf_dist function).
This is because there is no distinction between intertemopral model and single year model inside co2_rule function. Both try to call stf_dist(stf,m) directly which expects m.global_prob[stf,'Weight'] to exist. That key does not exists for single year example. @sonercandas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants