From GridLAB-D Wiki
Check - Module check function
Synopsis
#include "gridlabd.h" EXPORT int check(void);
Description
The module check function is called whenever the --check command line option is given. The module is expected to perform data and model consistency checks to assist users in debugging problem with GLM files.
Example
EXPORT int check(void) { unsigned int errcount = 0; // TODO write your check code here return errcount; }
See also
- Guide to Programming GridLAB-D
- Introduction
- Creating a module
- Creating a class
- Special Topics
- Source documentation
- Validation
- Debugging
- Code templates