In the article the problem of an accurately and effectively solving complex electrical circuits was considered. Application of the Kirchhoff’s laws enables us to model such circuits by both differential and algebraic equations. The presented approach is based on the direct shooting method. To preserve the continuity of the state variables and consistency of the initial conditions, in the nonlinear optimization problem the "stretching" function was applied. The presented method can be used to carry out the circuits simulation in a computationally efficient manner.
PL
W artykule poruszono problem dokładnego i skutecznego rozwiązywania złoz˙onych obwodów elektrycznych. Zastosowanie praw Kirchoffa umożliwia modelowanie takich obwodów zarówno przez równania różniczkowe jak i algebraiczne. Zaprezentowane podejście bazuje na bezpośredniej metodzie strzałów. Aby zapewnić ciągłość zmiennych stanu oraz spójne warunki początkowe, w zadaniu programowanie nieliniowego zastosowano funkcję "rozciągającą". Zaprezentowana metoda może być wykorzystana w symulowaniu obwodów w sposób wydajny obliczeniowo.
JavaScript jest wyłączony w Twojej przeglądarce internetowej. Włącz go, a następnie odśwież stronę, aby móc w pełni z niej korzystać.