The transformer is one of the more complex objects in the powerflow network. More...
Modules | |
Transformer Configuration | |
The transformer configuration specifies a type of transformer. | |
Functions | |
EXPORT int | create_transformer (OBJECT **obj, OBJECT *parent) |
REQUIRED: allocate and initialize an object. | |
EXPORT int | init_transformer (OBJECT *obj) |
Object initialization is called once after all object have been created. | |
EXPORT TIMESTAMP | sync_transformer (OBJECT *obj, TIMESTAMP t0, PASSCONFIG pass) |
Sync is called when the clock needs to advance on the bottom-up pass (PC_BOTTOMUP). |
The transformer is one of the more complex objects in the powerflow network.
Implemented as a link, the transformer configuration exports a type property that allows the transformer to operate as and single phase transformer, a wye-wye connected transformer, a delta-grounded wye tranformer, a delta-delta transformer, and as a center-tapped transformer.
The transformer exports a phase property that is a set of phases and may be set using the bitwise or operator (A|B|C for a 3 phase line).
EXPORT int create_transformer | ( | 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 1983 of file transformer.cpp.
EXPORT int init_transformer | ( | OBJECT * | obj | ) |
Object initialization is called once after all object have been created.
obj | a pointer to this object |
Definition at line 2008 of file transformer.cpp.
EXPORT TIMESTAMP sync_transformer | ( | 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 2025 of file transformer.cpp.