Premise

Latest version: v2.0.2

Safety actively analyzes 623092 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

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().

v.2.0.0.dev4


v.2.0.0.dev3


v.2.0.0.dev2
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

v.2.0.0.dev1


v.2.0.0.dev0
**Full Changelog**: https://github.com/polca/premise/compare/v.1.8.2.dev7...v.2.0.0.dev0

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

v.1.8.2.dev6
The script was looking for non-existing technologies in the consequential database (e.g., CHPs).

v.1.8.2.dev5
Marginal mixes were wrong because the average lifetime of the mix was calculated using the technology-specific lead time values instead of lifetime values.

v.1.8.2.dev4
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.

<img width="599" alt="Screenshot 2024-01-21 at 20 06 35" src="https://github.com/polca/premise/assets/22473067/623f1209-3793-4966-9996-d8d47f11f548">



v.1.8.2.dev3
Fix issue with CCS in IMAGE scenarios
Fix issue with external scenarios
Drops DAC efficiency improvement based on cumulated deployment.

v.1.8.2.dev2
premise aws emptying an incorrect dataset
Also, some imported inventories had exchanges that did not exist in consequential ei.

v.1.8.2.dev1
**Full Changelog**: https://github.com/polca/premise/compare/v.1.8.2.dev0...v.1.8.2.dev1

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

v.1.8.1
Fix linking issue caused by wrong unit ("standard cubic meter"/"Sm3").

**Full Changelog**: https://github.com/polca/premise/compare/v.1.8.0...v.1.8.1

v.1.8.0
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

v.1.8.0.dev1
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

v.1.7.9


v.1.7.8


v.1.7.7
What's Changed
* Refactor user data directories with `platformdirs` by 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

v.1.7.6


v.1.7.5


v.1.7.4
Fix issue with CC for cement
Fix issue with calculating efficiencies for cement

v.1.7.3


v.1.7.2
Introduce battery and hydrogen storage
Add vanadium LCIs
Allows disabling multiprocessing
Change dependency to `bw2io>=0.8.10`
Add stationary home battery LCIs

v.1.7.1
Allows to disable multiprocessing.

v.1.7.0
Adds home energy storage system
Removes keys from SDF
Improves filtering of region names in transformation.py

v.1.6.9
Loosen version for dependencies.
Fix issue with linking imported inventories (which did not go through lower-casing).

v.1.6.8


v.1.6.7
Fix error in PEM electrolysis inventories (remove steam input).

v.1.6.6


v.1.6.5
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.

v.1.6.4
Fix reading of ecospold files
Fix export as Simapro file

v.1.6.3
Fix error when no arguments are given with consequential system model.

v.1.6.2
Fix lead time when consequential
Fix inter year in fuels.py

v.1.6.1
Fix building of global hydrogen market sin scenarios with no hydrogen production
Fix linking to original DAC dataset

v.1.6.0
* Fix fuel market shares

v.1.5.9
* multiprocessing implementation
* refined electrolyzers' inventories
* add inventories for large-scale autonomous CSP
* export scenario difference files to Excel, CSV, and Feather formats

v.1.5.8
Add emission factors for coal PPs.
Cleanup Carma inventories.
Lower case dataset names.

v.1.5.7


v.1.5.6
Fixes some linking issues, specifically when markets shares are 0.

v.1.5.5
Fixes some electricity variables. Some CCS PP datasets were adjusted, while others were not.

v.1.5.4
fuel_groups.yaml was not declared in MANIFEST.in

v.1.5.3
• 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.


v.1.5.2


v.1.5.1


v.1.5.0


v.1.5.0-b10


v.1.5.0-b9


v.1.5.0-b8


v.1.5.0-b7


v.1.5.0-beta6


v.1.5.0-beta5


v.1.5.0-beta4


v.1.5.0-beta3


v.1.5.0-beta2


v.1.5.0-beta


v.1.5.0-alpha8


v.1.5.0-alpha7


v.1.5.0-alpha6


v.1.5.0-alpha5.1


v.1.5.0-alpha5


v.1.5.0-alpha4


v.1.5.0-alpha3


v.1.5.0-alpha2


v.1.5.0-alpha


v.1.4.2
Add inventories for nuclear EPR and SMR.
Fixes hard coal input in coal-based H2.
Fixes some migration issues.

v.1.4.1
Add entries to migration file

v.1.4.0
Few fixes:
- limit support to Python 3.9 and 3.10
- ecoinvent's Montenegro (ME) was mistaken for IMAGE's Middle East
- Improves the efficiency of power plants datasets creation
- error when writing logs if folder did not exist
- fix detection of differences when creating superstructure databases
- adds possibility to export data package

v.1.3.9


v.1.3.8


v.1.3.7


v.1.3.6


v.1.3.5


v.1.3.4


v.1.3.3
Some dependencies were not used.

v.1.3.2
Variable for Coal PC in REMIND scenario was wrongly spelled.
Hence, the contribution of coal PC in mixes was not shown.

v.1.3.1
Fixes linking issue when using user-generated scenarios.
Adds log of changes whne using user-generated scenarios.

v.1.3.0
`premise` now allows the integration of user-generated scenarios in addition (or not) of an IAM scenario.
In other words, scenarios of a small regional scope can be embedded into the wider scope of a global IAM model.
You can find a few scenarios created by the community of premise users here: https://github.com/premise-community-scenarios

v.1.2.6
Improves generation of superstructure databases.
Adds improved inventories for cobalt hydroxide and metallic cobalt supply (Dai et al. 2018).

v.1.2.5


v.1.2.4
**Full Changelog**: https://github.com/polca/premise/compare/v.1.2.3...v.1.2.4

v.1.2.3
**Full Changelog**: https://github.com/polca/premise/compare/v.1.2.2...v.1.2.3

v.1.2.2
**Full Changelog**: https://github.com/polca/premise/compare/v.1.2.1...v.1.2.2

v.1.2.1
**Full Changelog**: https://github.com/polca/premise/compare/v.1.2.0...v.1.2.1

v.1.2.0
**Full Changelog**: https://github.com/polca/premise/compare/v.1.1.9...v.1.2.0

v.1.1.9
What's Changed
* Report summary by romainsacchi in https://github.com/polca/premise/pull/73


**Full Changelog**: https://github.com/polca/premise/compare/v.1.1.8...v.1.1.9

v.1.1.8
The wrong amount of CO2 was captured.

v.1.1.7


v.1.1.6


v.1.1.5
Corrects inventories for bioethanol from poplar, sugarcane and sugarbeet.
Corrects inventories for trucks, which had a too low payload.

v.1.1.4


v.1.1.3


v.1.1.2
Fixes inventories of CHP + CCS

v.1.1.1


v.1.1.0


v.1.0.9


v.1.0.8
Duplicate rows were exported in the scenario difference file.

v.1.0.7


v.1.0.6


v.1.0.5
A logic error prevented hydrogen markets from being built.

v.1.0.3


v.1.0.2
Using "duplicate_region" = True in "additional_inventories" will create region-specific duplicates of the user-provided inventories, including internal relinking.

v.1.0.1


v.1.0.0


v.0.4.5
What's Changed
* Minor version fix + string fix by marc-vdm in https://github.com/romainsacchi/premise/pull/52

New Contributors
* marc-vdm made their first contribution in https://github.com/romainsacchi/premise/pull/52

**Full Changelog**: https://github.com/romainsacchi/premise/compare/v.0.4.4...v.0.4.5

v.0.4.4
What's Changed
* Added weighting by production volume and log outputs by romainsacchi in https://github.com/romainsacchi/premise/pull/3
* Merge with romainsacchi's fork by romainsacchi in https://github.com/romainsacchi/premise/pull/12
* Final merge by romainsacchi in https://github.com/romainsacchi/premise/pull/13
* Update carculator import to work with new fleet mix activities by Loisel in https://github.com/romainsacchi/premise/pull/14
* 🐛 Add validation of ei suported version by tngTUDOR in https://github.com/romainsacchi/premise/pull/17
* Image by romainsacchi in https://github.com/romainsacchi/premise/pull/18
* Change default Synfuel allocation by Loisel in https://github.com/romainsacchi/premise/pull/20
* Adds export to Simapro by romainsacchi in https://github.com/romainsacchi/premise/pull/21
* Simapro by romainsacchi in https://github.com/romainsacchi/premise/pull/22
* Solar pv by romainsacchi in https://github.com/romainsacchi/premise/pull/25
* Update vintages file from EDGE-T by Loisel in https://github.com/romainsacchi/premise/pull/28

New Contributors
* romainsacchi made their first contribution in https://github.com/romainsacchi/premise/pull/3
* Loisel made their first contribution in https://github.com/romainsacchi/premise/pull/14
* tngTUDOR made their first contribution in https://github.com/romainsacchi/premise/pull/17

**Full Changelog**: https://github.com/romainsacchi/premise/commits/v.0.4.4

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.