Single phase meters present three lines to objects
In the case of polyphase meters, the line voltages are nominally 277V line-to-line, and 480V line-to-ground. The ground is not presented explicitly (it is assumed).
Total cumulative energy, instantantenous power and peak demand are metered.
Defines | |
| #define | SYNCS (PC_PRETOPDOWN|PC_BOTTOMUP|PC_POSTTOPDOWN) |
| #define | TO_HOURS(t) (((double)t) / (3600 * TS_SECOND)) |
Functions | |
| int | meter::create (void) |
| EXPORT int | create_meter (OBJECT **obj, OBJECT *parent) |
| int | meter::init (OBJECT *parent) |
| EXPORT int | init_meter (OBJECT *obj) |
| int | meter::isa (char *classname) |
| EXPORT int | isa_meter (OBJECT *obj, char *classname) |
| meter::meter (MODULE *mod) | |
| TIMESTAMP | meter::postsync (TIMESTAMP t0) |
| TIMESTAMP | meter::presync (TIMESTAMP t0, TIMESTAMP t1) |
| TIMESTAMP | meter::sync (TIMESTAMP t0) |
| EXPORT TIMESTAMP | sync_meter (OBJECT *obj, TIMESTAMP t0, PASSCONFIG pass) |
Variables | |
| static meter * | meter::defaults = NULL |
| static CLASS * | meter::oclass = NULL |
| static CLASS * | meter::pclass = NULL |