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

Fixed issue with writing emission sets #69

Merged
merged 1 commit into from
May 12, 2021

Conversation

willu47
Copy link
Member

@willu47 willu47 commented May 10, 2021

Addresses #68.

Apologies for the whitespace changes.

Main change is in line 240 which adds the information from an EmissionActivityRatio entry to data_all. This ensures that the subsets for MODExTECHNOLOGYperEMISSION are generated.

I used a minimal input file to test this:

param default 0.0 : EmissionActivityRatio :=
REGION NENG00ILGX NECO2 1 2019 0.0503006546999384
;

set TECHNOLOGY :=
NENG00ILGX
;

set YEAR :=
2019
;

end;

Which produced the following appended to the above:

set MODEperTECHNOLOGY[NENG00ILGX]:= 1;
end;

@willu47 willu47 requested a review from abhishek0208 May 10, 2021 22:11
@abhishek0208 abhishek0208 merged commit fa2e992 into OSeMOSYS:master May 12, 2021
@abhishek0208
Copy link
Contributor

Looks good, thanks @willu47!

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

Successfully merging this pull request may close these issues.

2 participants