Distribution flow solver (network)
[Runtime modules]


Detailed Description

This module contains a model simulating a powerflow distribution network using Kerstings 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).


Modules

 Capacitor
 Fuse
 Line
 This file contains the definition for 4 types of lines, their configurations and the conductors associated with these lines.
 Network link (branch)
 The link object implements the general solution elements for branches using the Gauss-Seidel method.
 Distribution meter
 Distribution meter can be either single phase or polyphase meters.
 Network node (bus)
 The node is one of the major components of the method used for solving a powerflow network.
 Powerflow_object
 The powerflow_object class is an abstract class that implements basic elements of powerflow solutions.
 Voltage regulator
 Relay
 Implements a relay object.
 Transformer
 The transformer is one of the more complex objects in the powerflow network.

Functions

EXPORT int kmldump (FILE *fp, OBJECT *obj)
void print_matrix (complex mat[3][3])

Variables

double primary_voltage_ratio = 60.0


Function Documentation

EXPORT int kmldump ( FILE *  fp,
OBJECT obj 
)

Todo:
implement this as virtual functions kmldump() in each class (ticket #132)

Todo:
complete KML implement of supply (ticket #133)

Definition at line 52 of file powerflow.cpp.

References link::from, gl_object_isa, powerflow_object::has_phase(), link::i_abc_in, link::i_abc_out, s_object_list::id, s_object_list::latitude, s_object_list::longitude, s_class_list::name, s_object_list::name, OBJECTDATA, s_object_list::oclass, PHASE_A, PHASE_B, PHASE_C, load::phaseA_I, node::phaseA_V, load::phaseA_VA, load::phaseB_I, node::phaseB_V, load::phaseB_VA, load::phaseC_I, node::phaseC_V, load::phaseC_VA, primary_voltage_ratio, and link::to.


Variable Documentation

double primary_voltage_ratio = 60.0

Todo:
export primary voltage ratio so users can set it (ticket #131)

Definition at line 31 of file powerflow.cpp.

Referenced by kmldump().


GridLAB-DTM Version 1.0
An open-source project initiated by the US Department of Energy