S.O. Baryshnikov1, V.V. Sakharov2, A.A. Chertkov3, A.A. Zhilenkov4, T.D. Kainova5, O.Yu. Kichigina6
1–3 Admiral Makarov State University of Maritime and Inland Shipping (St. Petersburg, Russia)
4–6 Saint Petersburg State Marine Technical University (St. Petersburg, Russia)
4zhilenkovanton@gmail.com, 5marine_electronics@smtu.ru, 6olga1986kichigina@gmail.com
For electric circuits with complex topology, especially those containing switching elements, the problem of calculating energy distribution and steady-state operating conditions under topological constraints is of practical importance. However, as the structure becomes more complex, the dimensionality grows, and switching is introduced, conventional manual circuit-equation calculations become cumbersome and scale poorly. Therefore, a formal computational approach is required that encodes constraints via circuit topology, reduces the problem to an extremum formulation, and obtains the solution using numerical optimization methods. To develop an algorithm for calculating energy distribution and voltages in conservative multi-loop capacitive circuits, as well as for evaluating the steady-state conditions of switched-capacitor converters, using the principle of least (stationary) action and CVX-based convex optimization tools in MATLAB. A method is proposed in which the energy distribution in a multi-loop capacitive circuit is obtained from an extremum formulation: the objective function is written in terms of electric-field energy, and the unknowns are the capacitor voltages. Topological relations and switching states are represented as a set of constraints formed from Kirchhoff’s laws in matrix form, after which the problem is solved in MATLAB using CVX as a convex optimization problem. It is shown that the approach is applicable to circuits with switches and can represent structural changes by modifying the constraints. For switched-capacitor converters, a procedure is presented for computing the no-load steady-state operating mode: a system of linear equations is assembled from the generalized cycle matrix and solved to determine the input-output relationship. The algorithm and its software implementation can be used for the analysis and synthesis of capacitive networks and switched-capacitor converters with high dimensionality and variable topology, as well as for digitalization of calculations, resource saving, and multi-criteria design of electrical engineering systems.
Baryshnikov S.O., Sakharov V.V., Chertkov A.A., Zhilenkov A.A., Kainova T.D., Kichigina O.Yu. Algorithm for estimating energy distribution in multi-loop electric circuits using CVX technologies. Electromagnetic waves and electronic systems. 2026. V. 31. № 2. P. 14−24. DOI: https://doi.org/10.18127/j15604128-202602-03 (in Russian)
- Terekhovich V.E. Probabilistic and geometric languages of physics in the context of the principle of least action. Philosophy of Science. 2013. № 1(56). P. 80–92. (in Russian)
- Kufterin V.A., Polienko K.S., Tungushpaev A.T. Development of micro-optics-electromechanical systems technology. Information-measuring and Control Systems. 2023. V. 21. № 3. P. 50−57. DOI 10.18127/j20700814-202303-08. (in Russian)
- Prigozhin I.R., Kondepudi D. Modern thermodynamics. From heat engines to dissipative structures. Moscow: Mir. 2002. 461 p. (in Russian)
- Kaganovich B.M., Keiko A.V., Shamansky V.A. Technology of thermodynamic modeling. Reduction of motion models to rest models. Novosibirsk: Nauka Publ. 2010. 236 p. (in Russian)
- Zhilenkov A.A., Abramkina K.V., Epifantsev I.R., Chernyi S.G. Intelligent Energy-Quality Management in Autonomous Electric-Power Systems of Transport Facilities. Russian Electrical Engineering. 2021. V. 92. № 5. P. 284–290. DOI 10.3103/S1068371221050126.
- Dyakonov V.P., Kruglov V.V. Mathematical MatLAB extension packages. Special reference book. St. Petersburg: Peter. 2001. 480 p. (in Russian)
- Baryshnikov S.O., Dmitrienko D.V., Sakharov V.V., Chertkov A.A. Models and algorithms for managing water transport facilities in the context of digital transformation. St. Petersburg: Zanevskaya Square. 2022. 537 p. (in Russian)
- Krešimir V. Damped oscillations of linear systems: a mathematical introduction. Springer. 2011. 202 p.
- Levin A.A., Tairov E.A., Chistyakov V.F. Calculation of flow distribution in the TPP dust preparation system. Proceedings of the XII All-Russian scientific seminar with international participation "Mathematical models and methods of analysis and optimal synthesis of developing pipeline and hydraulic systems". Yalta, Ukraine: L.A. Melentyev Institute of Energy Systems of the Siberian Branch of the Russian Academy of Sciences. 2010. P. 114–122. (in Russian)
- Baryshnikov S.O., Nikiforov V.G., Sakharov V.V. Solving boundary value problems based on MATLAB tools. Shipbuilding. 2024. № 1(872). P. 20–27. (in Russian)
- Ottinger H.C. Beyond Equilibrium Thermodynamics. Hoboken: John Wiley & Sons. 2005. 635 p.
- Baryshnikov S.O., Vikhrov N.M., Shnurenko A.A., Sakharov V.V. Symbolic calculations and methods of automating technological processes using new MATLAB tools and tools: textbook. St. Petersburg: Zanevskaya Square. 2024. 121 p. (in Russian)
- Baryshnikov S.O., Vikhrov N.M., Sakharov V.V. Synthesis of optimal regulators of ship systems based on matrix inequalities. Bulletin of the Admiral S.O. Makarov State University of Marine and River Fleet. 2023. V. 15. № 6. P. 1085–1095. DOI 10.21821/2309-5180-2023-15-6-1085-1095. (in Russian)
- Palm W.J. Introduction to MATLAB for engineers, third edition. The McGraw-Hill Companies. 2011. 577 p.
- Avdeev B.A., Cherny S.G., Moiseev I.S., Zhilenkov A.A. Determination of the current disharmonics of an asynchronous motor with a variable periodic load. Electrical Engineering. 2022. № 6. P. 39–44. DOI 10.53891/00135860_2022_6_39. (in Russian)
- Sakharov V.V., Chertkov A.A., Kask Ya.N. Fundamentals of the modern theory of automatic control with models and algorithms in MATLAB: textbook manual. Moscow; Vologda: Infra-Engineering. 2025. 220 p. (in Russian)

