Recent Releases of lca_algebraic
lca_algebraic - 1.1
🎉 We are glad to release a new version of lca_algebraic : 1.1. 🍾
Main changes :
- Update to latest Brightway 2.4.X (not Brightway25 yet). Which itself enables the use of bw2io.importecoinventrelease for easier import of
Ecoinvent - 📚 Added full documentation of the API + example notebook
- Renamed multiLCAAlgebraic to compute_impacts
- Added
functional_unitargument tocompute_impacts(and other functions) : removing the need to manually build custom activities normalized by the functional units, and making it more flexible. - Added returns_params argument to compute_impact, to include the values of all parameters in the result, as a tabbed dataframe that can be saved as multisheet Excel file.
- Added support for axis : Flag your activities with custom attributes (by phase, subsystem or whatever) and get the impacts split by those.
- Added computed parameters : Parameters whose default values are Sympy expressions, computed from other parameters. Their values can be overwritten.
- Added linear interpolation of several activities, based on the value of a parameter.
- Improved compatibility with ActivityBrowser : It is now possible to compute impacts / sankey diagrams, etc on a frozen database (=a given scenario of parameters). Full parametric computation of impact in ActivityBrowser works for simple cases only.
- No more conda package. Use pip instead
- Many bug fixes 🐜
👷♂️ Next to come .... stay tuned ! : - Explicit declaration and automatic check of physical units in inventories (using Pint) - Automatic creation of dynamic web app from a parametric model, (using streamlit) - Migration to Brightway 2.5.
Also, we now have a dedicated mailing list for updates and discussions. Please register ! 📧 lca_algebraic@groupes.mines-paristech.fr
- Jupyter Notebook
Published by raphaeljolivet almost 2 years ago
lca_algebraic - 1.0.0
1.0.0
- Add multi-dataset support, replacing SETUSERDB by setBackground(), setForeground()
- Added freezeParams() to freeze parametric dataset for specific scenario to be used by non parametric tools or other foreground datasets.
- Added dataset parameters : parameters scoped to a specific dataset, with scope / conflict resolution of parameters with same names.
- Added extended import / export of datasets with their parameters : export_db(), import_db()
- Added non regression tests
0.0.15
- Added explicit error when cycle is detected in activities. This usually means a Bg activity has been imported into User DB : lca_algebraic does not support cycles / recursion in User Db, since those are developped as litteral formulas.
- Added support for several background databases. User Db is guessed or can be specified using SETUSERDB()
- Support coproducts in graphtraversal. See [PR #9] by @ntropy-esa
- Add support for loading / saving parameters into Brightway DB, with compatibility with Brightway2 and Activity Browser. See functions loadParams() and persistParams(). See also issue #8.
- Added new function exploreImpacts(), like printAct() but showing impact of each exchange.
- Jupyter Notebook
Published by raphaeljolivet over 4 years ago
lca_algebraic - 0.0.14
0.0.14
- Internal change for generated webapp
- Add several display options to graphs()
- Fix overlapping graph bug
0.0.13
- Fixed bug in param extract_activities of multiLCAAlgebric
0.0.12
- Added a step of simplification of models in sobolsimplifymodel by removing minor terms of sums
- Added support for alternate names for impact methods with the function setcustomimpact_labels
- Added parameter extract_activities to multiLCAAlgebric in order to compute contribution of a subset of activities to the global impact
0.0.11
Added BETA distribution type. See online doc
0.0.10
Fixed issue #4 : Added back handling of default params
- Jupyter Notebook
Published by raphaeljolivet over 5 years ago
lca_algebraic - 0.0.9
0.0.9
- Removed cache for find{Bio/Tech}Act, in order to lower memory usage. Instead, we now use core Brightway capabilities for searching activities.
- Added function sobolsimplifymodel for generating simplified models, and compare_simplified for comparing their distributions with the initial model.
0.0.8
Cleanup dependencies
0.0.7
- Added parameters 'var_params' for all stats tools, for providing list of parameters to vary. Other parameters will be set at their default value.
- Fixed typo in the function name incerstochasticdahboard => incerstochasticdashboard
- Fixed bug of int overload : convert everything to float
0.0.6
- Rename modelToExpr() to simplifiedModel()
- Improve performance of computation. Added multithread computation for LCA and Sobol.
- Added method sobolsimplifymodel that computes list of most meaningful parameters, based on Sobol analysis, and then generates simplified models based on it.
0.0.5
- Add function
modelToExpr(model, impacts), returning expression with background activities replaced by the value of each impact.
0.0.4
- Added button for exporting data as csv on any Dataframe in stats tools
- actToExpression now replaces fixed params by their default values, providing simplified models.
- newSwitchAct can take custom amounts (not only '1') by providing tuple (act, amount)
0.0.3
First released version
- Jupyter Notebook
Published by raphaeljolivet almost 6 years ago