resistance_inductan​ce_matrix_matlab

版本 1.1 (4.7 KB) 作者: Thomas Guillod
MATLAB Code for Extracting Resistance/Inductance Matrices
13.0 次下载
更新时间 2021/11/4

MATLAB Code for Extracting Resistance/Inductance Matrices

license - BSD language - MATLAB category - power electronics status - maintained

This MATLAB code extracts the resistance/inductance matrix of a system:

  • Different operating points are provided (measured or simulated current excitations).
  • The associated losses/energies are provided (measured or simulated values).
  • The corresponding resistance/inductance matrix is extracted.

The following the quadratic form is linking the aforementionned variables:

  • U = 0.5*I_vec'*Q_mat*I_vec
  • I_vec is the vector containing the applied currents
  • Q_mat is the resistance/inductance matrix
  • U is the loss/energy value

This code is handling the following cases:

  • n_op is the number of provided operating points
  • n_var is the number of independent coefficients for the resistance/inductance matrix
  • n_op<n_var: under-determined equation system => invalid problem
  • n_op==n_var: determined equation system => linear equation system
  • n_op>n_var: over-determined equation system => least-square fit

The condition number of the equation system and the residuum are computed. This is required to ensure that the resistance/inductance matrix is numerically robust. Finally, the code checks that the extracted matrix is physical (symmetric and positive definite).

Compatibility

  • Tested with MATLAB R2021a.
  • No toolboxes are required.
  • Compatibility with GNU Octave not tested but probably easy to achieve.

Author

Thomas Guillod - GitHub Profile

License

This project is licensed under the BSD License, see LICENSE.md.

引用格式

Thomas Guillod (2024). resistance_inductance_matrix_matlab (https://github.com/otvam/resistance_inductance_matrix_matlab), GitHub. 检索来源 .

MATLAB 版本兼容性
创建方式 R2021b
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

无法下载基于 GitHub 默认分支的版本

版本 已发布 发行说明
1.1

add tags

1.0.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库