Recent Releases of premise
premise -
This patch release improves the correctness, transparency, and validation of consequential marginal-market modelling.
Highlights
-
lead time=False now explicitly uses the production-weighted market-average lead time.
-
lead time=True now applies technology-specific observation intervals under myopic modelling.
-
Perfect-foresight intervals remain anchored to the demand year.
-
Out-of-range observation years are mapped individually to the nearest available IAM year, with a warning.
-
Invalid combinations of range time, duration, foresight, lead-time mode, measurement method, and weighted-slope parameters now raise clear errors.
-
The area-based capital-replacement calculation and legacy zero-duration interval were corrected.
-
Constrained suppliers are now matched by exact name, preventing diesel and generic liquefied petroleum gas from being excluded accidentally.
Documentation and validation
The consequential documentation now explains:
- short and long demand-change intervals;
- average versus technology-specific lead times;
- myopic versus perfect-foresight modelling;
- measurement methods 0–5;
- legacy fallback behaviour and argument validation;
- effective intervals reported during database generation.
A reproducible validation compares Premise against an independent calculation for 11 IMAGE SSP1-M/WEU electricity configurations. All six measurement methods and both expanding and declining market branches matched exactly.
Important for consequential users
Results may change if you previously used:
- lead time=True;
- area-based measurement method 2;
- marginal diesel or LPG markets;
- observation intervals approaching the IAM time-series boundaries.
We recommend rebuilding consequential databases generated with earlier releases.
Installation
pip install --upgrade premise==2.4.9.1
Full details are available in the changelog.
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi 6 days ago
premise - Layered heat markets
Version 2.4.9 substantially improves how premise represents future heat supply and consumption.
Highlights
-
Introduces a three-layer heat-market architecture separating:
- secondary district and industrial heat supply;
- delivered heat for buildings;
- delivered heat for industry.
-
Adds 49 explicit heat technology categories covering REMIND, REMIND-EU, IMAGE, GCAM, MESSAGE, and TIAM-UCL.
-
Converts final-energy projections into delivered heat using regional combustion efficiencies, electric-boiler efficiencies, and heat-pump coefficients of performance.
-
Creates regional and World heat markets with explicit supplier selection and production-volume weighting.
-
Supports both cutoff and consequential databases, using average or marginal heat mixes respectively.
-
Adds industrial electric-boiler and nuclear-cogeneration inventories.
-
Improves regional fuel relinking and fossil/non-fossil CO₂ recalculation for heat-production activities.
Safer transformation and relinking
The release adds stricter validation for incomplete, negative, or non-finite IAM heat data. Missing or all-zero heat layers are skipped
cleanly.
Legacy building and industrial heat consumers are redirected to the
appropriate new markets while protecting generated markets, frozen
fallback suppliers, and specialized heat markets from recursive
relinking.
Diagnostics and documentation
Scenario reports now include a dedicated secondary-heat worksheet.
Additional diagnostics record raw IAM volumes, conversion factors,
delivered-heat shares, residual calculations, supplier fallbacks, and
modelling assumptions.
The documentation now provides a consolidated TRANSFORM → Heat section
describing the market architecture, IAM coverage, conversion rules,
fallbacks, and consequential modelling.
Upgrade note
The public update interface remains unchanged: ndb.update() and
ndb.update("heat") are both supported.
Heat-related supply chains and impact results may differ materially from
earlier releases because heat production and end-use technologies are no
longer combined in one market.
See the full changelog
(https://github.com/polca/premise/blob/master/CHANGELOG.md#249) for
detailed changes and test coverage.
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi 6 days ago
premise - Updated IAM scenarios and IMAGE battery-electric freight
This release updates premise’s default IAM scenario archive, adds battery-electric freight trucks to IMAGE scenarios, and improves uncertainty handling for Swiss hydropower inventories.
Highlights
- Updated the IAM scenario download source to [Zenodo record 21790981 (https://zenodo.org/records/21790981).
- Added IMAGE mappings for:
- 18 t medium-duty battery-electric trucks.
- 40 t heavy-duty battery-electric trucks.
- Their corresponding energy-service and electricity final-energy
variables.
- Added transparent support for IMAGE’s underscore-based archive filenames. Existing premise pathway names remain unchanged:
SSP2-VLHOcontinues to be the public pathway name.image_SSP2_VLHO.csvis resolved automatically in the Zenodo
archive.
- Local IMAGE scenario files are now recognized with either hyphens or underscores.
- Corrected Swiss reservoir-hydropower water exchanges so retained lognormal uncertainty distributions are rescaled together with their amounts.
- Added deterministic handling for corrected hydropower exchanges whose original amount was zero.
- Added regression coverage for scenario downloading, filename compatibility, IMAGE BEV truck mappings, and hydropower uncertainty handling.
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi 10 days ago
premise - Improved CDR Modelling, Fuel Markets, and Inventory Compatibility
premise 2.4.7
This release substantially improves carbon-dioxide-removal modelling, corrects fuel-market supplier handling, and adds several inventory and ecoinvent compatibility fixes.
Highlights
Carbon dioxide removal
- Scale electricity and heat/fuel inputs independently using carrier-specific IAM efficiency signals, while leaving
material inputs and biosphere flows unchanged. - Apply practical lower bounds to DAC energy requirements and split shared IAM production volumes between carrier-
specific DAC routes to prevent double counting. - Expand CDR mappings for IMAGE, REMIND, REMIND-EU, MESSAGE, WITCH, and GCAM, including compatibility with legacy IMAGE
Carbon Capturevariables. - Add regionalized eucalyptus and poplar/willow afforestation routes for ecoinvent 3.11 and newer.
- Add a mapped cement MEA capture-and-storage activity representing one kilogram of non-fossil CO₂ stored.
- Harmonize wood BECCS, biomethane SMR+CCS, biomass-fermentation CCS, and cement capture inventories as host-excluding capture and storage modules.
- Add hydrogen-heated DAC variants and improve CDR reporting, logging, classifications, and SimaPro export metadata.
- Fix fresh imports of the coastal enhanced-weathering inventory.
Fuel markets and transformations
- Correct cutoff fuel markets so exchanges to waste-treatment suppliers use the waste-convention sign after share normalization.
- Exclude used-cooking-oil biodiesel with CCS from consequential diesel marginal mixes.
- Deduplicate regionalized suppliers and consolidate duplicate technosphere exchanges in generated markets.
- Update REMIND chemical-sector mappings to use final energy excluding non-energy use.
Inventories and ecoinvent compatibility
-
Revise the wave-energy inventory to correct machining quantities, vessel operations, component transport,
manufacturing inputs, unsupported capital goods, and end-of-life assumptions; also fix previously unlinked exchanges. -
Preserve activity classifications in runtime caches and restore them when loading legacy caches.
-
Make consequential blacklist replacement locations ecoinvent-version aware.
-
Add backward migration from monoethanolamine in ecoinvent 3.11 inventories to the methyldiethanolamine supplier
available in ecoinvent 3.10. -
Load afforestation inventories only for ecoinvent 3.11 and newer.
-
Avoid a false transport-validation failure for hydrogen transport datasets.
Tests and documentation
- Expand CDR and fuel-market regression coverage across IAM models, ecoinvent versions, and system models.
- Improve LCIA regression diagnostics by reporting all divergent scores together.
- Make the ecoinvent 3.12 superstructure test select a registered GWP method reliably.
- Refresh affected deterministic LCIA baselines.
- Expand the documentation for CDR transformations, carrier-specific energy scaling, fuel-market conventions, and
updated inventories.
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi 22 days ago
premise - Cement clinker energy input fix
premise v2.4.6
This patch release fixes cement clinker fuel accounting in scenario-transformed databases.
Highlights
- Corrected clinker kiln fuel-efficiency adjustments to account for secondary-fuel energy represented by emissions but
not listed as burdened technosphere fuel inputs. - Prevented over-reduction of hard coal inputs when clinker datasets contain multiple hard-coal exchanges by applying
the energy reduction once to aggregate hard coal, then scaling split suppliers proportionally. - Updated fossil CO2 changes from the actual applied hard-coal energy change while leaving non-fossil CO2 unchanged
outside CCS handling. - Enforced practical clinker fuel-demand floors of
3.1 GJ/tfor ordinary clinker production and3.0 GJ/tfor
efficient dry kiln technologies. - Added explicit dataset and exchange comments to transformed clinker inventories documenting visible fuel energy,
inferred hidden secondary-fuel bookkeeping, old/new fuel demand, hard-coal scaling, and CO2 handling. - Added regression tests for split hard-coal inputs, fuel-demand floors, non-negative hard-coal scaling, and the new
comment metadata.
Validation
- Focused cement regression tests pass.
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi about 2 months ago
premise - Fix numerous issues
This maintenance release focuses on Brightway export robustness, Monte Carlo reliability, and several data-quality corrections across electricity, metals, PV, cement, and emissions updates.
Highlights
- Fixed Brightway Monte Carlo behaviour for generated scenario databases by normalising no-uncertainty exchange records during export. Deterministic exchanges now keep
localigned withamountand stale uncertainty bounds are removed, preventing outdated values from being sampled as fixed Monte Carlo inputs. - Filled missing activity classifications on the fast Brightway export path used after
NewDatabase.update(), keeping exported metadata consistent with non-updated exports. - Improved
WorldGAINS hot-pollutant scaling by deriving correction factors from global absolute emissions, so global datasets receive emissions-weighted adjustments. - Added valid uncertainty ranges to PV efficiency records that previously had degenerate minimum, mean, and maximum values, avoiding invalid triangular distributions in Monte Carlo calculations.
- Preserved secondary metal supply shares in newly created metals markets by copying secondary technosphere inputs from source ecoinvent markets.
Data Corrections
- Corrected the CPC classification for the PEM fuel-cell system assembly inventory.
- Corrected the palladium entry in the legacy secondary metal supply activity mapping.
- Corrected the oxyfuel cement carbon-capture oxygen demand in
lci-carbon-capture.xlsxusing CEMCAP D4.6 Table 6.1.
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi 2 months ago
premise - Fix kernal crash with Windows
Release Summary: v2.4.4
This patch release fixes hard kernel crashes reported by some Windows users
when Premise reads Excel inventory workbooks during NewDatabase initialization
or generates Excel reports at the end of the workflow.
What Changed
- Disabled openpyxl’s lxml backend by default on Windows via
OPENPYXL_LXML=False. - Declared openpyxl as an explicit dependency.
- Constrained Windows pip installs and conda package builds to avoid the
problematic lxml 6.x Excel/XML stack.
Why
Some Windows environments with recent lxml/libxml2 versions can hard-crash the
Python/Jupyter kernel when openpyxl uses the native lxml backend. Disabling
that backend keeps Excel read/write operations on the safer pure-Python path.
Validation
- Confirmed premise imports successfully with version (2, 4, 4).
- Ran focused filesystem tests successfully: 4 passed.
Commits
- 66cc99eb Fix Windows Excel crashes from openpyxl lxml path
- 2e2d0653 Bump version for Windows Excel crash fix
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi 3 months ago
premise - v.2.4.3
Full Changelog: https://github.com/polca/premise/compare/v.2.4.2...v.2.4.3
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi 3 months ago
premise - Fix fast export for `brightway2`
What's Changed
- Codex/fix bw2 process type export by @romainsacchi in https://github.com/polca/premise/pull/291
Full Changelog: https://github.com/polca/premise/compare/v.2.4.1...v.2.4.2
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi 4 months ago
premise - Preserve metadata in fast Brightway exports
Fix an issue detected by @tomterlouw where exchange attributes and metadata were dropped when fast-writing databases to Brightway.
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi 4 months ago
premise - RSS optimized
Highlights
Faster and lighter workflows
- Much faster and lighter write_db_to_brightway() on Brightway 2.5
- Lower RAM usage during cold NewDatabase() initialization
- Leaner post-update() scenario caching and reload
- Faster Brightway superstructure export
Better Brightway export behavior
- Fast exports now behave much more like regular Brightway databases
- Exported databases remain searchable and browsable
- Activity Browser compatibility was fixed by ensuring process types are set
- Export UX is clearer, with progress bars, overwrite notices, and an explicit “database
written” message
Updated data and assumptions
- Refreshed solar PV efficiency assumptions
- Added new PV anchor years and a perovskite-Si tandem trajectory
- Expanded GCAM variable mappings across sectors
- Updated GCAM regional mapping assets, including Ukraine coverage
Workflow and data fixes
- Better IAM normalization when an exact 2020 datapoint is missing
- End-of-pipe emissions updates moved later in the workflow to avoid ordering issues
- Improved electricity validation diagnostics
- Fixed cold-cache reload behavior
- Fixed migrated inventory gap filling, where replacement-based exchanges could be
duplicated incorrectly after migration splits
In one sentence
2.4.0 moves premise from a mostly correct but heavy Brightway export workflow to a much
leaner one, while also updating PV and GCAM assumptions and fixing several export, cache,
and inventory edge cases.
Observed local benchmark
On a local full three-scenario cold workflow benchmark, compared to 2.3.9:
- runtime dropped from about 2564 s to about 717 s
- peak RSS dropped from about 4.38 GiB to about 2.03 GiB
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi 4 months ago
premise - Remove soft dependency to Brightway
Allows creating Simapro and OpenLCA-compatible database without needing a Brightway project or Biosphere database.
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi 5 months ago
premise - Update Zenodo link to access update IMAGE scenarios
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi 6 months ago
premise - MESSAGE scenarios
Added
- Added MESSAGE scenarios.
- Region-to-feedstock mapping files for biofuels:
premise/iam_variables_mapping/iam_region_to_biodiesel_feedstock.yamlpremise/iam_variables_mapping/iam_region_to_bioethanol_feedstock.yaml
- Metals post-allocation correction files for newer ecoinvent versions:
premise/data/metals/post-allocation_correction/corrections_311.yamlpremise/data/metals/post-allocation_correction/corrections_312.yaml
Changed
- Expanded fuel regionalization, including higher-level fuel activities.
- Expanded biomass supply-chain regionalization.
- Updated IAM variable mappings across sectors (final energy, fuels, heat, transport, electricity, steel, CDR).
- Updated GCAM topology and related mapping assets.
- Updated Brightway export/import integration (
premise/brightway2.py,premise/brightway25.py). - Updated inventory assets:
premise/data/additional_inventories/lci-biofuels.xlsxpremise/data/additional_inventories/lci-final-energy.xlsxpremise/data/additional_inventories/lci-pass_cars.xlsx
- Updated SimaPro category and import classification mappings.
Fixed
- Multiple MESSAGE mapping fixes (fuels, final energy, industrial heat).
- Duplicate regionalization / duplicate dataset creation issue.
- Improved missing-file error messages.
- Unit normalization for IAM inputs provided in
PJ/yr(conversion toEJ/yr). - Updated NOx and PM2.5 emission factors for diesel passenger cars.
- Reintroduced
SSP2-Baseas an accepted scenario.
Data cleanup
- Removed obsolete fuel config files:
premise/data/fuels/fuel_efficiency_parameters.ymlpremise/data/fuels/fuel_markets.ymlpremise/data/fuels/hydrogen_supply_losses.ymlpremise/data/fuels/supply_chain_scenarios.yml
- Renamed metals correction file:
premise/data/metals/post-allocation_correction/corrections.yaml- to
premise/data/metals/post-allocation_correction/corrections_310.yaml
Documentation
- Updated
README.md, multiple docs pages, and example notebooks.
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi 6 months ago
premise - Fix non-regionalized fuel supply chains
Since probably 2.3.0, fuel supply chains ceased being regionalised.
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi 7 months ago
premise - Fixes a few bugs
- Add header in Zenodo requests to prevent being denied
- Add guard to checking
parametersin dataset during validation to prevent missing key error - Pin down
pandas<3.0.0 - Redeclare
extract_brightway2_databasesaswurst.extract_brightway2_databases
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi 7 months ago
premise - New migration system
- Ecoinvent 3.12 compatibility
- Improved migration system, relying on
bw_migrate - Update REMIND scenario from 3.5.0 to 3.5.2
- Fix error in inventories for PV farm transformer: the amount of copper was overestimated by a factor of 10
- Extended country-specific IEA Task 12 PV inventories to all countries
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi 7 months ago
premise - Fix bug when generating scenario reports
Full Changelog: https://github.com/polca/premise/compare/v.2.3.2...v.2.3.3
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi 8 months ago
premise - Adds variables in data packages
Adds CPC and ISIC classifications in the data packages created for pathways.
Expand the use of lignocellulosic biomass to ethanol and biogas production, as per @dbantje recommendations.
Remove some REMIND scenarios deemed unplausible, as per @dbantje recommendations.
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi 9 months ago
premise - Adds GCAM scenarios
Full Changelog: https://github.com/polca/premise/compare/v.2.3.0...v.2.3.1
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi 10 months ago
premise - 2.3.0: ei 3.11 compatibility, new IAM scenarios.
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi 10 months ago
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
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi about 1 year ago
premise - Fixes Simapro export + vanadium battery inventories
Full Changelog: https://github.com/polca/premise/compare/v.2.2.7...v.2.2.8
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi over 1 year ago
premise - Disables multiprocessing when import ecospold files
Full Changelog: https://github.com/polca/premise/compare/v.2.2.6...v.2.2.7
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi over 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
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi over 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
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi over 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
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi over 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
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi over 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
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi over 1 year ago
premise - Incorrect invert input in IEA PV datasets.
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi almost 2 years ago
premise - 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
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi almost 2 years ago
premise - Fix issues linking with ei 3.7
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi almost 2 years ago
premise - Fixes linking issues with ei 3.7
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi almost 2 years ago
premise - Improves IncrementalDatabase
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi almost 2 years ago
premise - Adds IncrementalDatabase
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi almost 2 years 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
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi almost 2 years ago
premise - Fix issue with consequential runs
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi almost 2 years 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
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi almost 2 years ago
premise - Fix issue with unlinked exchanges with ei conseq 3.8/3.9
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi almost 2 years 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.
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi almost 2 years 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
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi almost 2 years ago
premise - Adjust truck battery size and add missing files to MANIFEST
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi almost 2 years ago
premise - Fixes some LCIs for PVs
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi about 2 years 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
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi about 2 years 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.
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi about 2 years 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
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi about 2 years ago
premise - Fix issue when creating only one World market from external scenarios
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi about 2 years 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.).
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi about 2 years 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.
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi about 2 years ago
premise - Fixes Simapro export
Improves export to Simapro with better classification
Remove CO2 leakage from DAC datasets
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi about 2 years 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
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi about 2 years ago
premise -
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi about 2 years 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.
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi over 2 years ago
premise - Change database export name
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi over 2 years ago
premise - Fix validation issues
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi over 2 years ago
premise - Fix issue with accessing log file and prevent same function being applied twice
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi over 2 years ago
premise -
Adds pickling of databases to avoid RAM maxing out
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi over 2 years ago
premise -
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi over 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.
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi over 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,
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.
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi over 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
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi over 2 years ago
premise - Fix issue with EN 1804
Three exchanges in the LCI of germanium caused a linking issue with ecoinvent EN 18504.
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi over 2 years ago
premise - Major update
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().
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi over 2 years ago
premise - Fix issue with external scenarios
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi over 2 years ago
premise - Fix issue with external scenarios
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi over 2 years ago
premise - Add H2 supply and fix external scenario implementation
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi over 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
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi over 2 years ago
premise - Fixes issue with marginal mix modeling.
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi over 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
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi over 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).
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi over 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).
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi over 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.
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi over 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.
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi over 2 years ago
premise -
Fix issue with CCS in IMAGE scenarios
Fix issue with external scenarios
Drops DAC efficiency improvement based on cumulated deployment.
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi over 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.
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi over 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
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi over 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
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi over 2 years ago
premise - 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
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi almost 3 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
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi almost 3 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
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi almost 3 years ago
premise - Fix reading of CSV in custom scenarios
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi almost 3 years ago
premise - Allows reading in Excel files in custom scenarios
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi almost 3 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
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi almost 3 years ago
premise - Fix superstructure DBs export.
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi almost 3 years ago
premise - Fix World region creation in custom scenarios
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi almost 3 years ago
premise -
Fix issue with CC for cement
Fix issue with calculating efficiencies for cement
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi almost 3 years ago
premise - Fix issue with suppliers detection
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi almost 3 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
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi almost 3 years ago
premise -
Allows to disable multiprocessing.
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi almost 3 years ago
premise -
Adds home energy storage system
Removes keys from SDF
Improves filtering of region names in transformation.py
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi almost 3 years ago
premise -
Loosen version for dependencies.
Fix issue with linking imported inventories (which did not go through lower-casing).
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi almost 3 years ago
premise - Fix marginal modelling issue when shares are NaNs
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi almost 3 years ago
premise -
Fix error in PEM electrolysis inventories (remove steam input).
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi almost 3 years ago
premise -
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi almost 3 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.
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi almost 3 years ago
premise -
Fix reading of ecospold files
Fix export as Simapro file
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi almost 3 years ago
premise -
Fix error when no arguments are given with consequential system model.
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi almost 3 years ago
premise -
Fix lead time when consequential
Fix inter year in fuels.py
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi almost 3 years ago
premise -
Fix building of global hydrogen market sin scenarios with no hydrogen production
Fix linking to original DAC dataset
Industrial Ecology - Life Cycle Assessment
- Python
Published by romainsacchi about 3 years ago