quintel / refinery

Calculates node demands and edge shares for sparse energy graphs.
2 stars 0 forks source link

Enable obtaining multiple attributes from primary_production table #45

Closed wouterterlouw closed 10 years ago

wouterterlouw commented 10 years ago

The primary_production table does have three columns: key, demand and max_demand. Currently, I can only query the demand using:

~ demand = PRIMARY_PRODUCTION(energy_production_biogenic_waste)

Before, we set only one flex max demand and that was using a time curve. However, we would also like to query the max_demands from this table. E.g. using PRIMARY_PRODUCTION(node_key, attribute).

antw commented 10 years ago

Done. I also updated queries in ETSource: quintel/etsource@a536e37.