Pay hired labour
CLEM.Activities.LabourActivityPayHired
Manages the payment of any hired labour needed in the time-step.

When hired labour is included in a simulation this activity is required to arrange payment of all hired labour used in the time-step. Labour hired can be limited based on available funds and the action selected to perform if insufficient resources are available.
A single instance of this activity is required to pay all hired labour. Future improvements could be provided if individual hired labour types need to be managed independently.

The following parameters are used to define this activity

This parameter points to one of the defined Finance types in the Finance group of the Resources available for this simulation. This entry is a drop down list of available Finance types.

This property determines the method of calculating hired labour required.

This method assumes the amount of hired labour is provided for each labour type flagged as hired and is provided by the Labour availability list.
This method calculates labour needs at the start of the time-step and can therefore limit activities hired labour available if funds are insuffiient.

This method calculates and pays for hired labour at the end of the time step (before aging of individuals) and therefore accounts for the actual number of days of hired labour.
This approach cannot modify the labour supplied if insufficient funds are available as all activities have been performed.
We are currently implementing hired labour as a Market resource that will be used if needed and all financial transactions will be performed. This will remove the need for this activity.

This parameter will determine what action is taken if there are insufficient resources to perform this activity.
You can report an error and stop the simulation, skip this activity or use the resources available. See What to do when resources are limiting

The following components are required to use this activity

This Labour availability list provided for the Labour resource is used to determine the number of days the hired labour is hired for.

The Labour pricing details provided for the Labour resource are used to determine the current hire rates to be used for payment.

The following components will add additional functionality to this activity
This activity provides the following identifiers: Labour available, Labour used
This activity provides the following units for components: fixed, per day and per total charge

Any Activity fee will include financial costs based on any specified identifiers and units and may limit the outcomes if supported and OnPartialResourcesAvailableAction set to UseAvailableWithImplications

Adding a timer to this activity will ensure that it does not occur every time-step (see Using timers)

This timing of this activity depends upon the style of payment selected

When Labour used in time step is selected as the method, this activity will use the CLEM Herd Summary event ensuring it is performed at the end of the time step after all hired labour has been allocated.

When By available labour is selected as the method, this activity will use the CLEM Start of Timestep event ensuring it is performed at the start of the time-step ensuring the hired labour is allocated before any other activities.
See also