Releases: flechtenberg/pulpo
Releases · flechtenberg/pulpo
v1.2.0
🚀 PULPO v1.2.0 Release
🔑 Updates
-
Preliminary Documentation:
- Docstrings have been added to all functions to provide basic guidance on usage. This documentation is preliminary and will be expanded in future releases.
-
New Database Creation Functions:
- Two new functions have been introduced:
- Rice Husk Example Database: Created for the Brightcon 2024 workshop purpose, but useful for general testing (data source: Kätelhön et al. (2016))
- Generic LCI Database: A versatile tool for quick database setup, ideal for prototyping and testing.
- Two new functions have been introduced:
from pulpo import pulpo
pulpo.install_rice_husk_db() # Install the rice husk example from Kätelhön et al. (2016)
project = "generic_example"
database = "generic_db"
n_prod = 50 # Number of products to generate
n_proc = 8 # Maximum number of processes per product
n_reg = 4 # Number of regions where processes can be active
n_inputs = 6 # Maximum number of inputs per process
n_flows = 8 # Number of environmental flows to generate
n_methods = 3 # Number of impact assessment methods to create
seed = 100 # Seed for reproducibility (optional)
return_data = True # If True, returns the generated matrices
# Install the generic database with specified parameters
technosphere_matrix, biosphere_matrix, characterization_matrices = pulpo.install_generic_db(
project=project,
database=database,
n_prod=n_prod,
n_proc=n_proc,
n_reg=n_reg,
n_inputs=n_inputs,
n_flows=n_flows,
n_methods=n_methods,
seed=seed,
return_data=return_data
)
ipopt
Compatibility:
- PULPO can now use the ipopt solver for solving the LP. This solver can be sometimes better than HiGHs. Install via:
conda install conda-forge::ipopt=3.11.1
For now, versions other than 3.11.1 lead to some unknown compatibility issues.
Specify the solver via:
results = pulpo_worker.solve(solver_name='ipopt')
🛠️ Bug Fixes
- Several minor bugs have been resolved to improve stability and performance.
Upgrade now to take advantage of the new features:
pip install --upgrade pulpo-dev
PULPO Release v1.1.0
Main changes:
- Addition of impact / indicator and environmental flow constraints
- Addition of new showcase notebooks (plastic and energy transition)
- Internal variable referencing
PULPO Release v1.0.0
Initial release of the PULPO package