Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The environmental flow manager sorts groups of actions into ascending priority order by examining the priority values generated for each action by the importance and condition functions. The condition is calculated by default by dividing the average desired return interval by the number of days since last success (with values limited to maximum of 1). This can be replaced by a user specified condition function. The importance weighting is calculated using a user defined function, which allows flexibility in the way the events are prioritised and coordinated.

Priority = (1-Condition) x / Importance

If groups have the same priority value, then they are ranked by the importance values, then by the condition. The priority of a group is considered to be equal to that of the highest priority action within that group. 

...

The default condition calculation if not specified by the user is EXP(- time since last successful spell/average return interval)

If actions have the same priority (or actions within a group have the same priority), the logic to determine which action should order (and hence pay) is as follows:
order by priority;
then by importance;
then by condition (descending);
then by name

Environmental Flow Prioritisation Phase

...