Implements a emissions object. More...
Modules | |
Capacitor | |
Fuse | |
Line | |
This file contains the definition for 4 types of lines, their configurations and the conductors associated with these lines. | |
Meter | |
Substation object serves as a connecting object between the powerflow and network solvers. | |
Powerflow library (abstract) | |
The powerflow_library class is an abstract class that implements basic elements of powerflow object configurations. | |
Powerflow objects (abstract) | |
The powerflow_object class is an abstract class that implements basic elements of powerflow solutions. | |
Regulator | |
Transformer | |
The transformer is one of the more complex objects in the powerflow network. | |
Files | |
file | powerflow.h |
Copyright (C) 2008 Battelle Memorial Institute | |
Functions | |
EXPORT TIMESTAMP | commit_series_reactor (OBJECT *obj, TIMESTAMP t1, TIMESTAMP t2) |
REQUIRED: allocate and initialize an object. | |
EXPORT TIMESTAMP | commit_switch_object (OBJECT *obj, TIMESTAMP t1, TIMESTAMP t2) |
REQUIRED: allocate and initialize an object. | |
int | switch_object::create (void) |
Fully resolved status (ABC) - used for reliability and recalculation detection. | |
EXPORT int | create_emissions (OBJECT **obj, OBJECT *parent) |
REQUIRED: allocate and initialize an object. | |
EXPORT int | create_recloser (OBJECT **obj, OBJECT *parent) |
REQUIRED: allocate and initialize an object. | |
EXPORT int | init_recloser (OBJECT *obj) |
Object initialization is called once after all object have been created. | |
EXPORT int | init_series_reactor (OBJECT *obj) |
Object initialization is called once after all object have been created. | |
EXPORT int | init_switch (OBJECT *obj) |
Object initialization is called once after all object have been created. | |
EXPORT TIMESTAMP | sync_emissions (OBJECT *obj, TIMESTAMP t0, PASSCONFIG pass) |
Sync is called when the clock needs to advance on the bottom-up pass (PC_BOTTOMUP). | |
EXPORT TIMESTAMP | sync_series_reactor (OBJECT *obj, TIMESTAMP t0, PASSCONFIG pass) |
Sync is called when the clock needs to advance on the bottom-up pass (PC_BOTTOMUP). | |
EXPORT TIMESTAMP | sync_switch (OBJECT *obj, TIMESTAMP t0, PASSCONFIG pass) |
Sync is called when the clock needs to advance on the bottom-up pass (PC_BOTTOMUP). |
Implements a emissions object.
Implements a switch object.
Implements a a series reactor object with specifiable impedances.
Implements a recloser object.
This module contains a model simulating a powerflow distribution network using Kersting's method outlined in his book: Distribution System Modeling and Analysis.
In this method, the network is looked at as a system of nodes and links. Voltage and current are passed along the network in a series of sweeps. During the sweeps, and small system of equations are solved at each link using linear methods. The sweeps are repeated for each timestep until the system reaches equilibrium, at which point the time in the network can advance to the next available timestamp. During a sweep, 3 passes are made across the network; pre-topdown, bottom up, and post-topdown. During the pre-topdown pass, the meter object resets agregator variables, and calculates maximum powe and energy consumption. During the bottom up pass, currents are agregated, starting at the meter, and working its way up the network to the generation node. In the post-topdown pass, voltages for each node are calculated starting at the generation node and working down towards the meter object (and from there into the end use models).
This is a static reactor, so values will only be computed once.
EXPORT TIMESTAMP commit_series_reactor | ( | OBJECT * | obj, | |
TIMESTAMP | t1, | |||
TIMESTAMP | t2 | |||
) |
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 155 of file series_reactor.cpp.
EXPORT TIMESTAMP commit_switch_object | ( | OBJECT * | obj, | |
TIMESTAMP | t1, | |||
TIMESTAMP | t2 | |||
) |
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 1704 of file switch_object.cpp.
EXPORT int create_emissions | ( | 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 886 of file emissions.cpp.
EXPORT int create_recloser | ( | 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 136 of file recloser.cpp.
EXPORT int init_recloser | ( | OBJECT * | obj | ) |
Object initialization is called once after all object have been created.
obj | a pointer to this object |
Definition at line 159 of file recloser.cpp.
EXPORT int init_series_reactor | ( | OBJECT * | obj | ) |
Object initialization is called once after all object have been created.
obj | a pointer to this object |
Definition at line 187 of file series_reactor.cpp.
EXPORT int init_switch | ( | OBJECT * | obj | ) |
Object initialization is called once after all object have been created.
obj | a pointer to this object |
Definition at line 1736 of file switch_object.cpp.
EXPORT TIMESTAMP sync_emissions | ( | 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 927 of file emissions.cpp.
EXPORT TIMESTAMP sync_series_reactor | ( | 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 204 of file series_reactor.cpp.
EXPORT TIMESTAMP sync_switch | ( | 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 1753 of file switch_object.cpp.