quintel / mechanical_turk

Automatic tester for etengine
1 stars 0 forks source link

Add spec to check whether primary demand per sector/carrier sums up to total primary demand #151

Open michieldenhaan opened 3 years ago

michieldenhaan commented 3 years ago

To catch bugs like: https://github.com/quintel/etsource/commit/b272ce98577624711d74c61841b863979e25140c and https://github.com/quintel/etmodel/issues/3668 we should add a spec to check whether all queries in the mekko_of_primary_demand sum up to: SUM(V(G(final_demand_group), G(energy_export), energy_flexibility_curtailment_electricity, primary_demand))