# The implementation of the method of reduced matrix D-trees in the Udf MAOPCs environment

2023;
: pp. 33-36
Authors:
1
Lviv Polytechnic National University

The article explores the content of the MatrixDtrees function, which extends the functionality of the UDF MAOPCs and is designed to generate symbolic transfer functions of linear parametric circuits. This function represents a software implementation of the Transformed Matrix D-trees method. This method is an extension of the symbolic d-trees method, developed for constant parameters circuits, to parametric circuits. The extension involves the transition from algebraic operations with numbers and symbols in the d-trees method to matrix algebraic operations, taking into account the non-commutativity of matrix multiplication. The Transformed Matrix D-trees method significantly reduces computational time for modeling parametric circuits by factoring out similarities in complex symbolic expressions generated during the analysis process.

The MatrixDtrees function allows for the steady-state analysis in highly complex parametric circuits. By such circuits, we mean circuits that contain dozens or hundreds of nodes and elements (including parametric ones).

The article includes the results of analyzing a parametric long line model, which is represented by a combination of lumped parameters and consists of many cascaded elementary sections. Each of these sections is a combination of parametric inductance and constant capacitance.

The paper presents the results of an experiment to determine the output voltage of a long line model containing 1025 nodes, 1024 constant capacitances, and 1024 parametric inductances. The results are comparable to calculations of the same long line model using the MicroCap program. The relative deviation between the calculation results for both programs was less than 1%. The calculation time for the Transformed Matrix D-trees method using the MatrixDtrees function was 18 minutes, whereas for the MicroCap program, it was 36 hours.

1. Yu.Shapovalov, Symbolic analysis of linear electrical circuits in the frequency domain. Fixed and variable parameters, Lviv, Lviv Polytechnic National University publication, p 324, 2014
2. Yu.Shapovalov, D., Bachyk, K. Detsyk, and R. Romaniuk, “Application of the frequency symbolic method for the analysis of Linear Periodically Time-Varying Circuits”, Przeglad Elektrotechniczny, vol.96, no. 3, pp. 93–97, 2020. doi:10.15199/48.2020.03.22
3. Y. Shapovalov, D. Bachyk and I. Shapovalov, "Matrix Equation of L.A. Zadeh and its Application to the Analysis of the LPTV Circuits," 19th International Conference Computational Problems of Electrical Engineering, Banska Stiavnica, Slovakia, 2018, pp. 1-5, doi: 10.1109/CPEE.2018.8506766.
4. Yu.Shapovalov, D. Bachyk, K. Detsyk, R. Romaniuk, and I. Shapovalov, “Matrix D-Tree Method and Its Application for Symbolic Analysis of Linear Periodically Time-Variable Circuits in Frequency Domain”, Radioelectronics and Communications Systems, vol.65, no. 9, pp. 485–496, 2022. https://doi.org/10.3103/S0735272722100041
5. Y. Shapovalov, D. Bachyk, K. Detsyk, R. Romaniuk and I. Shapovalov, "Frequency Symbolic Analysis of Linear Periodically Time-Variable Circuits by Sub-Circuits Method," 2022 23rd International Conference on Computational Problems of Electrical Engineering (CPEE), Zuberec, Slovakia, 2022, pp. 1-5, doi: 10.1109/CPEE56060.2022.9919673.
6. Yu.Shapovalov, D. Bachyk, I. Shapovalov, and K. Detsyk, "Analysis of linear periodically time-varying circuits by the frequency symbolic method with applying the d-Trees method", Przeglad Elektrotechniczny, vol. 97, no. 6, pp. 44-51, 2021. doi:10.15199/48.2021.06.08
7. Y.Shapovalov, D. Bachyk, and K. Detsyk, "Multivariate Modelling of the LPTV Circuits in the MAOPCs Software Environment", Przeglad Elektrotechniczny, vol. 98, no. 7, pp. 158-163, 2022. doi:10.15199/48.2022.07.26
8. Y. Shapovalov, D. Bachyk, V. Storozh, K. Detsyk and R. Romaniuk, "Research of Long Lines with Constant and Variable Parameters using a Symbolic Method," 2021 IEEE 16th International Conference on the Experience of Designing and Application of CAD Systems (CADSM), Lviv, Ukraine, 2021, pp. 50-53, doi: 10.1109/CADSM52681.2021.9385219.
9. B. Ho Eom, P. K. Day, H. G. LeDuc and J. Zmuidzinas, “A wideband, low-noise superconducting amplifier with high dynamic range”, Nature Physics, vol.8, pp. 623-627, 2012. https://doi.org/10.48550/arXiv.1201.2392
10. A. Piwowar, D. Grabowski, “Modelling of the First-Order Time-Varying Filters with Periodically Variable Coefficients”, Mathematical Problems in Engineering, vol. 2017, Article ID 9621651, 7 pages, 2017. https://doi.org/10.1155/2017/9621651
11. Y. Shapovalov, D. Bachyk, R. Romaniuk, and I. Shapovalov, “Parametric Matrix Models of Parametric Circuits and Their Elements in Frequency Domain”, Radioelectronics and Communications Systems, vol. 64, no.8, pp. 413–425, 2021. https://doi.org/10.3103/S0735272721080021
12. Micro-Cap 12: Electronic Circuit Analysis Program. Reference Manual. Eleventh Edition. Sunnyvale, CA: Spectrum Software, 1982-2018. June 2018.