Keywords

1 Introduction

For many conservative systems as in thermodynamics, mechanics, hydrology, meteorology, electromagnetics is used the variational principle to formulate their quasi-stationary state or equilibrium regime in energy and power parameters [1,2,3]. In this respect specific power and energy functionals are defined and numerical methods are used to find their extremum points.

For example in the classical mechanics two categories of principle are employed: differential principles and variational (integral) principles [4]. First one as well as d’Alembert and Gauss principles inspect the mechanical parameters at a given time, whilst the variational principle like Maupertuis and Hamilton principles examine the mechanical parameters within a finite time interval and space in order to determine the parameters values that achieve particular integrals stationary.

In the classical thermodynamics specific thermodynamic potential are defined in order to analyze the equilibrium state and to measure the properties of materials [5, 6]. Pressure, temperature, volume and entropy are the thermodynamic parameters that can be studied using the thermodynamic potentials. If the entropy and volume of a closed system are kept constant, then the internal energy decreases to its minimum value at steady-state. Such being the case the second principle of thermodynamics is defined as the minimum energy principle.

In the case of intricate Earth system processes as hydrology, meteorology, global climate, the principles of minimum and maximum entropy production have been formulated to analyze the planetary energy balance [7, 8]. For linear system with permanent boundary conditions and which has several degrees of freedom (DOF) the minimum entropy principle is applied, to analyze the cases in which the disturbances of the system are far from its equilibrium state. Instead for non-linear systems with several degrees of freedom the maximum entropy principle is applied. In this case, many steady states can take place, and it is feasible to choose one of the steady state with maximum entropy production.

In the electromagnetic theory, if it is consider a domain Ω where exists electromagnetic field its energy can be turn into mechanical work, heat or other forms of energy. This energy is, on the one hand, transformed into other forms of energy, and the rest can leave the domain through its boundary. The energy conversion from the electromagnetic form in other forms of energy and vice versa is established at every point in domain by the conduction process law [9, 10]:

$${\text{p}}_{{\text{J}}} = {\mathbf{E}} \cdot {\mathbf{J}}$$
(1)

where pJ(r,t) represents the volume density of the instantaneous electromagnetic power a scalar function of position and time, E and J are the vector of electric field strength respectively of electric conduction current density. In the domain Ω the following equality between energies is true:

$$\int\limits_{\Omega } {{\mathbf{E}} \cdot {\mathbf{J}}} dvdt + dW_{em} + P_{\partial \Omega } dt = 0$$
(2)

where dWemis the variation of the electromagnetic field energy, and PδΩdt is the energy transferred through the domain boundary. In the time interval dt, relation (2) yields:

$$- \int\limits_{\Omega } {{\mathbf{E}} \cdot {\mathbf{J}}} dv = \frac{{dW_{em} }}{dt} + P_{\partial \Omega }$$
(3)

The theorem of electromagnetic energy based on Maxwell’s equations and relation (3) demonstrates the following relations [11]:

$$W_{em} = \int\limits_{\Omega } {\frac{{{\mathbf{D}}^{2} }}{2\varepsilon }} dv + \int\limits_{\Omega } {\frac{{{\mathbf{B}}^{2} }}{2\mu }} dv = W_{e} + W_{m}$$
(4)
$$W_{e} = \int\limits_{\Omega } {\frac{{{\mathbf{D}}^{2} }}{2\varepsilon }} dv = \int\limits_{\Omega } {\frac{{{\mathbf{DE}}}}{2}} dv = \int\limits_{\Omega } {\frac{{\varepsilon {\mathbf{E}}^{2} }}{2}} dv$$
(5)
$$W_{m} = \int\limits_{\Omega } {\frac{{{\mathbf{B}}^{2} }}{2\mu }} dv = \int\limits_{\Omega } {\frac{{{\mathbf{BH}}}}{2\mu }} dv = \int\limits_{\Omega } {\frac{{\mu {\mathbf{H}}^{2} }}{2}} dv$$
(6)

where Wm and We represents the magnetic respectively electric energy as component of the electromagnetic field energy, D and B represents the vectors of electric respectively magnetic flux density, ε and μ represents the absolute permittivity respectively permeability of the medium. Another conclusion of the above mentioned theorem states that the electromagnetic power transferred to the surroundings through domain boundary is given by:

$$P_{\partial \Omega } = \oint\limits_{\Omega } {({\mathbf{E}} \times {\mathbf{H}})ndS = } \oint\limits_{\Omega } {{\mathbf{S}}ndS}$$
(7)

where the vector S = E x H is named the Poynting vector.

In previous works, the authors have chosen the potentials of nodes as variables whereas utilizing the matrix equation of the circuits. Further by imposing the minimization conditions of the power functionals is obtained the Kirchhoff Current Law (KCL).

In the second section, advanced numerical analysis is proposed to find the extreme point of power or energy functionals for electric and magnetic circuits in the quasi-stationary state. Lagrange multipliers and the variational method in Hilbert space have demonstrated the existence of the minimum of the functionals. The third section of this chapter discusses the power flow in equilibrium conditions when the DC and AC circuit consumes minimum power, considering all classical powers (active and reactive).

Several examples implemented in PSPICE prove the theoretical principles of minimum consumed power statute in the previous section. It also shows that the transient regime of an electric circuit represents its passage between two quasi-stationary states with minimum power consumption and the co-existence of the fundamental theorem of maximum power transfer and the principles of minimum consumed power.

Based on the equivalence between the linear magnetic and electric networks, in section four, the minimum principle of consumed energy for magnetic circuits in the cvasi-stationary state is presented. Several examples prove the theoretical principle formulates by authors and put in evidence the applicability of this principle to the calculation of the energy and forces in electromagnetic types of equipment.

In conclusion, theoretically it can be stated that the proposed principles together with the Kirchhoff Voltage Law (KVL) determine an equivalent equations system to the classical one consisting of the KCL and KVL equations for DC and AC circuits. An analogous statement can also be concluded for the magnetic circuits in the cvasi-stationary state. On the other hand, from a practical point of view, the principles of minimum consumed power are very useful for the understanding of the power and energy flow in electromagnetic systems.

The chapter ends with a broad up-to-date list of references.

2 Advanced Numerical Analysis Applied to Determination of Power and Energy Functionals Extreme

2.1 Variational Method

In the classical analysis of electromagnetic field the variational equivalent formulation in the Hilbert space is used. Starting from a differential mathematical model the variational method establish a set of differential equations of the model complying with the cvasi-stationary conditions as indicated in Chap. 1 of Part I of this book.

Generally speaking the functional associated of the phenomenon depict by the scalar parameter V(x, y, z) is defined as [12]

$$\Im = \iiint\limits_{\Omega } {f\left(x,y,z,V,\frac{\partial V}{{\partial x}},\frac{\partial V}{{\partial y}},\frac{\partial V}{{\partial z}}\right)dxdydz + \iint\limits_{\Sigma } {g(x,y,z)dS}}$$
(8)

where f is a function specified by the know differential model of the phenomenon, ∂V/∂x, ∂V/∂y and ∂V/∂z are the partial derivatives of the state quantity and g is a determined function on the boundary Σ of the domain \(\Omega\). The main idea of the variational method associated to a phenomenon take into consideration the minimization of the expression (7) admitting that the differential equations of the model are verifying by the state parameters and its limit conditions.

For example in case of one-dimensional problem (1-D), the state parameter V depends only one coordinate, is defined in the domain [x1, x2] and satisfies the limit conditions V(x1) = V1, V(x2) = V2, and the second integral of the relation (8) doesn’t exist, then the functional associated of the phenomenon is expressed as:

$$\Im = \int\limits_{\Omega } {f(x,V,\frac{dV}{{dx}})dx}$$
(9)

If it is consider \(\tilde{V}(x)\) the approximate solution and is noted with δV(x) the infinitesimal variation of the exact solution δV(x) then the relation is true:

$$\tilde{V}(x) = V(x) + \delta V(x)$$
(10)

By imposed the stationarity condition and the minimum value of the functional (9) it is obtained for the functional variation δ \(\Im\) the relation:

$$\begin{aligned}\delta \Im & = \int\limits_{{x_{1} }}^{{x_{2} }} {\delta f \cdot dx = } \int\limits_{{x_{1} }}^{{x_{2} }} {\left(\frac{\partial f}{{\partial x}}\delta x + \frac{\partial f}{{\partial V}}\delta V + \frac{\partial f}{{\partial V^{\prime } }}\delta V^{\prime } \right)dx } \\& = \int\limits_{{x_{1} }}^{{x_{2} }} {\left(\frac{\partial f}{{\partial V}}\delta V + \frac{\partial f}{{\partial V^{\prime } }}\delta V^{\prime } \right)dx = } 0 \end{aligned}$$
(11)

where \(V^{\prime } = \frac{dV}{{dx}}\) represents the derivative of V. Due to for the variation δf for a given value of the variable x in relation (10) is δx = 0, and then by using the parts integrating the last term of relation (11), results:

$$\begin{aligned}&\int\limits_{{x_{1} }}^{{x_{2} }} {\frac{\partial f}{{\partial V^{\prime } }}\delta V^{\prime } dx = } \int\limits_{{x_{1} }}^{{x_{2} }} {\frac{\partial f}{{\partial V^{\prime } }}\delta \left(\frac{dV}{{dx}}\right)dx = } \int\limits_{{x_{1} }}^{{x_{2} }} {\frac{\partial f}{{\partial V^{\prime } }}\frac{d}{dx}(\partial V)dx = \left[ {\frac{\partial f}{{\partial V^{\prime } }}\delta V} \right]}_{{x_{1} }}^{{x_{2} }} \\ & \qquad - \int\limits_{{x_{1} }}^{{x_{2} }} {\frac{d}{dx}\left(\frac{\partial f}{{\partial V^{\prime } }}\right)dx}\end{aligned}$$
(12)

The expression (11) becomes:

$$\delta \Im = \int\limits_{{x_{1} }}^{{x_{2} }} {\left[ {\frac{\partial f}{{\partial V}} - \frac{d}{dx}\left( {\frac{\partial f}{{\partial V}}} \right)} \right]\delta Vdx + } \left[ {\frac{\partial f}{{\partial V^{\prime } }}\delta V} \right]_{{x_{1} }}^{{x_{2} }} = 0$$
(13)

Considering the variation δV as an arbitrary one, than each term of relation (13) must be null, so:

$$\frac{\partial f}{{\partial V}} - \frac{d}{dx}\left( {\frac{\partial f}{{\partial V}}} \right) = 0$$
(14)

and

$$\left[ {\frac{\partial f}{{\partial V^{\prime } }}\delta V} \right]_{{x_{1} }}^{{x_{2} }} = 0$$
(15)

If the values of the state parameter V(x) at the two limits x1 and x2 of the domain are defined or, in other words, the Dirichlet conditions (forced limit conditions) are accomplished i.e.

$$\delta V(x_{1} ) = 0\,{\text{and}}\,\delta V(x_{2} ) = 0$$
(16)

and then relation (15) is fulfilled. Otherwise in case of the state parameter doesn’t satisfy Dirichlet forced limit conditions, then the following condition, named natural limit conditions, must be satisfied [13]:

$$\left[ {\frac{\partial f}{{\partial V^{\prime } }}} \right]_{{{\text{x}}_{1} }}^{{}} = \left[ {\frac{\partial f}{{\partial V^{\prime } }}} \right]_{{{\text{x}}_{2} }}^{{}} = 0$$
(17)

The relation (15) is achieved also in the case in which the differential model implies at the two limits different conditions, namely at one natural limit condition and at the other one forced limit condition.

In the classical theory of the electromagnetic field the following functional of associated to the domain Ω and the volume bounded is defined as:

$$\Im = \int\limits_{\Omega } {\bigg[\bigg(\int\limits_{0}^{{\text{E}}} {{\mathbf{D}} \cdot {\mathbf{E}} - } \int\limits_{0}^{{\text{B}}} {{\mathbf{H}} \cdot {\mathbf{B}}) + ({\mathbf{J}} \cdot {\mathbf{A}} - \rho_{v} V\bigg)\bigg]dxdydz} }$$
(18)

where A is the magnetic potential vector \(\nabla \times {\mathbf{A}} = {\mathbf{B}}\) and V is the electric potential \({\mathbf{E}} = - \nabla V\). The minimization of the functional (18) implies the Maxwell’s equations of the electromagnetic field, the physical properties of media, and the uniqueness conditions of the solution.

Thus the functional associated of the one-dimensional (1-D) electrostatic field is defined as:

$$\Im (V) = \int\limits_{\Omega } {\frac{\varepsilon }{2}\left[ {\left( {\frac{\partial V}{{\partial x}}} \right)^{2} - \rho_{v} V} \right]dx}$$
(19)

The cvasi-stationary electric field the associated functional is defined as

$$\Im (V) = \int\limits_{\Omega } {\frac{\sigma }{2}\left[ {\left( {\frac{\partial V}{{\partial x}}} \right)^{2} } \right]dx}$$
(20)

and the particular set of Maxwell ‘s equations available for linear, isotropic and homogenous media is

$$\nabla \times {\mathbf{E}} = 0$$
(21)
$$\nabla \cdot {\mathbf{J}} = 0$$
(22)
$${\mathbf{J}} = \sigma {\mathbf{E}}$$
(23)

where \(\sigma\) is the conductivity of the conductors.

The cvasi-stationary magnetic field is governed by the particular set of Maxwell’s equations

$$\nabla \times {\mathbf{H}} = {\mathbf{J}}$$
(24)
$$\nabla \cdot {\mathbf{B}} = 0$$
(25)
$${\mathbf{B}} = \mu {\mathbf{H}}$$
(26)

and is admit the associated functional

$$\Im (\Phi ) = \int\limits_{\Omega } {\frac{\mu }{2}\left[ {\left( {\frac{\partial \Phi }{{\partial x}}} \right)^{2} } \right]dx}$$
(27)

where \(\Phi\) is the magnetic flux.

The functionals defined above (19), and (20), respectively (27) represent the power functionals for linear electric circuits, respectively energetic functional for linear magnetic circuits in cvasi-stationary state. In all these variational methods the electric and magnetic potentials of nodes are considered as variables in the algorithm of functionals minimization as will be further described in the following sections.

2.2 Lagrange’s Method

Also the Lagrange method could be used in order to find the minimum or maximum of the function that defines the electric power and magnetic energy viewed from the perspective of an “objective-function” [14, 15]. If it is considered the objective-function

$$f{(}x{,}y{):}U \to \Re ,U \subset \Re^{2n}$$
(27)

of class \(C^{1}\) and if it is assume that, between the scalars \(x = {(}x_{1} {,}x_{2} {,}\ldots {,}x_{n} {),}\) and \(y = {(}y_{{1}} {,}y_{{2}} {,}\ldots {,}y_{{\text{n}}} {)}\), exist m links

$$g_{1} {(}x{,}y{)} = 0{,}\ldots {,}g_{m} {(}x{,}y{)} = 0,g_{i} :U \to \Re ,1 \le i \le m$$
(28)

then in order to compute the minimum or maximum points \(M{(}x_{0} ,y_{0} {)}\) of function f the numerical method of Lagrange multipliers can be applied. Thereby the following function is defined

$$F = f{(}x{,}y{)} + \sum\limits_{i = 1}^{m} {\lambda_{i} g_{i} {(}x{,}y{)}}$$
(29)

where \(\lambda_{1} {,}\lambda_{2} {,}\ldots {,}\lambda_{m}\) are introduced as the Lagrange multipliers. In these conditions the extreme points \(M{(}x_{0} {,}y_{0} {)}\) of function f represent the solutions of the non-linear system

$$\frac{\partial F}{{\partial x_{j} }} = 0,\frac{\partial F}{{\partial y_{k} }} = 0,g_{i} = 0,1 \le j,k \le n,1 \le i \le m$$
(30)

where the total number of unknown \(x,y,\lambda\) is 2n + m. The sign of the square value (second order derivative)\(\left. {d^{2} f} \right|_{M}\) decides the maximum or minimum nature of the extreme points \(M(x_{0} ,y_{0} )\). Practically a numerical procedure of the eigenvalues computation of f associate Hessian matrix i.e.

$$H = \left[ {\frac{{\partial^{2} f}}{{\partial x_{j} \partial y_{k} }}{(}x_{0} {,}y_{0} {)}} \right]_{{1 \le j,k \le n_{{}} }}$$
(31)

yield information about the sign of square values: if the all the eigenvalues of Hessian matrix are positive or negative then the square value is positively or negatively defined, and implicitly the function \(f\) has a minimum or maximum at the point \(M{(}x_{o,} y_{o} {)}\). Because the matrix \(H\) is symmetrical, thus is has only real eigenvalues, consequently a critical point \(M{(}x_{o,} y_{o} {)}\) it can’t be a local extreme point for function \(f\).

Let us examine a DC circuit (stationary state), with N nodes and L branches. For nR variables (resistances), the consumed power (the objective function) \(f{(}R{,}I{)}:\Re^{{2n_{R} }} \to \Re^{ + } {,}\) is defined as

$$f{(}R{,}I{)} = \sum\limits_{i = 1}^{{n_{R} }} {R_{i} I_{i}^{2} } \,$$
(32)

where the resistances and the currents of branches \(R = {(}R_{1} {,}R_{2} {,}\ldots {,}R_{{n_{R} }} {), }I = {(}I_{1} {,}I_{2} {,}\ldots {,}I_{{n_{R} }} {)}\) are scalars and verify L Kirchhoff’s current and voltage complete set of relations (links)

$$\begin{aligned} & g_{1} = \sum\limits_{{l_{k} \in N_{1} }} {I_{k} = 0,\ldots ,} \, g_{N - 1} = \sum\limits_{{l_{k} \in N_{N - 1} }} {I_{k} = 0,\ldots ,} \, \\ & g_{N} = \sum\limits_{{l_{k} \in B_{1} }} {R_{k} I_{k} - E_{k} = 0,\ldots , \, } g_{L} = \sum\limits_{{l_{k} \in B_{L - N + 1} }} {R_{k} I_{k} - E_{k} = 0} \\ \end{aligned}$$
(33)

There \({\text{g}}_{{\text{j}}} :\Re^{{2n_{R} }} \to \Re ,{\text{ j}} = {1,}..{\text{,L}}\), and BL-N+1 = L-N + 1 are the independent loops of the circuit. In these assumptions it defines the function

$$F = f{(}R{,}I{)} + \sum\limits_{j = 1}^{L} {\lambda_{j} g_{j} {(}R{,}I{)}} = \sum\limits_{i = 1}^{{n_{R} }} {R_{i} I_{i}^{2} } + \sum\limits_{j = 1}^{L} {\lambda_{j} g_{j} {(}R{,}I{)}} \,$$
(34)

where \(\lambda_{1} ,\lambda_{2} ,\ldots ,\lambda_{L}\) are the unknown Lagrange’s multipliers. The unique solution of the nonlinear system with 2nR + L unknown

$$\frac{\partial F}{{\partial R_{i} }} = 0, \, \frac{\partial F}{{\partial I_{i} }} = 0,{\text{ g}}_{{\text{j}}} = {0, }i = {1,}\ldots {,}n_{{\text{R}}} {; }j = {1,}\ldots {,}L$$
(35)

coincides with an extreme point \(M{(}x_{o,} y_{o} {)}\) of consumed power function (32) if the eigenvalues of the Hessian matrix are, in this point, real values and the same sign. If the sign is positively f has a maximum, otherwise the function \(f\) has a minimum.

This numerical procedure to determine the extreme point of function f is rather difficult because requires a lot of computing time and occupies a large memory space. This statement is explained by the fact that the method needs to calculate the m differentials of links relations, to solve a large nonlinear system, and to determine the square value of function \(f.\)

3 Equilibrium State of DC and AC Circuits and Minimum Power Flow. Examples

In classical theory of electric circuits of “content and co-content”, the Hilbert space properties for solving the electromagnetic field and the theorem of the minimum power in the resistances for DC circuits are introduced [16,17,18,19].

Hereinafter the natural connection between the equilibrium state of DC and AC circuits and the minimum power flow is demonstrated in terms of appropriate power functionals defined for each category of circuit and the variational method is applied to examine the extreme point of functionals.

3.1 Principle of Minimum Consumed Power for DC Circuits and Variational Method

For a linear DC circuit that comprises N nodes and K branches, with general structure shown in Fig. 1, the K-dimensional vectors in \(\Re^{K}\) of branch voltages Δv and currents i, the voltages at the resistances terminals u, and respectively the voltage sources e are defined as [20, 21].

$$\Delta {\mathbf{v}} = \left[ \begin{gathered} \Delta V_{1} \hfill \\ \Delta V_{2} \hfill \\ . \hfill \\ . \hfill \\ \Delta V_{K} \hfill \\ \end{gathered} \right]{; }{\mathbf{i}} = \left[ \begin{gathered} I_{1} \hfill \\ I_{2} \hfill \\ . \hfill \\ . \hfill \\ I_{K} \hfill \\ \end{gathered} \right]{ ; }{\mathbf{u}} = \left[ \begin{gathered} U_{1} \hfill \\ U_{2} \hfill \\ . \hfill \\ . \hfill \\ U_{K} \hfill \\ \end{gathered} \right]{ ; }{\mathbf{e}} = \left[ \begin{gathered} {\text{E}}_{1} \hfill \\ {\text{E}}_{2} \hfill \\ . \hfill \\ . \hfill \\ {\text{E}}_{K} \hfill \\ \end{gathered} \right] \,$$
(36)
Fig. 1
figure 1

General structure of a DC circuit branch

The matrix relation

$$\Delta {\text{v}} = {\text{C}} \cdot {\text{V}}$$
(37)

represents for k-branch the relation \(\Delta V_{k} = V_{i} - V_{j}\), where Vi and Vj are the potentials of nodes i and j where the branch k is connected, \({\text{V}} = \left[ \begin{gathered} V_{1} \hfill \\ V_{2} \hfill \\ . \hfill \\ . \hfill \\ V_{N - 1} \hfill \\ \end{gathered} \right]\) is the reduced N-1, vector of the nodes’ potential (there an arbitrary node is chosen with zero potential VN = 0), and C = [cl,n] is the reduced K x (N-1) branch-to-node incidence matrix. According to KVL it is obtain

$${\text{i }} = {\mathbf{G}}{\text{u}} = {\mathbf{G}}(\Delta {\text{ v}} + {\text{ e)}} = {\mathbf{G}}({\text{CV}} + {\text{ e)}}$$
(38)

where \({\mathbf{G}} = diag\left( {G_{1} ,G_{2} ,\ldots ,G_{K} } \right)\) is the branch conductance K x K- dimensional diagonal matrix. In the Hilbert space the power functional \(\Im ({\text{V}}):\Re^{N - 1} \to \Re\) is defined, by considering as variables N-1 potentials of nodes, as

$$\Im ({\mathbf{V}}) = {\mathbf{u}}^{{\text{T}}} {\mathbf{i}} = P_{cons}$$
(39)

where the superindex T indicates the transposition. As is presented in Fig. 1 the same reference sense of the branch current and voltage the power functional (39) is equivalent with the definition of power consumed (Pcons) by all the resistances of the DC circuit. Taking into account relations (37) and (38) the power functional (39) can be expressed as

$$\begin{aligned} & \Im ({\mathbf{V}}) = {\mathbf{u}}^{{\text{T}}} {\mathbf{i}} = {(}\Delta {\mathbf{v}} + {\mathbf{e}}{)}^{{\text{T}}} {\mathbf{G}}{(}\Delta {\mathbf{v}} + {\mathbf{e}}{)} = {(}{\mathbf{CV}} + {\mathbf{e}}{)}^{{\text{T}}} {\mathbf{G}}{(}{\mathbf{CV}} + {\mathbf{e}}{)} \\ & = \sum\limits_{\begin{subarray}{l} k = 1,K \\ i,j = 1,N - 1 \\ i \ne j \end{subarray} } {{G}_{k} {(}V_{k,i} - V_{k,j} + {E}_{k} {)}^{2} } \\ \end{aligned}$$
(40)

From relation (40) results that always power functional is a quadratic form i.e.\(\Im {\text{(V)}}\rangle 0\) and, consequently in the interval \({(}0,\infty {)}\), \(\Im {\text{(V)}}\) has a minimum. Afterwards this minimum point corresponds to the solution of the system \(\partial\)\(\Im\)/\(\partial\) V = 0. The first power functional derivative dependent on potential Vi can be written as

$$\frac{\partial \Im }{{\partial V_{i} }} = \frac{\partial }{{\partial V_{i} }}{(}{\mathbf{CV}} + {\mathbf{e}}{)}^{{\text{T}}} {\mathbf{G}}{(}{\mathbf{CV}} + {\mathbf{e}}{)} = 2\sum\limits_{{{l}_{{k}} \in n{}_{i}}} {c_{{l_{k} ,n_{i} }} {G}_{{k}} {(}} V_{i} - V_{j} + {E}_{{k}} {)} = {0}$$
(41)

where k = 1, …, K, i, j = 1, …,N-1, i ≠ j. The last equality in relation (41) represents even the formula of the nodal method (NM) expressed in node ni

$$\sum\limits_{{{l}_{{k}} \in n{}_{i}}} {c_{{l_{k} ,n_{i} }} {G}_{{k}} {(}} V_{i} - V_{j} + {E}_{{k}} {)} = {0}$$
(42)

and, by using (38), we’ll get

$$\sum\limits_{{{l}_{{k}} \in n_{i} }} {c_{{l_{k} ,n_{i} }} } I_{{k}} = 0,i = 1,\ldots,N - 1$$
(43)

that means even KCL for N-1 nodes of the circuit.

As a conclusion of the functional defined by (39) and from results obtained in (42) and (43) the Principle of Minimum Consumed Power for DC Circuits (PMP) can be stated in two equivalent forms: “In resistive DC circuits the condition of minimum consumed power in the resistances is consistent with the NM and KCL” or “In resistive DC circuit the branch currents and voltages have unique values such that the consumed power in all the resistances of the circuit is minimum” [22].

Example 1

For the DC circuit presented in Fig. 2, with K = 3, and N = 2, the structure is defined by the values \(R_{1} = 10\,\Omega ,R_{2} = 20\,\Omega ,R_{3} = 50\,\Omega ,E_{1} = 40\,{V }\) and E3 = 20 V. The vectors of currents and voltages at the resistance terminals expressed in dependence with the potentials V1 and V2 of the nodes are written as.

Fig. 2
figure 2

DC circuit with three branches and two nodes

\({\mathbf{i}} = \left[ \begin{gathered} I_{1} \hfill \\ I_{2} \hfill \\ I_{3} \hfill \\ \end{gathered} \right]\); \({\text{u}} = \left[ {\begin{array}{*{20}l} {{\text{V}}_{2} - {\text{V}}_{1} + {\text{E}}_{1} } \\ {{\text{V}}_{1} - {\text{V}}_{2} } \\ {{\text{V}}_{1} - {\text{V}}_{2} + {\text{E}}_{1} } \\ \end{array} } \right]\); \({\mathbf{v}} = \left[ \begin{gathered} V_{1} \hfill \\ V_{2} \hfill \\ \end{gathered} \right].\) For this DC circuit the branch-to-node incidence matrix is \({\text{C}} = \left[ \begin{gathered} - 1 \, 1 \, 1 \hfill \\ 1{ - }1{ - }1 \hfill \\ \end{gathered} \right]\) and the power functional (power consumed by resistances) constructed according to (40), is \(\Im ({\text{V}}_{1} ,{\text{V}}_{2} ) = {\text{P}}_{{{\text{cons}}}} ({\text{V}}_{1} ,{\text{V}}_{2} ) = {\text{G}}_{1} \left( {{\text{V}}_{2} - {\text{V}}_{1} + {\text{E}}_{1} } \right)^{2} + {\text{G}}_{2} \left( {{\text{V}}_{1} - {\text{V}}_{2} } \right)^{2} + {\text{G}}_{3} \left( {{\text{V}}_{1} - {\text{V}}_{2} - {\text{E}}_{3} } \right)^{2}\). By imposed the minimum of power functional results \(\frac{\partial \Im }{{\partial {\mathbf{v}}}} = {\text{C}}\,{\mathbf{i}} = 0\) and thus imply KCL at each node n1 and n2:

\(\frac{\partial \Im }{{\partial V_{1} }} =\)G1(V2V1 + E1) + G2(V1V2) + G3(V1V2E3) = 0, involve KCL in n1: −I1 + I2 + I3 = 0;

\(\frac{\partial \Im }{{\partial V_{2} }} =\) G1(V2V1 + E1)−G2(V1V2)-G3(V1-V2-E3) = 0, involve KCL in n2: I1I2I3 = 0.

Using the MAPLE software are obtained numerical values: V1 = 21.1765 V, V2 = 0.0 V and \(\Im_{{{\text{min}}}} = P_{{cons,{\text{min}}}} = 91.7647{\text{ W}}\)[23]. The 2-D dependence of power functionals of potentials of nodes is illustrated in Fig. 3. It is observe that the minimum point is (21.1765 V; 0.0 V; 91.7647 W).

Fig. 3
figure 3

2-D dependence of power functionals

For this DC circuit, a SCAP - Symbolic Circuit Analysis Program and MAPLE programs can be used to demonstrate that the functioning point of each resistance of the circuit does not represent the maximum absorbed power point [24, 25]. Based on the Thèvenin’s theorem, the variations of the absorbed powers in each resistances of the circuit \(P_{1} ,P_{2} ,P_{3}\) depending on the currents \(I_{1} ,I_{2} ,I_{3}\) are calculated. The steps of the SCAP algorithm are the following:

(i) Calculation of branch currents (I1, I2, I3) and voltages (Ub1, Ub2, Ub3), respectively the voltages at the resistances terminals in full symbolic form are:

$$\begin{aligned} & {\text{I1 = }}\frac{{{\text{E3}}\;{\text{R2 + E1}}\;{\text{R3 + E1}}\;{\text{R2}}}}{{{\text{R3}}\;{\text{R2 + R1}}\;{\text{R3 + R1}}\;{\text{R2}}}}\;\;{\text{I2}}:{ = }\frac{{{\text{E1}}\;{\text{R3}} - 1{\text{.E3}}\;{\text{R1}}}}{{{\text{R3}}\;{\text{R2 + R1}}\;{\text{R3 + R1}}\;{\text{R2}}}} \\ & {\text{I3 = }}\frac{{{\text{E1}}\;{\text{R2 + E3}}\;{\text{R2 + E3}}\;{\text{R1}}}}{{{\text{R3}}\;{\text{R2 + R1}}\;{\text{R3 + R1}}\;{\text{R2}}}} \\ & {\text{Ub1 = }}\frac{{{1}{\text{.}}({\text{E1}}\;{\text{R3 - 1}}{\text{.E3}}\;{\text{R1}}){\text{R2}}}}{{{\text{R3}}\;{\text{R2 + R1}}\;{\text{R3 + R1}}\;{\text{R2}}}}\;\;{\text{Ub2}}:{ = }\frac{{{1}{\text{.}}({\text{E1}}\;{\text{R3 - 1}}{\text{.E3}}\;{\text{R1}})R2}}{{{\text{R3}}\;{\text{R2 + R1}}\;{\text{R3 + R1}}\;{\text{R2}}}} \\ & {\text{Ub3 = }}\frac{{({\text{E1}}\;{\text{R3 + 1}}{\text{.E3}}\;{\text{R1}}){\text{R2}}}}{{{\text{R3}}\;{\text{R2 + R1}}\;{\text{R3 + R1}}\;{\text{R2}}}} \\ & {\text{UR1 = }}\frac{{{\text{R1}}({\text{E3}}\;{\text{R2 + E1}}\;{\text{R3}} + {\text{E}}1\;{\text{R2}})}}{{{\text{R3}}\;{\text{R2 + R1}}\;{\text{R3 + R1}}\;{\text{R2}}}}\;\;{\text{UR2}}:{ = }\frac{{({\text{E1}}\;{\text{R3 - 1}}{\text{.E3}}\;{\text{R1}})R2}}{{{\text{R3}}\;{\text{R2 + R1}}\;{\text{R3 + R1}}\;{\text{R2}}}} \\ & {\text{UR3 = }}\frac{{{\text{R3}}({\text{E1}}\;{\text{R2 + E3}}\;{\text{R2 + E3}}\;{\text{R2}})}}{{{\text{R3}}\;{\text{R2 + R1}}\;{\text{R3 + R1}}\;{\text{R2}}}} \\ \end{aligned}$$

(ii) Calculation of open voltages URk0, k = 1, 2, 3 are computed by using the relation \(U_{Rk0} = \mathop {\mathop {{\text{lim}}}\limits_{{R_{k} \to \infty }} \, \left( {U_{Rk} } \right)}\limits_{{}}\) and it results:

$$\begin{aligned} & {\text{UR10 = }}\frac{{{\text{E3}}\;{\text{R2 + E1}}\;{\text{R3 + E1}}\;{\text{R2}}}}{{{\text{R3}}\;{\text{R2}}}}\;\;{\text{UR20}}:{ = }\frac{{{\text{E1}}\;{\text{R3}} - 1{\text{.E3}}\;{\text{R1}}}}{{{\text{R3}}\;{\text{R1}}}} \\ & {\text{UR30 = }}\frac{{{\text{E1}}\;{\text{R2 + E3}}\;{\text{R2 + E3}}\;{\text{R1}}}}{{{\text{R2}}\;{\text{R1}}}} \\ \end{aligned}$$

(iii) Calculation of short-circuit currents Iksc, k = 1, 2, 3, are computed by formula Iksc = Ik(Rk = 0), and results:

$$\begin{aligned} & {\text{I1sc = }}\frac{{{\text{E3}}\;{\text{R2 + E1}}\;{\text{R3 + E1}}\;{\text{R2}}}}{{{\text{R3}}\;{\text{R2}}}}\;\;{\text{I2sc = }}\frac{{{\text{E1}}\;{\text{R3}} - 1{\text{.E3}}\;{\text{R1}}}}{{{\text{R1}}\;{\text{R3}}}} \\ & {\text{I3sc = }}\frac{{{\text{E1}}\;{\text{R2 + E3}}\;{\text{R2 + E3}}\;{\text{R1}}}}{{{\text{R1}}\;{\text{R2}}}} \\ \end{aligned}$$

(iv) Calculation of equivalent resistance at the nodes of each branch R0_k, k = 1, 2, 3, is calculated as R0_k = URk0/Iksc. Then it is results:

$${\text{R0\_1}}:{\text{ = }}\frac{{{\text{R2}}\;{\text{R3}}}}{{{\text{R3}} + {\text{R2}}}}\;\;{\text{R0\_2}}:{\text{ = }}\frac{{{\text{R1}}\;{\text{R3}}}}{{{\text{R3}} + {\text{R1}}}}{\text{R0\_3}}:{\text{ = }}\frac{{{\text{R2}}\;{\text{R1}}}}{{{\text{R2}} + {\text{R1}}}}$$

(v) Based on the Thèvenin’s theorem the dependence between the consumed powers and the branch currents has the general formula

$$P_{Thev\_k} = (U_{Rk0} - R_{0\_k} I_{k} )I_{k} , k = 1,2,3$$

For for each branch the symbolic expressions are obtained:

$$\begin{aligned} & {\text{PThev\_1}}:{ = }\frac{{({\text{E1}}\;{\text{R2 + E1}}\;{\text{R3 + E3}}\;{\text{R2 - R2}}\;{\text{R3}}\;{\text{I1}}){\text{I1}}}}{{\text{R2 + R3}}} \\ & {\text{PThev\_2}}:{ = }\frac{{({\text{E1}}\;{\text{R3}} - 1.{\text{E3}}\;{\text{R1}} - 1.{\text{R1}}\;{\text{R3}}\;{\text{I1}}){\text{I2}}}}{{\text{R1 + R3}}} \\ & {\text{PThev\_3}}:{ = }\frac{{({\text{E1}}\;{\text{R2 + E3}}\;{\text{R1 + E3}}\;{\text{R2 - R2}}\;{\text{R1}}\;{\text{I3}}){\text{I3}}}}{{\text{R1 + R2}}} \\ \end{aligned}$$

(vi) Used the theorem of maximum power transfer the powers delivered in the three resistors are:

$$\begin{aligned} & {\text{Pmax\_1}}:{ = }\frac{{0.25000000({\text{E1}}\;{\text{R2 + E1}}\;{\text{R3 + E3}}\;{\text{R2}})^{2} }}{{({\text{R2 + R3}}){\text{R2}}\;{\text{R3}}}} \\ & {\text{Pmax\_2}}:{ = }\frac{{0.25000000({\text{E1}}\;{\text{R3}} - 1.{\text{E3}}\;{\text{R1}})^{2} }}{{({\text{R1 + R3}}){\text{R1}}\;{\text{R3}}}} \\ & {\text{Pmax\_3}}:{ = }\frac{{0.25000000({\text{E1}}\;{\text{R2 + E3}}\;{\text{R1 + E3}}\;{\text{R2}})^{2} }}{{({\text{R1 + R2}}){\text{R2}}\;{\text{R1}}}} \\ \end{aligned}$$

(vii) According to the Thévenin theorem the current is calculated as IIk_n = URk0/(R0_k + Rk) and for each branch have the expression:

$$\begin{aligned} & {\text{I1\_n}}:{ = }\frac{{{\text{E1}}\;{\text{R2 + E1}}\;{\text{R3 + E3}}\;{\text{R3}}}}{{{\text{R1}}\;{\text{R2 + R1}}\;{\text{R3 + R2}}\;{\text{R3}}}} \\ & {\text{I2\_n}}:{ = }\frac{{{\text{E1}}\;{\text{R3}} - 1.{\text{E3}}\;{\text{R1}}}}{{{\text{R1}}\;{\text{R2 + R1}}\;{\text{R3 + R2}}\;{\text{R3}}}}\;\;{\text{I3\_n}}:{ = }\frac{{{\text{E1}}\;{\text{R2 + E3}}\;{\text{R1 + E3}}\;{\text{R2}}}}{{{\text{R1}}\;{\text{R2 + R1}}\;{\text{R3 + R2}}\;{\text{R3}}}} \\ \end{aligned}$$

For the above numerical values of circuit’s parameters by using a MAPLE application it results:

I1_n: = 1.883 A

I2_n: = 1.053 A

I3_n: = 0.8253 A

P1_n: = 35.44 W

P2_n: = 22.42 W

P3_n: = 33.90 W

I1sc: 3.2000 A

I2sc: = 3.600 A

I3sc: = 7.000 A

I1_max: 1.600 A

I2_max: 1.800 A

I3_max: 3.500 A

PR_max: 36.78 W

PR_max: 27.01 W

PR_max: 81.66 W

   

The power-current PR(I) characteristics are shown in Figs. 4, 5, and 6. It is remarkable to observe that the real consumed power in each resistance has a value lower than the maximum value.

$$\begin{aligned} & P_{1\_n} = 35.44{\text{ W }} < \, P_{{R1{\text{\_max}}}} = 36.58{\text{ W;}} \\ & P_{2\_n} = 22.42{\text{ W }} < \, P_{{R2{\text{\_max}}}} = 27.01{\text{ W;}} \\ & P_{3\_n} = 33.90{\text{ W }} < \, P_{{R3{\text{\_max}}}} = 81.66{\text{ W}}{.} \\ \end{aligned}$$
Fig. 4
figure 4

The variation of PR1

Fig. 5
figure 5

The variation of PR2

Fig. 6
figure 6

The variation of PR3

By used the ECAP - Electric Circuit Analysis Program software have been obtained the same values of voltage and current branches, and of consumed and generated power. The program is presented below:

Input file ex1_cap24.nln.

3

2

2 1 R1E1 r = 10,0 e = 40,0

1 2 R2 r = 20.0

1 2 R3E3 r = 50.0 e = 20.0

UNKNOWNS V1

EQUATION SYSTEM

 + (+G1 + G2 + G3)*V1 =  + E1*G1-E3*G3

NODE POTENTIALS

V1 = 21.176471 V

V2 = 0 V

BRANCH CURENTS AND VOLTAGES

U1 = -21.176471 VI1 = 1.882353 A

U2 = 21.176471 VI2 = 1.058824 A

U3 = 21.176471 VI3 = 0.823529 A

BALANCE OF THE POWERS

Generated power: = 91.764706 W

Consumed power: = 91.764706 W

3.2 Principle of Minimum Consumed Power for AC Circuits and Variational Method

A linear AC circuit in cvasi-stationary state, which includes N nodes and K branches whose general structure shown in Fig. 7 it contains in its structure passive RLC admittances and voltage sources. By analogy with the relation (36) the same quantities expressed as K-dimensional vectors in complex set CK are described below [26, 27]

$$\Delta \underline{{\mathbf{v}}} = \left[ \begin{gathered} \Delta \underline{V}_{1} \hfill \\ \Delta \underline{V}_{2} \hfill \\ . \hfill \\ . \hfill \\ \Delta \underline{V}_{K} \hfill \\ \end{gathered} \right]{; }\underline{{\mathbf{i}}} = \left[ \begin{gathered} \underline{I}_{1} \hfill \\ \underline{I}_{2} \hfill \\ . \hfill \\ . \hfill \\ \underline{I}_{K} \hfill \\ \end{gathered} \right]{ ; }\underline{{\mathbf{u}}} = \left[ \begin{gathered} \underline{U}_{1} \hfill \\ \underline{U}_{2} \hfill \\ . \hfill \\ . \hfill \\ \underline{U}_{K} \hfill \\ \end{gathered} \right]{ ; }\underline{{\mathbf{e}}} = \left[ \begin{gathered} \underline{{\text{E}}}_{1} \hfill \\ \underline{{\text{E}}}_{2} \hfill \\ . \hfill \\ . \hfill \\ \underline{{\text{E}}}_{K} \hfill \\ \end{gathered} \right] \,$$
(44)
Fig. 7
figure 7

Structure of AC branch

where the k-branch complex voltage is \(\Delta \underline{V}_{k} = \underline{V}_{i} - \underline{V}_{j}\).

Based on the interconnection properties of AC circuits branches the following matrix relations are true

$$\Delta \underline{{\text{v}}} = {\text{C}} \cdot \underline{{\text{V}}}$$
(45)

and KVL

$$\underline{{\text{i}}} \, = \underline{{\text{Y}}} \underline{{\text{u}}} = \underline{{\text{Y}}} (\Delta \underline{{\text{v}}} + \underline{{\text{e}}} {)} = \underline{{\text{Y}}} ({\text{C}}\underline{{\text{V}}} + \underline{{\text{e}}} {)}$$
(46)

where the diagonal admittance matrix \({\mathbf{Y}} = diag\left( {\underline{Y}_{1} {,}\underline{Y}_{2} {,}\ldots {,}\underline{Y} {}_{K}} \right)\), each \(\underline{{\text{Y}}}_{k} = G_{k} - jB_{k}\), k = 1,K. Fort inductive branch the sign of susceptance \({\text{B}}_{k}\) it is considered positive respectively for capacitive branch it is negative. Under these conditions two functionals are defined: the active power \(\Im_{P} :\Re^{2(N - 1)} \to \Re\), and the reactive power \(\Im\) Q\(:\Re^{2(N - 1)} \to \Re\), expressed as

$$\Im_{P} = {\text{Re[}}\underline{{\mathbf{u}}}^{{\text{T}}} \underline{{\mathbf{i}}}^{*} {]} = P_{cons}$$
(47)
$$\Im_{Q} = {\text{Im[}}\underline{{\mathbf{u}}}^{{\text{T}}} \underline{{\mathbf{i}}}^{*} {]} = Q_{cons(gen)}$$
(48)

where the superindex * denotes the conjugate complex operator. Taking into account the reference sense adopted for the AC circuit branch of Fig. 7 and the definition of complex power \(\underline{{\text{S}}} = \underline{{\mathbf{u}}}^{T} \underline{{\mathbf{i}}}^{*} = P + jQ\), then the power functional (47) represents the active power consummated by all the resistances of the circuit, while the power functional (49) represents the reactive power consummated (or generated), by all the reactive elements of the circuit.

Let's suppose that the N-1 potentials of nodes are variables and the voltage sources are constant, and for node i respectively for k-branch are expressed as

$$\underline{V}_{i} = {\text{Re[}}\underline{V}_{i} {]} + j{\text{Im[}}\underline{V}_{i} {]} = x{}_{i} + jy_{i} , \, i = 1,\ldots ,N - 1$$
(49)
$$\underline{{\text{E}}}_{k} = {\text{Re}} [\underline{{\text{E}}}_{k} ] + j{\text{Im}} [\underline{{\text{E}}}_{k} ] = {\text{a}}{}_{k} + j{\text{b}}_{k} , \, k = 1,\ldots ,K$$
(50)

Then the functionals (47) and (48) can be expressed as

$$\begin{aligned} & \Im_{P} {(}x,y{)} = {\text{Re[}}\underline{{\mathbf{u}}}^{{\text{T}}} \underline{{\mathbf{i}}}^{*} {]} = {\text{Re[(}}\Delta \underline{{\mathbf{v}}} + \underline{{\mathbf{e}}} {)}^{{\text{T}}} \underline{{\mathbf{Y}}}^{*} {(}\Delta \underline{{\mathbf{v}}} + \underline{{\mathbf{e}}} {)}^{*} {]} \\ & = {\text{Re[(}}{\mathbf{C}}\underline{{\mathbf{V}}} + \underline{{\mathbf{e}}} {)}^{{\text{T}}} \underline{{\mathbf{Y}}}^{*} {(}{\mathbf{C}}\underline{{\mathbf{V}}} + \underline{{\mathbf{e}}} {)}^{*} {]} \\ & = \sum\limits_{\begin{subarray}{l} k = 1,K \\ i,j = 1,N - 1 \\ i \ne j \end{subarray} } {{G}_{k} {[(}x_{i} - x_{j} + {\text{a}}_{k} {)}^{2} + {(}y_{i} - y_{j} + {\text{b}}_{k} {)}^{{2}} {]}} \\ \end{aligned}$$
(51)
$$\begin{aligned} & \Im_{Q} {(}x,y{)} = {\text{Im[}}\underline{{\mathbf{u}}}^{{\text{T}}} \underline{{\mathbf{i}}}^{*} {]} = {\text{Im[(}}\Delta \underline{{\mathbf{v}}} + \underline{{\mathbf{e}}} {)}^{{\text{T}}} \underline{{\mathbf{Y}}}^{*} {(}\Delta \underline{{\mathbf{v}}} + \underline{{\mathbf{e}}} {)}^{*} {]} \\ & = {\text{Im[(}}{\mathbf{C}}\underline{{\mathbf{V}}} + \underline{{\mathbf{e}}} {)}^{{\text{T}}} \underline{{\mathbf{Y}}}^{*} {(}{\mathbf{C}}\underline{{\mathbf{V}}} + \underline{{\mathbf{e}}} {)}^{*} {]} \\ & = \sum\limits_{\begin{subarray}{l} k = 1,K \\ i,j = 1,N - 1 \\ i \ne j \end{subarray} } {{B}_{k} {[(}x_{i} - x_{j} + {\text{a}}_{k} {)}^{{2}} + {(}y_{i} - y_{j} + {\text{b}}_{k} {)}^{{2}} {]}}. \\ \end{aligned}$$
(52)

From relation (51) results that because always \(G_{k} \rangle 0\), then \(\Im_{P}\) is always strictly positive (quadratic form)\(\Im_{P} (x,y)\rangle 0\). Therefore the active power functional \(\Im_{P}\) has a minimum in the definition set \({(}0,\infty {)}\), and, consequently, the resistances of the circuit consume minimum active power. The minimum point of active power functional is fixed by the fulfillment of the conditions \(\partial\)\(\Im_{P}\)/\(\partial\) xi = 0 and \(\partial\)\(\Im_{P}\)/\(\partial\) yi = 0, for i = 1, … N−1, which can be expressed synthetically in relation to \(\underline{V}_{i}\) in the following form

$$\frac{{\partial \Im_{P} }}{{\partial x_{i} }} = \frac{\partial }{{\partial x_{i} }}{\text{Re[(}}{\mathbf{C}}\underline{{\mathbf{V}}} + \underline{{\mathbf{e}}} {)}^{{\text{T}}} \underline{{\mathbf{Y}}}^{*} {(}{\mathbf{C}}\underline{{\mathbf{V}}} + \underline{{\mathbf{e}}} {)}^{*} {]} = 2\sum\limits_{{{l}_{{k}} \in n{}_{i}}} {c_{{l_{k} ,n_{i} }} {G}_{k} {(}} x_{i} - x_{j} + {\text{a}}_{k} {)} = {0}$$
(53)
$$\frac{{\partial \Im_{P} }}{{\partial y_{i} }} = \frac{\partial }{{\partial y_{i} }}{\text{Re[(}}{\mathbf{C}}\underline{{\mathbf{V}}} + \underline{{\mathbf{e}}} {)}^{{\text{T}}} \underline{{\mathbf{Y}}}^{*} {(}{\mathbf{C}}\underline{{\mathbf{V}}} + \underline{{\mathbf{e}}} {)}^{*} {]} = 2\sum\limits_{{{l}_{{k}} \in n{}_{i}}} {c_{{l_{k} ,n_{i} }} {G}_{k} {(}} y_{i} - y_{j} + {\text{b}}_{k} {)} = {0}$$
(54)

for k = 1, …, K, i, j = 1, …, N−1, i ≠ j, and where clk,ni are the coefficients of reduced branch-to-node incidence matrix.

Afterwards analyzing relation (52) the value of \(\Im\) Q might be: (i) \(\Im\) Q > 0 (\(\Im\) Q is a quadratic form) if all the branches of AC circuit are inductive, then the extreme point of \(\Im\) Q is a minimum, and, consequently, the reactive power consumed is minimum; (ii) \(\Im\) Q < 0 (−\(\Im\) Q is a quadratic form) if all the branches of AC circuit are capacitive. In this case, by multiplication with (−1), the sign of the reactive power functional has changed into a positive and can be formulated as the reactive power produced (generated) has a minimum; (iii) \(\Im\) Q = 0 represents the particular case of resonance condition, in which the AC circuit provides a null contribution to the consumed or generated reactive power.

The first derivative of reactive power functional in terms on real and imaginary part of potential \(\underline{V}_{i}\) can be written as

$$\frac{{\partial \Im_{Q} }}{{\partial x_{i} }} = \frac{\partial }{{\partial x_{i} }}{\text{Im[(}}{\mathbf{C}}\underline{{\mathbf{V}}} + \underline{{\mathbf{e}}} {)}^{{\text{T}}} \underline{{\mathbf{Y}}}^{*} {(}{\mathbf{C}}\underline{{\mathbf{V}}} + \underline{{\mathbf{e}}} {)}^{*} {]} = 2\sum\limits_{{{l}_{{k}} \in n{}_{i}}} {c_{{l_{k} ,n_{i} }} {B}_{k} {(}} x_{i} - x_{j} + {\text{a}}_{k} {)} = {0}$$
(55)
$$\frac{{\partial \Im_{Q} }}{{\partial y_{i} }} = \frac{\partial }{{\partial y_{i} }}{\text{Im[(}}{\mathbf{C}}\underline{{\mathbf{V}}} + \underline{{\mathbf{e}}} {)}^{{\text{T}}} \underline{{\mathbf{Y}}}^{*} {(}{\mathbf{C}}\underline{{\mathbf{V}}} + \underline{{\mathbf{e}}} {)}^{*} {]} = 2\sum\limits_{{{l}_{{k}} \in n{}_{i}}} {c_{{l_{k} ,n_{i} }} {B}_{k} {(}} y_{i} - y_{j} + {\text{b}}_{k} {)} = {0}$$
(56)

for k = 1, …, K, i, j = 1, …, N-1, i ≠ j. The minimum of active and reactive power functionals results from the system of 4(N−1) equations formed by relations (53), (54), (55), and (56) as follows

$$\begin{aligned} & \frac{{\partial \Im_{P} }}{{\partial x_{i} }} = \sum\limits_{{{l}_{{k}} \in n{}_{i}}} {c_{{l_{k} ,n_{i} }} {G}_{k} {(}} x_{i} - x_{j} + {\text{a}}_{k} {)} = {0;}\quad \frac{{\partial \Im_{P} }}{{\partial y_{i} }} = \sum\limits_{{{l}_{{k}} \in n{}_{i}}} {c_{{l_{k} ,n_{i} }} {G}_{k} {(}} y_{i} - y_{j} + {\text{b}}_{k} {)} = {0} \\ & \frac{{\partial \Im_{Q} }}{{\partial x_{i} }} = \sum\limits_{{{l}_{{k}} \in n{}_{i}}} {c_{{l_{k} ,n_{i} }} {B}_{k} {(}} x_{i} - x_{j} + {\text{a}}_{k} {)} = {0;}\quad \frac{{\partial \Im_{Q} }}{{\partial y_{i} }} = \sum\limits_{{{l}_{{k}} \in n{}_{i}}} {c_{{l_{k} ,n_{i} }} {B}_{k} {(}} y_{i} - y_{j} + {\text{b}}_{k} {)} = {0} \\ \end{aligned}$$
(57)

where k = 1, …, K, i, j = 1, …, N−1, and i ≠ j. If in the equations system (57) the relations \(\partial\)\(\Im_{P}\)/\(\partial\) yi = 0 and \(\partial\) \(\Im\) Q/\(\partial\) xi = 0 multiplied by j respectively –j are added up, then results

$$\sum\limits_{{{l}_{{k}} \in n{}_{i}}} {c_{{l_{k} ,n_{i} }} \underline{{Y}}_{k} {(}} \underline{V}_{i} - \underline{V}_{j} + \underline{{E}}_{k} {)} = {0}$$
(58)

that means, for i = 1, …, N−1, the equations of nodal method (NM) for all the N-1 circuit’ nodes. By using (46) relation (58) becomes

$$\sum\limits_{{{l}_{{k}} \in n_{i} }} {c_{{l_{k} ,n_{i} }} } \underline{I}_{k} = 0$$
(59)

that represents the KCL equations.

Consequently, the Principle of Minimum Active and Reactive Power (PMARP) can be stated in two equivalent forms: “In linear AC circuits the conditions of minimum active consumed power and minimum reactive consumed (or produced) power are consistent with the NM and KCL” or “In linear AC circuit the branch currents and voltages have unique values such that the consumed active power and the consumed (or produced) reactive power in all the admittances of the circuit is minimum” [22].

Example 2

For the AC circuit shown in Fig. 8, with K = 3, and N = 4, the branches contain passive linear elements (resistor, capacitor and inductance) and a voltage source. The circuit parameters have the numeric values: E1 = 100.0; R1 = 10.0 Ω; R2 = 20.0 Ω; C2 = 1.0e−04 F; L3 = 2.0e−04 H and ω = 314.0 rad/s. Let be the AC circuit presented in Fig. 8 has K = 3, and N = 4. The real and imaginary parts of potentials of nodes are considered as variables, and can be expressed as V1 = x1 + jy1, V2 = x2 + jy2, respectively V3 = x3 + jy3.

Fig. 8
figure 8

The AC circuit

The branches currents, the admittances’ voltages, and the potential of nodes are described by the vectors:

$$\underline{{\mathbf{I}}} = \left[ {\begin{array}{*{20}c} {\underline{I}_{1} } \\ {\underline{I}_{2} } \\ {\underline{I}_{3} } \\ {\underline{I}_{4} } \\ \end{array} } \right],\underline{{\mathbf{u}}} = \left[ {\begin{array}{*{20}c} {\underline{V}_{2} - \underline{V}_{1} + \underline{E}_{1} } \\ {\underline{V}_{1} - \underline{V}_{2} } \\ {\underline{V}_{1} - \underline{V}_{3} } \\ {\underline{V}_{3} - \underline{V}_{2} } \\ \end{array} } \right];\underline{{\mathbf{V}}} = \left[ {\begin{array}{*{20}c} {x_{1} + jy_{1} } \\ {x_{2} + jy_{2} } \\ {x_{3} + jy_{3} } \\ \end{array} } \right].$$

For this AC circuit the matrices \(C\) and \(\underline{{\mathbf{Y}}}\) are expressed as:

$$C = \left[ {\begin{array}{*{20}c} { - 1} & 1 & 1 & 0 \\ 1 & { - 1} & 0 & { - 1} \\ 0 & 0 & { - 1} & 1 \\ \end{array} } \right],\underline{{\mathbf{Y}}} = \left[ {\begin{array}{*{20}c} {G_{1} } & 0 & 0 & 0 \\ 0 & {j\omega C_{2} } & 0 & 0 \\ 0 & 0 & { - \frac{j}{{\omega L_{3} }}} & 0 \\ 0 & 0 & 0 & 0 \\ \end{array} } \right].$$

By using relations (45) and (46) and assuming that E1 = a + jb, where a, b are real constants, then the complex power functional attached to overall complex consumed power by the passive elements of circuit is defines as

$$\begin{aligned} \underline{\Im }_{S} & = \underline{S}_{cons} = \underline{{\mathbf{u}}}^{T} \cdot \underline{{\mathbf{I}}}^{*} = \frac{1}{{R_{1} }}\left( { - x_{1} + x_{2} + a + j\left( { - y_{1} + y_{2} + b} \right)} \right)^{2} \\ & + j\omega C_{3} \left( {x_{1} - x_{2} + j\left( {y_{1} - y_{2} } \right)} \right)^{2} + \frac{j}{{\omega L_{3} }}\left( {x_{1} - x_{3} + j\left( {y_{1} - y_{3} } \right)} \right)^{2} \\ & + \frac{1}{{R_{3} }}\left( { - x_{2} + x_{3} + j\left( { - y_{2} + y_{3} } \right)} \right)^{2} . \\ \end{aligned}$$

The active power consumed by the resistors is expressed by the functional below:

$$\begin{aligned} Fr: = & - (\omega^{2} C2R1L3R3x1y1 - 2\omega^{2} C2R1L3R3x1y2 - 2C2R1L3R3x2y1 \\ & + 2\omega^{2} C2R1L3R3x2y2 + 2\omega L3R3x2x1 - 2\omega L3R3x2a \\ & + 2\omega L3R3x1a + \omega L3R3y2y1 + 2\omega L3R3y2b - 2\omega L3R3y1b \\ & + 2R1\omega L3x3x2 + 2R1\omega L3y3y2 + \omega L3R3b^{2} - R1\omega L3x3^{2} \\ & - R1\omega L3x2^{2} + R1\omega L3y3^{2} + R1\omega L3y2^{2} - 2R1R3x1y1 + 2R1R3x1y3 \\ & + 2R1R3x3y1 - 2R1R3x3y3 - \omega L3R3x2^{2} - \omega L3R3x1^{2} - \omega L3R3a^{2} \\ & + \omega L3R3y2^{2} + \omega L3R3y1^{2} )/(2R1\omega L3R3) \\ \end{aligned}$$

Afterwards the reactive power consumed (or generated) is expressed by the functional below:

$$\begin{aligned} Fi: = & - (\omega^{2} C2R1L3R3x1^{2} + \omega^{2} C2R1L3R3x2^{2} - \omega^{2} 2C2R1L3R3y1^{2} \\ & - \omega^{2} 2C2R1L3R3y2^{2} - 2\omega^{2} C2R1L3R3x2x2 + 2\omega^{2} C2R1L3R3y2y1 \\ & - 2\omega L3R3ay1 - 2\omega L3R3x1b + \omega L3R3x2b - 2\omega L3R3x1y2 \\ & + 2\omega L3R3x2y2 - 2\omega L3y3x2y1 + 2\omega L3R3ay2 + 2\omega L3R3x1y1 \\ & + 2\omega L3R3ab + 2R1\omega L3x3y3 - 2R1\omega L3x3y2 - 2R1\omega L3x2y3 \\ & + 2R1\omega L3x2y2 + R1R3y3^{2} - R1R3x1^{2} + R1R3y1^{2} - R1R3x3^{2} \\ & + 2R1R3x1x3 - 2R1R3y1y3)/(2R1\omega L3R3) \\ \end{aligned}$$

To determine the minimum points of the active and reactive power functionals the solutions of the system which contains 4 × 3 = 12 equations are computed, and results:

$$\begin{aligned} & \frac{{\partial F_{R} }}{{\partial x_{1} }} = 0, \frac{{\partial F_{R} }}{{\partial y_{1} }} = 0,\frac{{\partial F_{R} }}{{\partial x_{2} }} = 0,\frac{{\partial F_{R} }}{{\partial y_{2} }} = 0, \frac{{\partial F_{R} }}{{\partial x_{3} }} = 0,\frac{{\partial F_{R} }}{{\partial y_{3} }} = 0, \\ & \frac{{\partial F_{i} }}{{\partial x_{1} }} = 0, \frac{{\partial F_{i} }}{{\partial y_{1} }} = 0,\frac{{\partial F_{i} }}{{\partial x_{2} }} = 0, \frac{{\partial F_{i} }}{{\partial y_{2} }} = 0, \frac{{\partial F_{i} }}{{\partial x_{3} }} = 0,\frac{{\partial F_{i} }}{{\partial y_{3} }} = 0 \\ \end{aligned}$$

which, for the numerical values of the AC circuit shown in Fig. 8 have the solution:

$$\begin{aligned} & {\text{Soluation}}: = \\ & {\text{\{x}}1 = 0.021099770,{\text{x}}2 = 63.860285 + {\text{x}}3,{\text{x}}3 = 0.,{\text{y}}1 = 0.10026065 + {\text{y}}3,{\text{y}}2 = 13.439344,{\text{y}}3 = 0.\} \\ \end{aligned}$$

Then: V1_min = 0.0211 + j0.10026 and V2_min = −63.8603 + j13.4393, and for these values of potentials of nodes the minimum active and reactive power are defined as consumed.

4 Equilibrium State of Linear Magnetic and Minimum Energy Flow. Example

The basic strategy of variational method applied to linear electric DC and AC circuits exposed above can be extended to linear magnetic circuit in quasi-stationary state. This is possible because between magnetic and electric circuits exists a well-known analogy, which makes the construction of the functional and the analysis of its minimum to be done in a similar way.

Fig. 9
figure 9

Structure of magnetic branch

For magnetic circuit branch presented in Fig. 9 a magnetic field generator is considered with M turns crossed by the current i. The magnetic voltage \(\Delta u_{m}\) between the terminals i and j can be calculated by using the Ampėre’s theorem [11, 28].

$$\Delta u_{m} = R_{m} \varphi - \theta = \varphi /\Lambda - \theta$$
(60)

where φ is the fascicular flux through circuit branch; Rm = l/μA is the reluctance of the magnetic circuit branch depending on the magnetic material properties: l the length, A the cross section area and μ the permeability of the linear and homogenous medium, then always Rm > 0; Λ = 1/Rm is the permeance defined as the inverse of the reluctance; \(\theta = Mi\) is the magnetomotive force. The relation (60) is also called Kirchhoff’s Magnetic Voltage Law (KMVL) by analogy with KVL. Thereby the analogous magnetic circuit branch defined by Eq. (60) is shown in Fig. 10.

Fig. 10
figure 10

The analogous magnetic circuit branch

Likewise to the matrices defined in the two previous sections for a linear magnetic circuit in cvasi-stationary state with K branches and N nodes, the branch magnetic voltages of branches \(\Delta u_{m} = V_{m,i} - V_{m,j}\) defined as the difference between the magnetic potentials of branches’ nodes, the fascicular fluxes, the magnetic voltages of reluctances, and the magnetomotive forces are defined as K-dimensional vectors in real set [29]

$$\Delta {\mathbf{u}}_{m} = \left[ {\begin{array}{*{20}c} {\Delta u_{m,1} } \\ {\Delta_{m,2} } \\ {\begin{array}{*{20}c} . \\ . \\ \end{array} } \\ {\Delta u_{m,K} } \\ \end{array} } \right];\;\;\varphi = \left[ {\begin{array}{*{20}c} {\varphi_{1} } \\ {\varphi_{2} } \\ {\begin{array}{*{20}c} . \\ . \\ \end{array} } \\ {\varphi_{K} } \\ \end{array} } \right];{\mathbf{u}}_{m} = \left[ {\begin{array}{*{20}c} {u_{m,1} } \\ {u_{m,2} } \\ {\begin{array}{*{20}c} . \\ . \\ \end{array} } \\ {u_{m,K} } \\ \end{array} } \right];{{\varvec{\uptheta}}} = \left[ {\begin{array}{*{20}c} {\theta_{1} } \\ {\theta_{2} } \\ {\begin{array}{*{20}c} . \\ . \\ \end{array} } \\ {\theta_{K} } \\ \end{array} } \right]$$
(61)

By using the matrix C = [cl,n] that is the K x (N−1)-dimensional reduced branch-to-node incidence matrix and if an arbitrary magnetic potential of circuit’s nodes is chosen as null Vm,N = 0, then it can be written that \(\Delta {\mathbf{u}}_{m} = {\mathbf{C}} \cdot {\mathbf{V}}_{m}\), where Vm is the vector of the magnetic potential of circuit nodes, with dimVm = N−1.

The matrix equation expressing dependence between the fascicular fluxes of branches and magnetic potentials of nodes has the following expression

$$\varphi = {{\varvec{\Lambda}}}{\mathbf{u}}_{m} = {{\varvec{\Lambda}}}(\Delta {\mathbf{u}}_{m} + {{\varvec{\uptheta}}}{)} = {{\varvec{\Lambda}}}({\mathbf{CV}}_{m} + {{\varvec{\uptheta}}}{)}$$
(62)

where the branch permeance matrix is \({{\varvec{\Lambda}}} = diag\left( {\Lambda_{1} ,\Lambda_{2} ,\ldots ,\Lambda_{K} } \right)\), Vm is the (N−1)-vector of the magnetic potential of circuit nodes (Vm,N = 0), and Ohm’s Law for magnetic circuits is \(\Delta {\mathbf{u}}_{m} = {\mathbf{C}} \cdot {\mathbf{V}}_{m}\).

The functional \(\Im {(}{\mathbf{V}}_{m} {)}:\Re^{N - 1} \to \Re\) expressed as [30]

$$\Im {(}{\mathbf{V}}_{m} {)} = \frac{1}{2}{\mathbf{u}}_{m}^{{\text{T}}} \varphi$$
(63)

represents the magnetic energy consumed by the reluctances of the magnetic circuit in cvasi-stationary state. If the −1 magnetic potentials of circuit nodes are considered as variables, the energetic functional can be expressed as

$$\Im {(}{\mathbf{V}}_{m} {)} = \frac{1}{2}{\mathbf{u}}_{m}^{{\text{T}}} \varphi = \frac{1}{2}{(}\Delta {\mathbf{u}}_{m} + {{\varvec{\uptheta}}}{)}^{{\text{T}}} {{\varvec{\Lambda}}}{(}\Delta {\mathbf{u}}_{m} + {{\varvec{\uptheta}}}{)} = \frac{1}{2}\sum\limits_{\begin{subarray}{l} k = 1,K \\ i,j = 1,N - 1 \\ i \ne j \end{subarray} } {\Lambda_{k} {(}V_{m,i} - V_{m,j} + \theta_{k} {)}^{2} }$$
(64)

From (64) results that \(\Im ({\mathbf{V}}_{m} )\rangle 0\) (i.e.\(\Im ({\mathbf{V}}_{m} )\) is a quadratic form for any value of the magnetic potentials of the nodes Vm). As consequently the extreme point of the energetic functional \(\Im ({\mathbf{V}}_{m} )\) is obtained by imposing the condition \(\partial\)\(\Im\)/\(\partial\) Vm = 0. It is results

$$\begin{aligned} \frac{\partial \Im }{{\partial V_{m,i} }} & = \frac{\partial }{{\partial V_{m,i} }}\frac{1}{2}{(}{\mathbf{CV}}_{m} + {{\varvec{\uptheta}}}{)}^{{\text{T}}} {{\varvec{\Lambda}}}{(}{\mathbf{CV}}_{m} + {{\varvec{\uptheta}}}) = \frac{\partial }{{\partial V_{m,i} }}\frac{1}{2}\sum\limits_{\begin{subarray}{l} k = 1,K \\ i,j = 1,N - 1 \\ i \ne j \end{subarray} } {\Lambda_{k} {(}V_{m,i} - V_{m,j} + \theta_{k} {)}^{2} } \\ & = \sum\limits_{{{l}_{{k}} \in n{}_{i}}} {c_{{l_{k} ,n_{i} }} \Lambda_{k} {(}V_{m,i} - V_{m,j} + \theta_{k} {)}} = {0} \\ \end{aligned}$$
(65)

where k = 1, …, K, i, j = 1, …, N−1, i ≠ j, and Vm,N = 0. The last equality of (65) represents exactly the equations of NM for magnetic circuit’s i.e.

$$\sum\limits_{{{l}_{{k}} \in n{}_{i}}} {c_{{l_{k} ,n_{i} }} \Lambda_{k} {(}V_{m,i} - V_{m,j} + \theta_{k} {)}} = {0}$$
(66)

Similarly to the electric circuits, if it is rewrite (66) by using (62), we’ll get

$$\sum\limits_{{{l}_{{k}} \in n_{i} }} {c_{{l_{k} ,n_{i} }} } \varphi_{k} = 0,i = 1, \ldots,N - 1$$
(67)

so these equations mean the Kirchhoff Magnetic Flux Law (KMFL).

Considering the definition (64) and the relations (66) and (67) the Principle of Minimum Consumed Energy for Magnetic Circuits (PMEM) in cvasi-stationary state can be stated in two equivalent forms: “In linear magnetic circuit the circumstance of minimum consumed energy in the branches reluctances (permeances) is equivalent with the NM and KMFL” or “In linear magnetic circuits the branch fascicular fluxes and magnetic voltages have unique values such that the consumed energy in the reluctances (permeances) is minimum” [22].

Example 3

Let us consider the electrical transformer excited by currents i1 and i2, which is presented in Fig. 11a. It is assumed that the transversal area A it is the same everywhere, the ferromagnetic material is linear with the relative permeability \(\mu_{r}\), the two excitation coils has M1 and M2 turns, and the width of the air-gap is δ. From the geometrical dimensions indicated in Fig. 11a the permeances Λ1, Λ2 and Λ3 of the magnetic circuit can be calculated. The analogous magnetic circuit with K = 3 branches and N = 2 nodes of this electrical transformer in cvasi-stationary state is illustrated in Fig. 11b.

Fig. 11
figure 11

a The electrical transformer excited by two currents; b Analogous magnetic circuit of the electrical transformer

By considering the magnetic potential Vm,1 as variable and Vm,2 = 0, then the energetic functional equivalent to the magnetic energy Wm consumed by the circuit’s permeances becomes

$$\Im {(}V_{m,1} {)} = W_{m} {(}V_{m,1} {)} = \frac{1}{2}\left[ {\Lambda_{1} \left( { - V_{m,1} + \theta_{1} } \right)^{2} + \Lambda_{2} \left( {V_{m,1} + \theta_{2} } \right)^{2} + \Lambda_{3} \left( {V_{m,1} } \right)^{2} } \right]$$

where the magnetomotive forces are \(\theta_{1} = M_{1} i_{1}\) respectively \(\theta_{2} = M_{2} i_{2}\).

By imposing the conditions (65) is obtained

$$\begin{aligned} \frac{\partial \Im }{{\partial V_{m,1} }} & = \frac{\partial }{{\partial V_{m,1} }}\frac{1}{2}\left[ {\Lambda_{1} \left( { - V_{m,1} + \theta_{1} } \right)^{2} + \Lambda_{2} \left( {V_{m,1} + \theta_{2} } \right)^{2} + \Lambda_{3} \left( {V_{m,1} } \right)^{2} } \right] \\ & = - \Lambda_{1} \left( { - V_{m,1} + \theta_{1} } \right) + \Lambda_{2} \left( {V_{m,1} + \theta_{2} } \right) + \Lambda_{3} \left( {V_{m,1} } \right) = 0 \\ \end{aligned}$$

where the last equality represents the NM expressed in node 1 of the analogous magnetic circuit. Afterwards results KMFL in node 1:

\(- \varphi_{1} + \varphi_{2} + \varphi_{3} = 0\).

5 Conclusion

The variational properties are applied to compute the extreme points of power and energy functionals for electric and magnetic circuits in stationary and cvasi-stationary state. Advanced numerical methods prove that the power and energy functionals have a minimum point thus the consumed power and energy by passive elements of electric and magnetic circuits is minimum. The matrix expressions of minimum conditions for power and energy functionals together with KVL for electric circuit and KMVL for magnetic circuit imply, concurrent, the equations of NM and of KCL respectively KMFL. Also the electric and magnetic potential of nodes were chosen as variables, because only the currents, magnetic fluxes, voltages and magnetic voltages of the branches are uniquely determined. The presented examples demonstrate each of theoretical principles PMP, PMARP and PMEM enunciated.