generators/generators.h

00001 /* $Id: generators.h,v 1.2 2008/02/12 00:28:08 d3g637 Exp $ */
00002 
00003 #ifndef _generators_H
00004 #define _generators_H
00005 
00006 #include <stdarg.h>
00007 #include "gridlabd.h"
00008 
00009 /*** DO NOT DELETE THE NEXT LINE ***/
00010 //NEWCLASS
00011 #include "diesel_dg.h"
00012 
00013 /* optional exports */
00014 #ifdef OPTIONAL
00015 
00016 /* TODO: define this function to enable checks routine */
00017 EXPORT int check(void);
00018 
00019 /* TODO: define this function to allow direct import of models */
00020 EXPORT int import_file(char *filename);
00021 
00022 /* TODO: define this function to allow direct export of models */
00023 EXPORT int export_file(char *filename);
00024 
00025 /* TODO: define this function to allow export of KML data for a single object */
00026 EXPORT int kmldump(FILE *fp, OBJECT *obj);
00027 #endif
00028 
00029 #endif

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