https://github.com/otvam/resistance_inductance_matrix_matlab
MATLAB Code for Extracting Resistance/Inductance Matrices
https://github.com/otvam/resistance_inductance_matrix_matlab
energy finite-element-analysis inductor losses matlab matrix power-electronics resistance transformer
Last synced: 5 months ago
JSON representation
MATLAB Code for Extracting Resistance/Inductance Matrices
- Host: GitHub
- URL: https://github.com/otvam/resistance_inductance_matrix_matlab
- Owner: otvam
- License: bsd-2-clause
- Created: 2021-11-04T01:51:04.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-12-18T04:45:18.000Z (over 1 year ago)
- Last Synced: 2025-03-28T00:41:25.827Z (over 1 year ago)
- Topics: energy, finite-element-analysis, inductor, losses, matlab, matrix, power-electronics, resistance, transformer
- Language: MATLAB
- Homepage:
- Size: 13.7 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# MATLAB Code for Extracting Resistance/Inductance Matrices




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 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](https://github.com/otvam)
## License
This project is licensed under the **BSD License**, see [LICENSE.md](LICENSE.md).