Sell resource activity
CLEM.Activities.ResourceActivitySell
Sell a resource.

Most resources stored on the farm have value and can be sold. This is what often happens with products produced, especially when surplus to the farm needs. This activity is used to sell a resource and earn money. Resources are sold in packets with an amount earned for each packet sold.
See Resource pricing to learn how to set the packet size and pricing of a resource.

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 parameter points to one of the defined resource types of the Resources available for this simulation. This entry is a drop down list of available Animal food store types, Human food store types, Greenhouse gas types, Equipment types, Other animal types, Product types and Water types. There is no ability to sell Labour or Land and ruminants are sold via the Ruminant Manage and Ruminant Buy and Sell activities.

A number of selling styles are provided to determine the amount to sell.

A specified amount to sell.

A proportion of the current store will be sold.
Proportion

A proportion of the most recent gain to the resource store will be sold.
It is difficult to determine the last transaction.
Proportion
It is difficult to track the last transaction in most circumstances, but there may be occasions where you know the history of additions to a resource. This selling style is primarily designed to be used in the cropping tasks immediately after a crop harvest. For example, you may wish to sell 50% of the grain that has been placed in the human food store from the most recent harvest, or even 30% of the harvest each year for three years. This style saves you having to divide the harvest into separate stores (using multiple Manage crop product activities) to manage consumption and sales separately.

Sell all except this specified amount.

Sell all except a proportion of the current store.
Proportion
All sales may be constrained by selling units defined in the pricing details (see Resource pricing).

This value will define the selling amount.

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 will add additional functionality to this activity
This activity provides the following units for components: fixed, per packet and amount

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

Any Labour requirement will include labour allocation to perform this activity based on any specified identifiers and units and may limit the outcomes if supported and OnPartialResourcesAvailableAction set to UseAvailableWithImplications

This activity respects all Timers allowing you to determine when it will occur. See Using timers

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