Skip to content

Releases: polca/premise

More flexible listing of external scenarios

08 Apr 14:24
Compare
Choose a tag to compare

THe use of external scenarios is no longer determined by the IAM scenario.

Hence, this now works:

fp = "/Users/romain/GitHub/RTE_scenarios/datapackage.json"
rte = Package(fp)

scenarios = [
{"model": "image", "pathway":"SSP2-Base", "year": 2020, "external scenarios": [{"scenario": "Reference - M0", "data": rte}]},
{"model": "image", "pathway":"SSP2-Base", "year": 2050, "external scenarios": [{"scenario": "Reference - M0", "data": rte}]},
{"model": "image", "pathway":"SSP2-RCP26", "year": 2050, "external scenarios": [{"scenario": "Reference - M0", "data": rte}]},
{"model": "image", "pathway":"SSP2-RCP26", "year": 2050, "external scenarios": [{"scenario": "Reference - N03", "data": rte}]},
{"model": "image", "pathway":"SSP2-RCP26", "year": 2050, "external scenarios": [{"scenario": "Extensive reindustrialization - M23", "data": rte}]},
{"model": "image", "pathway":"SSP2-RCP19", "year": 2050, "external scenarios": [{"scenario": "Extensive reindustrialization - M23", "data": rte}]},
{"model": "remind", "pathway":"SSP2-PkBudg1150", "year": 2050, "external scenarios": [{"scenario": "Sobriety - M23", "data": rte}]},
#{"model": "remind", "pathway":"SSP2-Base", "year": 2025},
]

ndb = NewDatabase(
scenarios = scenarios,
source_db="ecoinvent 3.9.1 cutoff",
source_version="3.9.1",
key='xxxx',
use_multiprocessing=True
)

External scenarios to use are passed directly in the list of scenarios. Also, any external scenario cna be used with any IAM scenario. Finally, we pass a list, meaning that several external scenarios can be considered per scenario.

Fixes several errors

15 Mar 11:02
Compare
Choose a tag to compare

What's Changed

  • The efficiency of lignite and oil power plants were incorrectly calculated because premise could not identify the fuel input.
  • The Simapro files could no longer be imported in Simapro 9.5.
  • Add conda-forge badge and update install instructions by @m-rossi in #94

New Contributors

Full Changelog: v.2.0.1...v.2.0.2

Fix issue with EN 1804

16 Feb 18:28
Compare
Choose a tag to compare

Three exchanges in the LCI of germanium caused a linking issue with ecoinvent EN 18504.

Major update

15 Feb 14:16
Compare
Choose a tag to compare

Changes with respect to 1.8.0

  • Adds .write_db_to_olca(), which produces a slightly modified version of a Simapro CSV database file which can then be imported in OpenLCA. The use of the SimaPro_Import.csv mapping file must be selected.
  • Marginal mixes were wrong because the average lifetime of the mix was calculated using the technology-specific lead time values instead of lifetime values.
  • Fix issue with CCS in IMAGE scenarios
  • Fix several issues with external scenarios
  • Drops DAC efficiency improvement based on cumulated deployment.
  • Improves documentation for consequential modelling.
  • Code-breaking change: update function are now called like so .update(). For example, to update the electricity sector: .update("electricity"). To update all sectors: .update().

Fix issue with external scenarios

15 Feb 11:56
Compare
Choose a tag to compare
Pre-release
v.2.0.0.dev4

Update docs

Add H2 supply and fix external scenario implementation

14 Feb 16:53
24cbe40
Compare
Choose a tag to compare
Merge pull request #151 from B-Maes/master

update doc consequential
Really nice, thanks @B-Maes

Fix issue with interpolating years and external scenarios

13 Feb 09:30
Compare
Choose a tag to compare

What's Changed

Full Changelog: v.2.0.0.dev1...v.2.0.0.dev2

Fixes issue with marginal mix modeling.

08 Feb 10:05
Compare
Choose a tag to compare
Pre-release
Fix issue with marginal mix.

Fix issue with losses dictionary.

v.2.0.0.dev0

07 Feb 20:22
Compare
Choose a tag to compare
v.2.0.0.dev0 Pre-release
Pre-release

Fix issues with external scenarios building

26 Jan 13:36
Compare
Choose a tag to compare

Could not modify efficiency of datasets
Changed the order of preference for finding eligible suppliers (RoW and GLO placed before RER).