quintel / etmoses

Online decision support tool to create local energy situations for neighbourhoods, cities and regions with a time resolution of 15 minutes created and maintained by Quintel – Not maintained
https://moses.energytransitionmodel.com
MIT License
11 stars 3 forks source link

LESses cannot be opened #1610

Closed DorinevanderVlies closed 6 years ago

DorinevanderVlies commented 6 years ago

@jorisberkhout notified me that no LESses are loading on ETM-SA.

I checked with a couple of LESses and got the same error message for all of them:

image

grdw commented 6 years ago

Both these gqueries don't seem to work:

Both return something in the line of: screen shot 2018-02-02 at 10 19 21

Do you want me to fix them or do you want to take a look yourself?

antw commented 6 years ago

This appears to be because the queries are calculating the amount of buffer space by looking at the inputs to:

However the space/water heat producers are no longer directly connected to these nodes, therefore INTERSECTION(GROUP(etmoses), CHILDREN(...)) returns nothing.

antw commented 6 years ago

Alternative queries to select the correct nodes might be:

Space heating:

INTERSECTION(G(etmoses), G(merit_household_space_heating_producers))

Hot water:

INTERSECTION(G(etmoses), G(merit_household_hot_water_producers))
DorinevanderVlies commented 6 years ago

Nice! Thanks @antw and @grdw

DorinevanderVlies commented 6 years ago

Re-opening as the same error message occurs when I try to load a LES on beta.

antw commented 6 years ago

Fixed by (re-)deploying the latest version.