0 votes
487 views

Hi,

I'm calculating product systems' impacts in Java, using directly the olca-core maven module. As far as I know, this should be done like this :

```
ProductSystem system = ...
CalculationSetup setup = new CalculationSetup(CalculationType.
SIMPLE_CALCULATION, system);
setup.impactMethod = ...
SystemCalculator calc = new SystemCalculator(mCache, new DenseSolver());
SimpleResult r = calc.calculateSimple(setup);

```

But, instead of SIMPLE_CALCULATION, I could have used CONTRIBUTION_ANALYSIS or UPSTREAM_ANALYSIS.
Moreover, instead of calculateSimple(), I could have used calculateContributions() or calculateUpstream().

Then, I'm wondering whether the three values of CalculationType can be combined with the three methods of the calculator, or whether SIMPLE_CALCULATION should go with calculateSimple(), and so on. I guess it's the case, but I'm not sure.

Thank you very much in advance for an answer,
Best,

Clement

in openLCA by (700 points)
by (700 points)
Hi,
I hope you will see this but I really would appreciate if you could help me with my question, we are stuck while we don't know how to config the calculation properly.

Please log in or register to answer this question.

...