Premise

Latest version: v2.2.3

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

Scan your dependencies

2.2.1

2.2.0

* Update documentation regarding PV efficiencies.
* Scale down PV mounting system for open-ground installations.
* Scale down PV EoL input.

**Full Changelog**: https://github.com/polca/premise/compare/v.2.1.9...2.2.0

v.2.1.9


v.2.1.8


v.2.1.7


v.2.1.6
**Full Changelog**: https://github.com/polca/premise/compare/v.2.1.5...v.2.1.6

v.2.1.5


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

v.2.1.3


v.2.1.2
validation.py fails because it does not test the presence of `input` in `biosphere` exchanges.

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

v.2.1.1.dev9


v.2.1.1.dev8


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

v.2.1.1.dev6
The export to BW25 projects is now done using the SQLLite backend.
Also, `.write_db_to_brightway()` works with untransformed databases.

v.2.1.1.dev5
**Full Changelog**: https://github.com/polca/premise/compare/v.2.1.1.dev4...v.2.1.1.dev5

v.2.1.1.dev4


v.2.1.1.dev3
Filtering criteria for H2 from SMR were too loose, which led other technologies to slip in (e.g., SMR with biomethane, etc.).

v.2.1.1.dev2
Too many proxy datasets were created because we could not properly keep track of those created and those left to create.

v.2.1.1dev1
Improves export to Simapro with better classification
Remove CO2 leakage from DAC datasets

v.2.1.1.dev0
* 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

v.2.1.0


v.2.1.0.dev8
Before, cubic meters fo water were divided by 1000 to obtain kilograms, which was wrong.
Only concerns Simapro exports.

v.2.1.0.dev7


v.2.1.0.dev6


v.2.1.0.dev5


v.2.1.0.dev4
Adds pickling of databases to avoid RAM maxing out

v.2.1.0.dev3


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.

v.2.1.0.dev0
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.

v.2.0.2

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

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

v.2.0.0

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.