powerflow/powerflow.h File Reference


Detailed Description

Id
powerflow.h 1182 2008-12-22 22:08:36Z dchassin
Copyright (C) 2008 Battelle Memorial Institute

Id
powerflow_object.h 1182 2008-12-22 22:08:36Z dchassin
Copyright (C) 2008 Battelle Memorial Institute

Definition in file powerflow.h.

Go to the source code of this file.
GLOBAL double
default_maximum_voltage_error 
INIT (1e-6)
 default sync voltage convergence limit [puV]
GLOBAL complex fault_Z INIT (complex(1e-6, 0))
 fault impedance
GLOBAL double warning_voltageangle INIT (2.0)
 voltage angle (over link) above which a warning is posted
GLOBAL double warning_undervoltage INIT (0.8)
 voltage magnitude (per unit) below which a warning is posted
GLOBAL double nominal_voltage INIT (240.0)
 nominal voltage level
GLOBAL double warning_overfrequency INIT (65.0)
 frequency above which a warning is posted
GLOBAL double
warning_underfrequency 
INIT (55.0)
 frequency below which a warning is posted
GLOBAL double primary_voltage_ratio INIT (60.0)
 primary voltage ratio (
GLOBAL double acceleration_factor INIT (1.4)
 Acceleration factor for Gauss-Seidel to increase convergence speed.
GLOBAL TIMESTAMP NR_retval INIT (TS_NEVER)
 Newton-Raphson current return value - if t0 objects know we aren't going anywhere.
GLOBAL int NR_superLU_procs INIT (1)
 Newton-Raphson related - superLU MT processor count to request - separate from thread_count.
GLOBAL bool NR_cycle INIT (true)
 Newton-Raphson pass indicator - false = solution pass, true = metering/accumulation pass.
GLOBAL unsigned int
NR_iteration_limit 
INIT (500)
 Newton-Raphson iteration limit (per GridLAB-D iteration).
GLOBAL int NR_curr_bus INIT (-1)
 Newton-Raphson current bus indicator - used to populate NR_busdata.
GLOBAL BUSDATA *NR_busdata INIT (NULL)
 Newton-Raphson bus data pointer array.
GLOBAL unsigned int NR_bus_count INIT (0)
 Newton-Raphson bus count - used for determining size of bus vector.
GLOBAL bool GS_all_converged INIT (false)
 Gauss-Seidel convergence indicator (for post-convergence calculations.
GLOBAL SOLVERMETHOD solver_method INIT (SM_FBS)
 powerflow solver methodology


Function Documentation

GLOBAL double geographic_degree INIT ( 0.  8  ) 

voltage magnitude (per unit) below which a warning is posted

topological degree factor

GLOBAL double nominal_frequency INIT ( 60.  0  ) 

primary voltage ratio (

nomimal operating frequencty

Todo:
explain primary_voltage_ratio in powerflow (ticket #131)

GLOBAL double mvabase INIT ( 1.  4  ) 

Acceleration factor for Gauss-Seidel to increase convergence speed.

voltage magnitude (per unit) above which a warning is posted

GLOBAL bool NR_cycle INIT ( true   ) 

Newton-Raphson pass indicator - false = solution pass, true = metering/accumulation pass.

Newton-Raphson admittance matrix change detector - used to prevent complete recalculation of admittance at every timestep.

GLOBAL int NR_curr_branch INIT ( 1  ) 

Newton-Raphson current bus indicator - used to populate NR_busdata.

Newton-Raphson current branch indicator - used to populate NR_branchdata.

GLOBAL BUSDATA* NR_busdata INIT ( NULL   ) 

Newton-Raphson bus data pointer array.

restoration object of the system

Newton-Raphson swing bus.

Newton-Raphson branch data pointer array.

GLOBAL unsigned int NR_bus_count INIT (  ) 

Newton-Raphson bus count - used for determining size of bus vector.

Newton-Raphson branch count - used for determining size of branch vector.

GLOBAL bool GS_all_converged INIT ( false   ) 

Gauss-Seidel convergence indicator (for post-convergence calculations.

flag to enable voltage control source requirement

flag to enable dumping matrix calculations as they occur


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