Main module
[GridLAB-D Core]


Detailed Description

The main module handles application entry and exit.


Defines

#define _MAIN_C

Functions

void delete_pidfile (void)
int main (int argc, char *argv[])
 The main entry point of GridLAB-D Exit codes
  • 0 run completed ok
  • 1 command-line processor stopped
  • 2 environment startup failed
  • 3 test procedure failed
  • 4 user rejects conditions of use
  • 5 simulation stopped before completing
  • 6 initialization failed.


Function Documentation

int main ( int  argc,
char *  argv[] 
)

The main entry point of GridLAB-D Exit codes

Parameters:
argc  the number entries on command-line argument list argv
argv  a list of pointers to the command-line arguments

Definition at line 475 of file main.c.

References class_profiles(), cmdarg_load(), delete_pidfile(), environment_start(), exec_init(), FAILED, FALSE, kml_dump(), legal_notice(), module_dumpall(), output_error(), output_fatal(), output_message(), and output_verbose().


GridLAB-DTM Version 1.0
An open-source project initiated by the US Department of Energy