Load objects represent static loads and export both voltages and current. More...
Functions | |
EXPORT int | create_pqload (OBJECT **obj, OBJECT *parent) |
REQUIRED: allocate and initialize an object. | |
EXPORT int | init_pqload (OBJECT *obj) |
Object initialization is called once after all object have been created. | |
EXPORT TIMESTAMP | sync_pqload (OBJECT *obj, TIMESTAMP t0, PASSCONFIG pass) |
Sync is called when the clock needs to advance on the bottom-up pass (PC_BOTTOMUP). |
Load objects represent static loads and export both voltages and current.
EXPORT int create_pqload | ( | OBJECT ** | obj, | |
OBJECT * | parent | |||
) |
REQUIRED: allocate and initialize an object.
obj | a pointer to a pointer of the last object in the list | |
parent | a pointer to the parent of this object |
Definition at line 350 of file pqload.cpp.
EXPORT int init_pqload | ( | OBJECT * | obj | ) |
Object initialization is called once after all object have been created.
obj | a pointer to the object to be initialized |
Definition at line 373 of file pqload.cpp.
EXPORT TIMESTAMP sync_pqload | ( | OBJECT * | obj, | |
TIMESTAMP | t0, | |||
PASSCONFIG | pass | |||
) |
Sync is called when the clock needs to advance on the bottom-up pass (PC_BOTTOMUP).
obj | the object we are sync'ing | |
t0 | this objects current timestamp | |
pass | the current pass for this sync call |
Definition at line 390 of file pqload.cpp.