Skip to content

Adding test queries for Sankey download #3062

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

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

kaskranenburgQ
Copy link
Contributor

@kaskranenburgQ kaskranenburgQ commented May 28, 2024

This PR adds test queries for the Sankey download.
The logic behind the tests is that for each carrier in the Sankey download:
Conversion Output + Primary Demand Output = Conversion Input + Final demand Input + Losses*

*The losses that are taken into account are conversion losses to the same carrier, i.e. electricity to electricity conversion losses.

With the rake task, the queries that are given for each group are extracted from the sankey_csv.yml and summed up in a dedicated query for each of the categories.

Since only one type of losses is taken into account, these queries are not taken into account in the tests.

Goes together with PR 178 from mechanical_turk

Copy link

This pull request has had no activity for 60 days and will be closed in 7 days. Removing the "Stale" label or posting a comment will prevent it from being closed automatically. You can also add the "Pinned" label to ensure it isn't marked as stale in the future.

@github-actions github-actions bot added the Stale Issue had no activity for 60 days and will be, or has been, closed. label Jul 29, 2024
@mabijkerk mabijkerk removed the Stale Issue had no activity for 60 days and will be, or has been, closed. label Jul 29, 2024
Copy link

This pull request has had no activity for 60 days and will be closed in 7 days. Removing the "Stale" label or posting a comment will prevent it from being closed automatically. You can also add the "Pinned" label to ensure it isn't marked as stale in the future.

@github-actions github-actions bot added the Stale Issue had no activity for 60 days and will be, or has been, closed. label Sep 28, 2024
@github-actions github-actions bot closed this Oct 13, 2024
@kaskranenburgQ kaskranenburgQ removed the Stale Issue had no activity for 60 days and will be, or has been, closed. label Oct 14, 2024
Copy link

This pull request has had no activity for 60 days and will be closed in 7 days. Removing the "Stale" label or posting a comment will prevent it from being closed automatically. You can also add the "Pinned" label to ensure it isn't marked as stale in the future.

@github-actions github-actions bot added the Stale Issue had no activity for 60 days and will be, or has been, closed. label Dec 14, 2024
@github-actions github-actions bot closed this Dec 29, 2024
@kaskranenburgQ kaskranenburgQ added Pinned Will never be marked as stale or auto-closed. and removed Stale Issue had no activity for 60 days and will be, or has been, closed. labels Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Pinned Will never be marked as stale or auto-closed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants