I have modified the example here to select multiple product systems (instead of processes) and export simple results to csv file. However, each product system is showing the same results (based on the first product system selected). These product systems rely on the same processes but different parameter values.
Is there something about this section of the code where something needs to be reset, perhaps in the calculator or the cache?
# run the calculation
print('Calculate system: %s' % d.name)
calculator = SystemCalculator(
Cache.getMatrixCache(), App.getSolver())
setup = CalculationSetup(
CalculationType.SIMPLE_CALCULATION, system)
setup.impactMethod = method
result = calculator.calculateSimple(setup)