-
Notifications
You must be signed in to change notification settings - Fork 13
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
Reporting of Operation Life #37
Conversation
…t the Life Time of technologies using the OSeMOSYS parameter OperationalLife. In the current implementation it is important to provide regex in the config file that will filter to only one technology per country.
@willu47 could you have a look at the checks below that are failing? The error messages are somewhat cryptic to me. |
Hi @HauHe - the checks are failing due to the "linting". Linting checks the formatting of the code is correct. You need to install the pre-commit checks to pass these checks. The easy way to do this is to use tox: pip install tox
tox -e lint |
Hm, used lint and it changed some dashes from single to double. But there seems to be still some issue. |
The tests are failing because no YEAR.csv file is provided in the tests/fixtures/YEAR.csv path. |
Ok, interesting, so the check sees that I read in |
Seems I managed to fix it by adding a YEAR.csv file to tests/fixtures and tests/fixtures/trade |
Hi @willu47 , not sure if necessary, but would you like to have a look before merging? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good @HauHe
This PR allows to report the IAMC variable
Lifetime
using the OSeMOSYS parameterOperationalLife
. The Operational Life is reported for each year in the Modelling period.The PR addresses #36