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

Column headers in scenario option data #85

Open
HauHe opened this issue Jan 19, 2025 · 2 comments
Open

Column headers in scenario option data #85

HauHe opened this issue Jan 19, 2025 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@HauHe
Copy link
Collaborator

HauHe commented Jan 19, 2025

I encounter an error when providing options for the AnnualEmissionLimit.
Problem is that in the file in which the options are provided the column headers don't correspond to the headers of the parameter. For AnnualEmissionLimitthis should be: ['REGION', 'EMISSION', 'YEAR', 'VALUE'], but in the scenario option file it is ['REGION', 'TECHNOLOGY', 'YEAR', 'VALUE'].

The problem is that the file with the scenario options might contain data for multiple parameter that are to be modified for the scenarios. Hence, the header should not be taken from the scenario file, but from the otoole configuration file. In an older version it must have been like that already, since I ran the scenarios that I was about testing already. So not sure when we missed that.

The loop that would need modification I think starts in line 190 and following in main.py

@trevorb1 , would you be able to have a look at it?

@HauHe HauHe added the bug Something isn't working label Jan 19, 2025
@trevorb1
Copy link
Collaborator

@HauHe can you please provide an example of how you were specifying the annual emission limit in the scenario folder? Thank you!

@HauHe
Copy link
Collaborator Author

HauHe commented Jan 19, 2025

Hi @trevorb1, sure, please see below:
PARAMETER,REGION,TECHNOLOGY,OPTION,YEAR,VALUE AnnualEmissionLimit,UTOPIA,NOX,0,,-50 AnnualEmissionLimit,UTOPIA,NOX,1,,-10000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants