Calculate interest
CLEM.Activities.FinanceActivityCalculateInterest
Calculates and arranges payment or receipt of interest.

This activity calculates interest charged on overdrawn accounts and interest earned on positive accounts and arranges payments for all Finance types.
Interest rates are defined for each Finance type supplied in the resources for the simulation.
Interest calculations are performed with all activities. Therefore the position of this activity will influence the timing of bank transactions. This activity will happen before ruminant purchases and sales that occur later in the monthly time-step.
If this activity is not included in a simulation then interest on positive and negative bank balances will not be calculated even if they have been defined in Finance type.

This activity is performed during the Get Resources Required event of the setup and time-step events. This is the standard, monthly clock event by which CLEM activities request resources and perform actions based on the resources provided, therefore this activity will compete with most activities in the time-step with their location in the simulation tree determining the order they are processed (this includes activities located on other CLEM and Market components). If this activity relies on another activity having been performed, or other activities rely on this activity in the time-step, ensure it has been performed in the correct order based on it's position in the simulation tree.
See also