it-is-me-mario/MARIO

Database.aggregate function bug in case of multiple scenarios

LorenzoRinaldi opened this issue · 1 comments

In case you build a database with multiple scenarios where only coefficient matrices are present (only 'z','v','e' and not 'Z','V','E') the function returns an error. In fact, the initial calc_all is checking the presence of 'Z','V' and 'E' just for the baseline scenario.

To solve it, is enough to enclose the calc all in a for loop iterating on self.scenarios.

I belive that is already the case in the aggregate fuction. Could you please provide the example that you run and face the issue?