File Exchange

image thumbnail

Toolbox for Modeling and Analysis of Power Networks in the DQ0 Reference Frame

version 2.05 (553 KB) by

Analyzes the dynamics of symmetric power networks, generators, and loads in the DQ0 reference frame

27 Downloads

Updated

View License

The software manual and more downloads are available at
http://a-lab.ee/projects/dq0-dynamics
-- What this tool does
This is a free software tool for analyzing the dynamics of power systems based on dq0 signals. It is designed to simulate and analyze power systems that include several generators and loads, and possibly a large transmission network. The software provide tools for constructing dynamic models of the system components, and enables analysis in the frequency domain or the time domain. The manual and software provide simple explanations and examples that can help one get started.
-- When to use this software
Several approaches exist for modeling the dynamic behavior of three-phase power systems. Transient simulations that use the abc frame of reference describe the system by means of physical quantities, and thus offer high accuracy and flexibility. This approach is often the most general, since it applies to nonsymmetric systems, and is valid over a wide range of frequencies. Another popular approach is to model the power system using time-varying phasors, often by using the network power flow equations. This approach has many benefits, one of them is that the transmission network is described by means of purely algebraic equations. However, time-varying phasors are only applicable at low frequencies, under the assumption that the system is quasi-static.
A solution that complements these two well-known approaches is to model large power systems on the basis of dq0 quantities. This approach is not as general as abc-based models, and is advantageous mainly when the network and units are symmetrically configured. However, dq0 models combine two properties of interest: similar to transient models, dq0-based models are derived from physical models, and are therefore accurate at high frequencies, so the assumption of a quasi-static network is not required. In addition, similarly to time-varying phasors, dq0 models are time-invariant. This property allows to define an operating point, and enables small-signal analysis, and stability analysis.
-- How this software operates
(More details available at the software manual - see above).
The software describes power systems by means of signal-flow diagrams, in which each component is modeled by dq0 quantities. Transmission networks are represented by linear state-space models with voltage inputs and current outputs. The software automatically constructs the model matrices based on the network data. This can be done using the graphical user interface, or directly from the Matlab command line. The resulting state-space models are of minimal order, and use sparse system matrices, and are therefore suitable for large power systems. The network and its components are modeled using a dq0 transformation that is based on a unified reference frame.
-- Additional details on
** Installation
** Tutorial
** How to cite this work
are available in the software manual (see link above)
-- Contact
Any questions? please contact us at
http://yoash-levron.eew.technion.ac.il/contactus/contact-2/

Comments and Ratings (4)

wei chaofeng

raman hamdan

thank you

PaulPogba

Sven Koerner

Sven Koerner (view profile)

Updates

2.05

All Simulink files are updated to R2014b, to solve version issues.

2.04

Added example (pv_dq.m) demonstrating modeling of a three-phase photovoltaic inverter based on dq0 signals

2.03

updated examples

2.02

fixed typo in example droopB.m

2.01

Updated documentation

2.0

Major revision:
- Updated function names
- Clean the code
- Tutorial is added

1.26

updated function 'eliminate_buses' to handle an empty subset.

1.25

added example 'example_long_line_7bus.m'

1.24

Added another example: example_droop_B.m (droop control + central angle reference frame)

1.23

Added example 'example_droop_A' (basic droop control)

1.22

Updated website link

1.21

Updated documentation

1.20

added contact details

1.19

- New homepage & software manual

1.18

new function & example: longline_analytic.m , longline_analytic_ex.m

1.17

Added example - 'example_14bus_gen_and_renewables.m' - Dynamic simulation of the IEEE 14 bus test case network, with physical synchronous machine models and photovoltaic inverters (renewable sources).

1.16

Added example 'tst_sync_machine_II' that compares the transient responses of the physical and approximated synchronous machine models.

1.15

Added example file 'example_long_line_pv.m'

1.14

Updated implementation and examples for long transmission lines

1.13

updated documentation

1.12

Updated function 'step_sparse' to enhance the computation speed for very large systems.

1.11

Updated function 'step_sparse' to better handle large systems.
Step response is now computed much faster and with lower memory requirements.

1.10

-- A new example 'example_large_systems_stability.m' has been added.
-- Supporting functions such as 'step_sparse' have been added.
-- Implementation in function 'eliminate_buses' has been improved to support large systems.

1.07

Updated call to Simulink files to run better on older versions of Matlab.

1.06

updated typos in documentation. Files without change.

1.05

Added a new example:
'example_renewable_gen_parameters.m', 'example_renewable_gen_simulink.slx'
Simulates the dynamics of a small network that contain a renewable energy source, using dq0 signals.

1.04

Updated documentation, files without change

1.03

Documentation updated. Files without change.

1.02

Updated documentation. Files have not been changed.

1.01

Updated small typos in description. Files have not been changed.

MATLAB Release
MATLAB 8.4 (R2014b)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video