Validating components

Advanced topic - requires coding skills

Validation ensures that all parameters (public properties) are provided within desired ranges and that there are no warnings resulting from issues with the building of the simulation tree. This is designed to alert the user to potential problems before running the simulation. All validation errors and warnings are written to the Summary table of the data store and are displayed in the Messages section of the CLEM component information area.

APSIM does not currently provide a means of validating models before a simulation is run, so CLEM provides this functionality by performing a number of checks on all children of a CLEM component.