Toolbox for Modeling and Analysis of Power Networks in the DQ0 Reference Frame
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/
Cite As
yoash levron (2024). Toolbox for Modeling and Analysis of Power Networks in the DQ0 Reference Frame (https://www.mathworks.com/matlabcentral/fileexchange/58702-toolbox-for-modeling-and-analysis-of-power-networks-in-the-dq0-reference-frame), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Physical Modeling > Simscape Electrical > Electrical Block Libraries >
- Simulink > Block and Blockset Authoring >
Tags
Acknowledgements
Inspired by: Dynamic Simulations of Electric Machinery : Using MATLAB/SIMULINK, Space vector representation of three phase signals in stationary and rotating frames, ABC to ALPHA-BEETA to DQ and DQ to ALPHA-BEETA to ABCconvertion, Power system analysis, (d,q) modeling of three-phase squirrel cage induction motors, mathmatical model of three phase induction motor, Optimal multiresonant controller in dq0
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
dq0_software/
dq0_software/Tutorial_1/
dq0_software/examples/
dq0_software/models/
dq0_software/Tutorial_1/
dq0_software/examples/
Version | Published | Release Notes | |
---|---|---|---|
2.6.0.0 | Added example: exSyncGenPVinv.m + exSyncGenPVinv_sim.slx |
||
2.5.0.0 | All Simulink files are updated to R2014b, to solve version issues. |
||
2.4.0.0 | Added example (pv_dq.m) demonstrating modeling of a three-phase photovoltaic inverter based on dq0 signals |
||
2.3.0.0 | updated examples |
||
2.2.0.0 | fixed typo in example droopB.m |
||
2.1.0.0 | Updated documentation |
||
2.0.0.0 | Major revision:
|
||
1.26.0.0 | updated function 'eliminate_buses' to handle an empty subset. |
||
1.25.0.0 | added example 'example_long_line_7bus.m' |
||
1.24.0.0 | Added another example: example_droop_B.m (droop control + central angle reference frame) |
||
1.23.0.0 | Added example 'example_droop_A' (basic droop control) |
||
1.22.0.0 | Updated website link |
||
1.21.0.0 | Updated documentation |
||
1.20.0.0 | added contact details |
||
1.19.0.0 | - New homepage & software manual |
||
1.18.0.0 | new function & example: longline_analytic.m , longline_analytic_ex.m |
||
1.17.0.0 | 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.0.0 | Added example 'tst_sync_machine_II' that compares the transient responses of the physical and approximated synchronous machine models. |
||
1.15.0.0 | Added example file 'example_long_line_pv.m' |
||
1.14.0.0 | Updated implementation and examples for long transmission lines |
||
1.13.0.0 | updated documentation |
||
1.12.0.0 | Updated function 'step_sparse' to enhance the computation speed for very large systems. |
||
1.11.0.0 | Updated function 'step_sparse' to better handle large systems.
|
||
1.10.0.0 | -- A new example 'example_large_systems_stability.m' has been added.
|
||
1.7.0.0 | Updated call to Simulink files to run better on older versions of Matlab. |
||
1.6.0.0 | updated typos in documentation. Files without change. |
||
1.5.0.0 | Added a new example:
|
||
1.4.0.0 | Updated documentation, files without change |
||
1.3.0.0 | Documentation updated. Files without change. |
||
1.2.0.0 | Updated documentation. Files have not been changed. |
||
1.1.0.0 | Updated small typos in description. Files have not been changed. |
||
1.0.0.0 |