From GridLAB-D Wiki
Jump to: navigation, search

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