quintel/etsource — pull request #773 by wouterterlouw (2014-02-28 10:00:50+00:00)
Title: Improve refinery modelling

See https://github.com/quintel/etsource/issues/725. (And https://github.com/quintel/etsource/issues/761 and https://github.com/quintel/etengine/issues/689)

The refinery is now modelled explicitly for all oil streams. This means that both transformation and own use is now demand dependent. The refinery itself requires a transformation efficiency and an own use share to be calculated from the energy balance. This is done in the Primary production analysis.

Furthermore, the oil refineries own use should not be aggregated in the industry final demand anymore. The Industry analysis is adapted to exclude that entry from the own use that is added to the industry final demand.

Furthermore, there are some changes for the example, de and eu dataset origination from https://github.com/quintel/etdataset/commit/3e45cdac29ff22049821a9c57bf9835bf534d1e1.

Related pull requests:
* ["Improve refinery modelling" on ETdataset](https://github.com/quintel/etdataset/pull/437)
* ["Slot calculation should consider reverse shares" on ETengine](https://github.com/quintel/etengine/pull/690)