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

Add spec to test whether hourly loads and annual volumes add up #149

Open
michieldenhaan opened this issue Mar 4, 2021 · 0 comments
Open
Assignees

Comments

@michieldenhaan
Copy link
Contributor

michieldenhaan commented Mar 4, 2021

We should add a spec for each of the time-resolved carriers to check whether the annual volume in the graph and the sum of the hourly curves match.

E.g.

SUM(
    V(
      FILTER(
             ALL(),
             "merit_order && (merit_order.type == :consumer)"),
      electricity_input_curve)
    ) * 3600 
- 
SUM(
    V(
      FILTER(
            ALL(),
            "merit_order && (merit_order.type == :consumer)"), 
      "input_of_electricity + input_of_loss")
    )

(the input of loss is included because energy_power_hv_network_loss has a loss input, not an electricity input)

This can help to catch issues like this one: quintel/etmodel#3649

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

2 participants