In the merge of ResidualCapacity and NewCapacity the New capacity is currently rounded to 4 digits behind the dot. However this still creates errors with TotalAnnualMaxCapacity limits. Since these limits are often having one digit behind the point I suggest to reduce the rounding to one digit behind the point.
The alternative would be to use np.floor but that could potentially cause a significant loss of capacity between steps.
In the merge of ResidualCapacity and NewCapacity the New capacity is currently rounded to 4 digits behind the dot. However this still creates errors with
TotalAnnualMaxCapacity
limits. Since these limits are often having one digit behind the point I suggest to reduce the rounding to one digit behind the point. The alternative would be to usenp.floor
but that could potentially cause a significant loss of capacity between steps.