You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, I have updated AB and still experience this issue
What happened?
Was trying to perform a parameter based Monte Carlo simulations but kept getting a value error of size mismatch when the tech vectors was being overwritten by the changed parametrized exchanges. After going through the code, realized that the error actually stems from somewhere within the database, I have an activity that has 2 same exchanges (electricity from the US) with different amounts (In the comments, these were used for different purposes). However, these were static inputs and parameter based (the parameter that had no defined uncertainty). Yet, the parameter MCRandomNumberGenerator somehow identified these exchanges to be randomly generated for the Monte Carlo Simulation. However, whenever the indexes are identified in the code, there is filtering to only consider unique activities, leading to one of these exchanges to get dropped and causing the error. In the meantime, combining those exchanges into one fixes the issue, but from a user friendly perspective, it is more preferable to have to 'separate' exchanges representing electricity consumption for different processes (with the comments adding more information on which process is used for what). I noticed that having duplicate exchanges also causes issue with Scenario based LCA, so maybe this is an overarching issue. If the capability isn't there, maybe can add a warning whenever a user has a duplicate exchange within an activity. I noticed that it doesn't break anything within the standard LCA, only for the more involved calculations in Monte Carlo or Scenario based LCA.
Relevant errors
No response
Operating system
Windows 10
Conda environment
No response
The text was updated successfully, but these errors were encountered:
Updating AB
What happened?
Was trying to perform a parameter based Monte Carlo simulations but kept getting a value error of size mismatch when the tech vectors was being overwritten by the changed parametrized exchanges. After going through the code, realized that the error actually stems from somewhere within the database, I have an activity that has 2 same exchanges (electricity from the US) with different amounts (In the comments, these were used for different purposes). However, these were static inputs and parameter based (the parameter that had no defined uncertainty). Yet, the parameter MCRandomNumberGenerator somehow identified these exchanges to be randomly generated for the Monte Carlo Simulation. However, whenever the indexes are identified in the code, there is filtering to only consider unique activities, leading to one of these exchanges to get dropped and causing the error. In the meantime, combining those exchanges into one fixes the issue, but from a user friendly perspective, it is more preferable to have to 'separate' exchanges representing electricity consumption for different processes (with the comments adding more information on which process is used for what). I noticed that having duplicate exchanges also causes issue with Scenario based LCA, so maybe this is an overarching issue. If the capability isn't there, maybe can add a warning whenever a user has a duplicate exchange within an activity. I noticed that it doesn't break anything within the standard LCA, only for the more involved calculations in Monte Carlo or Scenario based LCA.
Relevant errors
No response
Operating system
Windows 10
Conda environment
No response
The text was updated successfully, but these errors were encountered: