From GridLAB-D Wiki
Jump to: navigation, search

Check - Module check function


#include "gridlabd.h"
EXPORT int check(void);


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.


EXPORT int check(void)
  unsigned int errcount = 0;
  // TODO write your check code here
  return errcount;

See also