quintel / refinery

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

Where can we save demand that are not in EB or Production table? #19

Closed StijnDellaert closed 10 years ago

StijnDellaert commented 10 years ago

From the green gas analysis we get an amount of biogas that is upgraded to greengas in the energy_upgrade_biogas converter. This value is not directly in the Energy balance, also it's not a plant that should be in the production table.

I understand we want to try only using the EB, production table and shares & edges to calculate the entire graph and there is no other place to save demands directly.

Some possibilities for this would be:

The first method is not good since the efficiency would be hard-coded in the queries.

The second method would fit our goals but we should discuss whether this doesn't give a higher chance for mistakes if one of the analyses is changed slightly.

The third method would be the easiest although a new source apart from the EB and production table has to be added that would contain demands that are not in EB or PT, but are best set directly..

Do you have any thoughts on this, other pro's/cons? ( @wmeyers , @ChaelKruip , @antw , @dennisschoenmakers )

antw commented 10 years ago

This brings us up to three nodes (that we know of so far) which need a demand, and that demand is not available in the energy balance. The other two being PV solar production in the residential and buildings sectors. I gather that those were added to the central producers CSV; that being the case, I don't have any problem with the greengas demand being queried directly, either through the production table, or a new CSV just for these "oddball" nodes.

Perhaps others have some objection to using demands that don't originate in the EB, but from my perspective it does seem like the easiest approach...

StijnDellaert commented 10 years ago

Good to know. For now, a share is calculated as explained in https://github.com/quintel/rdr/issues/70. The Solar PV demands are indeed in the central producers csv.

StijnDellaert commented 10 years ago

Recently, two other (.csv) files containing node demands were added:

For now, I think it is easiest to query these demands from these files since they cannot be found in the CE production table or energy balance. Other possible solutions are welcome of course.

StijnDellaert commented 10 years ago

For now, I think we can conclude it is possible to add new .csv demand sources like central_producers.csv and primary_production.csv. They should be placed in the etsource/data/datasets/nl/ folder. Query support has to be implemented by Anthony manually so we'll try to limit adding new sources.

wmeyers commented 10 years ago

Indeed. It's actually forbidden to add any new types of csv's without explicitly discussing this in an issue and getting signoff from @ChaelKruip, @dennisschoenmakers, @AlexanderWirtz or @wmeyers.