Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MultiLCAAAlgebraic outputs constant values with activity created in Activity-Browser #26

Open
simaosr opened this issue Feb 23, 2023 · 2 comments

Comments

@simaosr
Copy link

simaosr commented Feb 23, 2023

Hello,

I have issues running MultiLCAAlgebraic with activities that are created by Activity-Browser. The activity is parameterized and I am calling loadParams(), but sweeping the parameters does not change the output values.

If I create the activity via a script using lca_algebraic routines, I can then later run the MultiLCAAlgebraic without any issues.

I cannot figure out the difference between the activities that is making it work in one case and not in the other.

Is this a known behavior, or if not, what can I do to make this work ?

Thank you

@raphaeljolivet
Copy link
Contributor

Hi,

loadParams() should transform Brightway parameters to Lca_algebraic ones.
Currently It only supports global parameters tought (not per activity).

Could you please export and share (in MP possibly) your parametrized DB as a BW2Package so that I can have a look ?

@simaosr
Copy link
Author

simaosr commented Feb 28, 2023

Thank you for your reply @raphaeljolivet

The activity that is not working properly with lca_algebraic is using project parameters, while the one that works is using database parameters.

As I cannot figure out how to sent an MP, I'm sharing the two databases here. (SP1 has the "non-working" activity created using Activity-Browser and SP2 has the activity created with Lca_algebraic routines)

LCA_examples.zip

Thank you,
Simão

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants