00001
00005 #include <stdlib.h>
00006 #include <stdio.h>
00007 #include <errno.h>
00008 #include <math.h>
00009 #include "gridlabd.h"
00010
00011 #include "climate.h"
00012 #include "weather.h"
00013 #include "csv_reader.h"
00014
00015 EXPORT CLASS *init(CALLBACKS *fntable, MODULE *module, int argc, char *argv[])
00016 {
00017 if (set_callback(fntable)==NULL)
00018 {
00019 errno = EINVAL;
00020 return NULL;
00021 }
00022
00023 new climate(module);
00024 new weather(module);
00025 new csv_reader(module);
00026
00027
00028 return climate::oclass;
00029 }
00030
00031
00032 CDECL int do_kill()
00033 {
00034
00035 return 0;
00036 }
00037
00038 EXPORT int check(){
00039
00040 return 0;
00041 }