Performance issue in batch (mace run in batch)
Hi,We have noticed that a particualr rule group running in batch (using mace) takes a long time to run (a couple of hours). There is an effort going on to optimize the rules to run faster.
There are multiple rules in this rule group which use the following RPAS functions:
1. Lag (to calculate previous period's inventory),
2. Max to take the maximum of 2 values inside If()
3. A combination of max and lag() in a rule to take max of (last period's SOH, some other measure)
4. A combination of Min() and lag()
5. Time series - tssum to calculate a certain metric
There are multiple rules in this rule group which use the following RPAS functions:
1. Lag (to calculate previous period's inventory),
2. Max to take the maximum of 2 values inside If()
3. A combination of max and lag() in a rule to take max of (last period's SOH, some other measure)
4. A combination of Min() and lag()
5. Time series - tssum to calculate a certain metric
0