Recent Releases of premise
premise - Fix issue when downloading inventory files from data packages + add function for score comparison
Full Changelog: https://github.com/polca/premise/compare/v.2.2.8...v.2.2.9
- Jupyter Notebook
Published by romainsacchi 9 months ago
premise - Fixes Simapro export + vanadium battery inventories
Full Changelog: https://github.com/polca/premise/compare/v.2.2.7...v.2.2.8
- Jupyter Notebook
Published by romainsacchi 9 months ago
premise - Disables multiprocessing when import ecospold files
Full Changelog: https://github.com/polca/premise/compare/v.2.2.6...v.2.2.7
- Jupyter Notebook
Published by romainsacchi about 1 year ago
premise - Fixes database export issue and provides alternative to multiprocessing when importing ecospold files
Full Changelog: https://github.com/polca/premise/compare/v.2.2.5...v.2.2.6
- Jupyter Notebook
Published by romainsacchi about 1 year ago
premise - Improves Simapro export with ei 3.8
Full Changelog: https://github.com/polca/premise/compare/v.2.2.4...v.2.2.5
- Jupyter Notebook
Published by romainsacchi about 1 year ago
premise - Creates bw2 and bw25 variants and add CDR inventories
Full Changelog: https://github.com/polca/premise/compare/v.2.2.3...v.2.2.4
- Jupyter Notebook
Published by romainsacchi about 1 year ago
premise - v.2.2.3 fix isue with empty battery markets and wrong heat-related CO2 emissions
What's Changed
- fix problem where activities with same name by @marc-vdm in https://github.com/polca/premise/pull/192
- battery market mixes were empty
- CO2 balance in some heating datasets were incorrect
Full Changelog: https://github.com/polca/premise/compare/v.2.2.2...v.2.2.3
- Jupyter Notebook
Published by romainsacchi about 1 year ago
premise - IncrementalDatabase and others
What's Changed
- Remind eu by @romainsacchi in https://github.com/polca/premise/pull/191
Full Changelog: https://github.com/polca/premise/compare/2.2.1...v.2.2.2
- Jupyter Notebook
Published by romainsacchi over 1 year ago
premise - Incorrect invert input in IEA PV datasets.
- Jupyter Notebook
Published by romainsacchi over 1 year ago
premise - Fix issues linking with ei 3.7
- Jupyter Notebook
Published by romainsacchi over 1 year ago
premise - Fixes linking issues with ei 3.7
- Jupyter Notebook
Published by romainsacchi over 1 year ago
premise - Fixes issues with production exchanges set to zero in scenario difference file
Full Changelog: https://github.com/polca/premise/compare/v.2.1.5...v.2.1.6
- Jupyter Notebook
Published by romainsacchi over 1 year ago
premise - Fix issue with consequential runs
- Jupyter Notebook
Published by romainsacchi over 1 year ago
premise - Adds TIAM-UCL scenarios
- Adds TIAM-UCL scenarios
- Update documentation
- Better communication of scenario processing message by @marc-vdm in https://github.com/polca/premise/pull/181
- Fixes water evaporation value in hydropower dams
- Fix issues with deleted biosphere exchange of imported inventories
- Jupyter Notebook
Published by romainsacchi over 1 year ago
premise - Fix issue with unlinked exchanges with ei conseq 3.8/3.9
- Jupyter Notebook
Published by romainsacchi over 1 year ago
premise - Fix issue about missing `input` key in biosphere exchanges
validation.py fails because it does not test the presence of input in biosphere exchanges.
- Jupyter Notebook
Published by romainsacchi over 1 year ago
premise - v.2.1.1
What's Changed
- Ei310 compatibility
New cement modeling using IMAGE scenarios, after Müller et al. 2024
Uncertainty values from ecoinvent and imported inventories can be switched on and off separately
Transport is re-modeled: easier approach, scenario-specific fleet, after work of Jonas Klimt
Freight transport by train added, when using REMIND
Added inventories for PV (perovskite, GaAs)
Added battery inventories (Li-S, Li-O2, Sodium-ion) and introduction of battery scenarios
Added waste CHP inventories after Bisinella et al. 2021
Added inventories on ammonia production
Fixed export to bw 2.5
Fixing uncertainty value in inventories
Fixed generation of external scenario: the script was looping endlessly on some occasions
Fix water balance issue for silica-based amine production. Added uncertainty to DAC inventories.
Fix water unit conversion when exporting to Simapro
New Contributors
- @TimoDiepers made their first contribution in https://github.com/polca/premise/pull/167
Full Changelog: https://github.com/polca/premise/compare/v.2.1.0...v.2.1.1
- Jupyter Notebook
Published by romainsacchi over 1 year ago
premise - Adjust truck battery size and add missing files to MANIFEST
- Jupyter Notebook
Published by romainsacchi over 1 year ago
premise - v.2.1.1.dev7
- Fix the issue of non-square matrix in bw 2.5 (because of a dataset with type
waste treatment) - Fix uncertainty data (values outside bounds)
- Preserve uncertainty during regionalization of datasets
Full Changelog: https://github.com/polca/premise/compare/v.2.1.1.dev6...v.2.1.1.dev7
- Jupyter Notebook
Published by romainsacchi over 1 year ago
premise - Improve export to bw25 projects + allow writing untransformed databases
The export to BW25 projects is now done using the SQLLite backend.
Also, .write_db_to_brightway() works with untransformed databases.
- Jupyter Notebook
Published by romainsacchi over 1 year ago
premise - Fix linking issue due to liquid oxygen dataset
Full Changelog: https://github.com/polca/premise/compare/v.2.1.1.dev4...v.2.1.1.dev5
- Jupyter Notebook
Published by romainsacchi over 1 year ago
premise - Fix issue when creating only one World market from external scenarios
- Jupyter Notebook
Published by romainsacchi over 1 year ago
premise - Fixes issue with hydrogen markets
Filtering criteria for H2 from SMR were too loose, which led other technologies to slip in (e.g., SMR with biomethane, etc.).
- Jupyter Notebook
Published by romainsacchi over 1 year ago
premise - Fixes stuff with external scenarios
Too many proxy datasets were created because we could not properly keep track of those created and those left to create.
- Jupyter Notebook
Published by romainsacchi over 1 year ago
premise - Fixes Simapro export
Improves export to Simapro with better classification Remove CO2 leakage from DAC datasets
- Jupyter Notebook
Published by romainsacchi over 1 year ago
premise - Ecoinvent 3.10 + fixes
- Adds ecoinvent 3.10 support
- Adds inventories for ammonia production
- Fixes scaling of PV systems (mounting panels were nto scaled down)
- Adjusts electricity mix for aluminium production (previously unchanged, now aligned on regional electricity mixes)
- Fixes water balance for H2 from coal gasification
- H2 from SMR now uses national gas markets instead of regional one
- Jupyter Notebook
Published by romainsacchi over 1 year ago
premise - Fix issue when converting cubic meters of water to kilograms
Before, cubic meters fo water were divided by 1000 to obtain kilograms, which was wrong. Only concerns Simapro exports.
- Jupyter Notebook
Published by romainsacchi almost 2 years ago
premise - Change database export name
- Jupyter Notebook
Published by romainsacchi almost 2 years ago
premise - Fix issue with accessing log file and prevent same function being applied twice
- Jupyter Notebook
Published by romainsacchi almost 2 years ago
premise -
Adds pickling of databases to avoid RAM maxing out
- Jupyter Notebook
Published by romainsacchi almost 2 years ago
premise - v.2.1.0.dev1
Full Changelog: https://github.com/polca/premise/compare/v.2.1.0.dev0...v.2.1.0.dev1
Fixes some export issues mostly.
- Jupyter Notebook
Published by romainsacchi almost 2 years ago
premise - More flexible listing of external scenarios
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,
sourcedb="ecoinvent 3.9.1 cutoff",
sourceversion="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.
- Jupyter Notebook
Published by romainsacchi almost 2 years ago
premise - Fixes several errors
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 https://github.com/polca/premise/pull/94
New Contributors
- @m-rossi made their first contribution in https://github.com/polca/premise/pull/94
Full Changelog: https://github.com/polca/premise/compare/v.2.0.1...v.2.0.2
- Jupyter Notebook
Published by romainsacchi almost 2 years ago
premise - Fix issue with EN 1804
Three exchanges in the LCI of germanium caused a linking issue with ecoinvent EN 18504.
- Jupyter Notebook
Published by romainsacchi about 2 years ago
premise - Major update
Changes with respect to 1.8.0 - Adds .writedbtoolca(), which produces a slightly modified version of a Simapro CSV database file which can then be imported in OpenLCA. The use of the SimaProImport.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().
- Jupyter Notebook
Published by romainsacchi about 2 years ago
premise - Fix issue with external scenarios
- Jupyter Notebook
Published by romainsacchi about 2 years ago
premise - Fix issue with external scenarios
- Jupyter Notebook
Published by romainsacchi about 2 years ago
premise - Add H2 supply and fix external scenario implementation
- Jupyter Notebook
Published by romainsacchi about 2 years ago
premise - Fix issue with interpolating years and external scenarios
What's Changed
- Consequential method doc by @B-Maes in https://github.com/polca/premise/pull/149
- Update marginal_mixes.py by @B-Maes in https://github.com/polca/premise/pull/150
Full Changelog: https://github.com/polca/premise/compare/v.2.0.0.dev1...v.2.0.0.dev2
- Jupyter Notebook
Published by romainsacchi about 2 years ago
premise - Fixes issue with marginal mix modeling.
- Jupyter Notebook
Published by romainsacchi about 2 years ago
premise - v.2.0.0.dev0
Full Changelog: https://github.com/polca/premise/compare/v.1.8.2.dev7...v.2.0.0.dev0
- Jupyter Notebook
Published by romainsacchi about 2 years ago
premise - Fix issues with external scenarios building
Could not modify efficiency of datasets Changed the order of preference for finding eligible suppliers (RoW and GLO placed before RER).
- Jupyter Notebook
Published by romainsacchi about 2 years ago
premise - Fix issue with update_electricity() when consequential
The script was looking for non-existing technologies in the consequential database (e.g., CHPs).
- Jupyter Notebook
Published by romainsacchi about 2 years ago
premise - Fixes issue with marginal mixes
Marginal mixes were wrong because the average lifetime of the mix was calculated using the technology-specific lead time values instead of lifetime values.
- Jupyter Notebook
Published by romainsacchi about 2 years ago
premise - Add export to OpenLCA
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.
There are a few dozen unlinked flows, mostly chemicals and metal ions, which hopefully will be addressed in the next update of the mapping flow.
- Jupyter Notebook
Published by romainsacchi about 2 years ago
premise -
Fix issue with CCS in IMAGE scenarios Fix issue with external scenarios Drops DAC efficiency improvement based on cumulated deployment.
- Jupyter Notebook
Published by romainsacchi about 2 years ago
premise - Fix issue with consequential modelling
premise aws emptying an incorrect dataset Also, some imported inventories had exchanges that did not exist in consequential ei.
- Jupyter Notebook
Published by romainsacchi about 2 years ago
premise - v.1.8.2.dev1
Full Changelog: https://github.com/polca/premise/compare/v.1.8.2.dev0...v.1.8.2.dev1
- Jupyter Notebook
Published by romainsacchi about 2 years ago
premise - v.1.8.2.dev0
What's Changed
- Update consequential.rst by @B-Maes in https://github.com/polca/premise/pull/133
Full Changelog: https://github.com/polca/premise/compare/v.1.8.1...v.1.8.2.dev0
- Jupyter Notebook
Published by romainsacchi about 2 years ago
premise - Stable release
What's Changed
- Support for both Brightway 2 and 2.5 by @cmutel in https://github.com/polca/premise/pull/123
- bw2-25 version checking (fixed origin branch) by @Stew-McD in https://github.com/polca/premise/pull/128
- Fix lifetimes bug with 'Storage, Hydrogen' by @Stew-McD in https://github.com/polca/premise/pull/126
New Contributors
- @Stew-McD made their first contribution in https://github.com/polca/premise/pull/128
Full Changelog: https://github.com/polca/premise/compare/v.1.7.9...v.1.8.0
- Jupyter Notebook
Published by romainsacchi over 2 years ago
premise - Allows export to BW 2.5 projects
What's Changed
- Support for both Brightway 2 and 2.5 by @cmutel in https://github.com/polca/premise/pull/123
Full Changelog: https://github.com/polca/premise/compare/v.1.7.9...v.1.8.0.dev1
- Jupyter Notebook
Published by romainsacchi over 2 years ago
premise - Fix reading of CSV in custom scenarios
- Jupyter Notebook
Published by romainsacchi over 2 years ago
premise - Allows reading in Excel files in custom scenarios
- Jupyter Notebook
Published by romainsacchi over 2 years ago
premise - v.1.7.7
What's Changed
- Refactor user data directories with
platformdirsby @cmutel in https://github.com/polca/premise/pull/122
New Contributors
- @cmutel made their first contribution in https://github.com/polca/premise/pull/122
Full Changelog: https://github.com/polca/premise/compare/v.1.7.6...v.1.7.7
- Jupyter Notebook
Published by romainsacchi over 2 years ago
premise - Fix superstructure DBs export.
- Jupyter Notebook
Published by romainsacchi over 2 years ago
premise - Fix World region creation in custom scenarios
- Jupyter Notebook
Published by romainsacchi over 2 years ago
premise -
Fix issue with CC for cement Fix issue with calculating efficiencies for cement
- Jupyter Notebook
Published by romainsacchi over 2 years ago
premise - Fix issue with suppliers detection
- Jupyter Notebook
Published by romainsacchi over 2 years ago
premise -
Introduce battery and hydrogen storage
Add vanadium LCIs
Allows disabling multiprocessing
Change dependency to bw2io>=0.8.10
Add stationary home battery LCIs
- Jupyter Notebook
Published by romainsacchi over 2 years ago
premise -
Allows to disable multiprocessing.
- Jupyter Notebook
Published by romainsacchi over 2 years ago
premise -
Adds home energy storage system Removes keys from SDF Improves filtering of region names in transformation.py
- Jupyter Notebook
Published by romainsacchi over 2 years ago
premise -
Loosen version for dependencies. Fix issue with linking imported inventories (which did not go through lower-casing).
- Jupyter Notebook
Published by romainsacchi over 2 years ago
premise - Fix marginal modelling issue when shares are NaNs
- Jupyter Notebook
Published by romainsacchi over 2 years ago
premise -
Fix error in PEM electrolysis inventories (remove steam input).
- Jupyter Notebook
Published by romainsacchi over 2 years ago
premise -
Fix issue with testing for CCS variables in data_collection.py. The issue caused CCS shares for cement and steel production to be 0% for all scenarios, hence important.
- Jupyter Notebook
Published by romainsacchi over 2 years ago
premise -
Fix reading of ecospold files Fix export as Simapro file
- Jupyter Notebook
Published by romainsacchi over 2 years ago
premise -
Fix error when no arguments are given with consequential system model.
- Jupyter Notebook
Published by romainsacchi over 2 years ago
premise -
Fix lead time when consequential Fix inter year in fuels.py
- Jupyter Notebook
Published by romainsacchi over 2 years ago
premise -
Fix building of global hydrogen market sin scenarios with no hydrogen production Fix linking to original DAC dataset
- Jupyter Notebook
Published by romainsacchi over 2 years ago
premise -
- multiprocessing implementation
- refined electrolyzers' inventories
- add inventories for large-scale autonomous CSP
- export scenario difference files to Excel, CSV, and Feather formats
- Jupyter Notebook
Published by romainsacchi over 2 years ago
premise -
Fixes some linking issues, specifically when markets shares are 0.
- Jupyter Notebook
Published by romainsacchi over 2 years ago
premise -
Fixes some electricity variables. Some CCS PP datasets were adjusted, while others were not.
- Jupyter Notebook
Published by romainsacchi over 2 years ago
premise -
fuel_groups.yaml was not declared in MANIFEST.in
- Jupyter Notebook
Published by romainsacchi over 2 years ago
premise -
• Updates current IMAGE scenarios (v.3.3)
• Adds IMAGE SSP1-Base scenario
• Extra variables available in IMAGE scenarios, allowing the creation of hydrogen markets, for example.
• Updates inventories on H2 production: electrolysis (PEM, AEC, SOEC), pyrolysis, and thermochemical water splitting. Note: some datasets have been renamed.
• Updates inventories on fuel cells.
• Fix linking of "market for diesel, burned in...": previously, the GLO market would not be replaced by a regional market.
• Efficiency improvements applied on both pre- and post- power CCS datasets.
- Jupyter Notebook
Published by romainsacchi over 2 years ago