Ruminant herd report
CLEM.Reporting.RuminantHerdReport
A component to generate details for reporting individuals in the herd.

You may need to report specific individuals or details of individuals in the herd for analysis of your simulation. This component provides the ability to pass selected individuals to a report and report particular attributes of each individual from a large range of available values. This component raises a ReportItemGenerated event and passes the associated details which can be reported in an APSIM Report. It is considered an activity and therefore placed below the Activities holder.

The following parameters are used to define this report and are entered under the Properties tab in the user interface

This switch will include an entry at the start of the sumulation representing the individuals before the first month of the simulation (i.e. after setup).

The following components will add additional functionality to this activity

This activity will obey all Ruminant activity group in the simulation tree at and above it's location.
Only one instance of this component is permitted in each Activity.

This activity will occur in every time-step unless timers are used to restrict this activity (see Using timers).


You will also need to add an APSIM Report component to your simulation. In future we may develop a automated version of this report.
This example assumes the ruminant herd summary is named "HerdReport".
Once this report is added you will need to assign the following settings.

[Clock].Today
[ReportHerd].ReportDetails.Individual.ID as UID
[ReportHerd].ReportDetails.Individual.Weight as Weight
You are able to add as many properties of the Ruminant types as you wish to report.
As you type the lines above you will notice that intellisense provides you with the options available after each full stop is added.
To access properties related to females use .Female instead of .Individual and .Male for male specific properties.
Add the "as Name" at the end of each row to provide a simplified name of the column in the database.

[ReportHerd].OnReportItemGenerated

Run your simulation and the summarised details report will be in the datastore
See also