Modules | |
| TMY2 data | |
| Opens a TMY2 file for reading and reads in the header data. | |
| CSV weather data | |
| Opens a CSV files for reading and reads in the weather data. | |
Classes | |
| class | tmy2_reader |
| This implements a Gridlab-D specific TMY2 data reader. More... | |
Functions | |
| EXPORT int | create_climate (OBJECT **obj, OBJECT *parent) |
| Create a climate object. | |
| EXPORT int | init_climate (OBJECT *obj, OBJECT *parent) |
| Initialize the climate object. | |
| int | csv_reader::open (const char *file) |
| Open a CSV file and parse it as. | |
| TIMESTAMP | climate::sync (TIMESTAMP t0) |
| EXPORT TIMESTAMP | sync_climate (OBJECT *obj, TIMESTAMP t0) |
| Synchronize the cliamte object. | |
Create a climate object.
| obj | a pointer to the OBJECT* |
| parent | a pointer to the parent OBJECT |
Definition at line 483 of file climate.cpp.
References gl_create_object, gl_set_parent, and OBJECTDATA.
Initialize the climate object.
a poitner to the parent OBJECT
| parent | a pointer to the OBJECT |
Definition at line 498 of file climate.cpp.
References OBJECTDATA.
Referenced by windturb_dg::init(), and solar::init().
| TIMESTAMP climate::sync | ( | TIMESTAMP | t0 | ) | [inherited] |
negative means soft event
Definition at line 394 of file climate.cpp.
References gl_lerp, gl_localtime, GL_THROW, and OBJECTDATA.
| EXPORT TIMESTAMP sync_climate | ( | OBJECT * | obj, | |
| TIMESTAMP | t0 | |||
| ) |
Synchronize the cliamte object.
the time to which the OBJECT's clock should advance
| t0 | a pointer to the OBJECT |
Definition at line 510 of file climate.cpp.
References OBJECTDATA.