원시데이터 수집 시스템
선정목록으로

A threshold mechanism ensures minimum-path flow in lightning discharge

관련 필름·전자재료 · (14) 드라이 필름(포토레지스트)

기본 정보

저자
  1. Franco Blanchini — Dipartimento di Matematica, Informatica e Fisica, Università di Udine, 33100, Udine, Italy
  2. Daniele Casagrande — Dipartimento Politecnico di Ingegneria e Architettura, Università di Udine, 33100, Udine, Italy
  3. Filippo Fabiani — Department of Engineering Science, University of Oxford, OX1 3PJ, Oxford, United Kingdom
  4. Giulia Giordano — Dipartimento di Ingegneria Industriale, Università di Trento, 38123, Povo, TN, Italy
  5. David Palma — Dipartimento Politecnico di Ingegneria e Architettura, Università di Udine, 33100, Udine, Italy
  6. Raffaele Pesenti — Dipartimento di Management, Università Ca’ Foscari, 30121, Venezia, Italy
DOI
10.1038/s41598-020-79463-z
저널
Scientific Reports
발행년도
2021
발행기관
Nature Portfolio
피인용수
6
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1038/s41598-020-79463-z
토픽
High voltage insulation and dielectric phenomena
OpenAlex ID
W3118611299

평가 내용

관련도
관련
사업분야
필름·전자재료 · (14) 드라이 필름(포토레지스트)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '필름·전자재료 > 드라이 필름(포토레지스트)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

A well-known property of linear resistive electrical networks is that the current distribution minimizes the total dissipated energy. When the circuit includes resistors with nonlinear monotonic characteristic, the current distribution minimizes in general a different functional. We show that, if the nonlinear characteristic is a threshold-like function and the energy generator is concentrated in a single point, as in the case of lightning or dielectric discharge, then the current flow is concentrated along a single path, which is a minimum path to the ground with respect to the threshold. We also propose a dynamic model that explains and qualitatively reproduces the lightning transient behaviour: initial generation of several plasma branches and subsequent dismissal of all branches but the one reaching the ground first, which is the optimal one.

본문 39,791자

본문 펼치기
## OPEN # A threshold mechanism ensures minimum‑path flow in lightning discharge Franco Blanchini <sup>1</sup> , Daniele Casagrande <sup>2</sup> , Filippo Fabiani <sup>3</sup> , Giulia Giordano <sup>4</sup> <sup>*</sup> , David Palma <sup>2</sup> & Raffaele Pesenti <sup>5</sup> A well-known property of linear resistive electrical networks is that the current distribution minimizes the total dissipated power. When the circuit includes resistors with nonlinear monotonic characteristic, the current distribution minimizes in general a different functional. We show that, if the nonlinear characteristic is a threshold-like function and the current generator is concentrated in a single point, as in the case of lightning or dielectric discharge, then the current flow is concentrated along a single path, which is a minimum path to the ground with respect to the threshold. We also propose a dynamic model that explains and qualitatively reproduces the lightning transient behavior: initial generation of several plasma branches and subsequent dismissal of all branches but the one reaching the ground first, which is the optimal one. In lightning or gas electrical discharge, the current flow is essentially concentrated along a single path. Under very slow motion it can be seen that lightning starts by generating several branches and then develops by dismissing all of them but a single one, along which the energy is ­discharged <sup>1</sup> . This phenomenon has been deeply investigated. Several types of lightning are known, which are carefully described, e.g., ­in <sup>2,3</sup> . As far as the numerical modeling of the phenomenon is concerned, computational models for lightning simulation have been proposed ­in <sup>4–7</sup>, while the fractal nature of lightning discharge has been investigated ­in <sup>8–11</sup> . Detailed surveys on the subject are also available; see, e.g. <sup>12,13</sup> . Here, we do not investigate the whole phenomenon in its complexity. We rather focus on a specific question about path formation in lightning discharge: we are interested in the initial phase of the process, when the lightning path is formed. Also, we consider the ideal case in which the lightning source is a single point and the final destination is a zero-potential ground. This type of lightning, classified as Category 1 Lightning, “is the most common cloud-to-ground lightning. It accounts for over 90% of the worldwide cloud-to-ground flashes” <sup>3</sup> . Cloud-to-ground lightning begins with an initial breakdown and the consequent creation of a ionized channel, the _stepped leader_, which generates several branches. Once the stepped leader is close to the ground, it may be approached by channels originating from the ground, the _connecting leaders_ . When the stepped leader finally connects the ground to the cloud, the _return stroke_ is triggered, which is a ground-potential upward ­wave <sup>2,3,14</sup> . After the return stroke reaches back the cloud, the main branch reaching the ground is crossed by a long-duration discharging current: the _continuing currents_ . In the meanwhile, the secondary branches originally established by the stepped leader are depleted: the continuing currents flow along the main path ­only <sup>2</sup> . Why is the lightning current eventually concentrated along a single path? Does this path enjoy any optimality property? To mathematically address these questions, we consider an idealized model based on the assumption that lightning is mainly due to a dielectric breakdown of the air (gas in the case of discharges). The current–voltage diagram of a gas is characterized by two regions: for all the voltage values belonging to a symmetric interval around the origin, the current is very low (high resistivity); for voltage values outside this interval, the current becomes very large (low resistivity). The voltage value corresponding to the ends of the interval is called _breakdown threshold_ . Then, we consider an ideal characteristic with conductivity approaching infinity when the electric field is larger than a ­threshold <sup>5,15</sup> . 1Dipartimento di Matematica, Informatica e Fisica, Università di Udine, 33100 Udine, Italy. 2Dipartimento Politecnico di Ingegneria e Architettura, Università di Udine, 33100 Udine, Italy. <sup>3</sup> Department of Engineering Science, University of Oxford, OX1 3PJ Oxford, United Kingdom. <sup>4</sup> Dipartimento di Ingegneria Industriale, Università di Trento, 38123 Povo, TN, Italy. <sup>5</sup> Dipartimento di Management, Università Ca’ Foscari, 30121 Venezia, Italy. <sup>*</sup> email: giulia.giordano@unitn.it d ground v=0 h j <u>ik</u> Figure 1. Electrical grid model. The electrical grid model with capacitances and possibly nonlinear resistors connecting adjacent terminals. In the graph representation, each terminal is associated with a node and each electric component with a link. Lightning path can be interpreted as the solution of an optimization problem over a network. To formulate the problem, we consider a graph describing an electrical network, where capacitances and resistors with possibly nonlinear characteristic are associated with the links. The grid model we use is akin to that proposed ­in <sup>5</sup>, Eq. 5, which is the discretized version of nonlinear field ­equations <sup>5,15</sup> . We show that the steady-state solution minimizes a convex functional that, in the special case of linear resistors, turns out to be the total dissipated power. Conversely, if the resistor characteristic is a threshold-like function, the steady-state solution becomes the _minimum path_, where each current link is weighted by its local threshold voltage; hence, the optimal path is the “minimum-threshold path”. Our main result is supported by a theorem and reinforced by simulations of randomly generated graphs with random threshold values, showing that the transient behavior of the model can faithfully reproduce the qualitative lightning evolution (see “Methods”). Results How does lightning optimize its path? To build a model, we consider the electrical grid network in Fig. 1, with a capacitive and a possibly nonlinear resistive effect between adjacent terminals. Ground terminals are connected among them with zero resistance (ideal conductor ground) and the ground potential is v = 0 . The network is associated with a graph where the n + 1 nodes represent the terminals and the links represent the electric impedances. In particular, node _n_ corresponds to the zero-potential ground, while at the source node 0 a current generator is applied, with its other terminal grounded, inducing an input current _d_ that enters the network. As shown in Fig. 1, each link is assumed to be the parallel connection of a capacitor and a possibly nonlinear resistor. Injecting a current _d_ in a node of the network leads, after a transient, to a steady state in which the currents flow only through the resistors. If these are linear, the steady-state solution corresponds to the current distribution that minimizes the total dissipated ­power <sup>16</sup> : k Rk _ı_ ¯k <sup>2</sup> Ptot = Rk _ı_ ¯k <sup>2</sup> <sup>→</sup> <sup>min,</sup> (1) k <sup>2</sup> <sup>→</sup> <sup>min,</sup> k where Rk is the resistance value associated with link _k_ and _ı_ ¯k is the steady-state current flowing through it. In this minimum power configuration, steady-state currents are scattered all over the network (as in Fig. 2a). In phenomena such as lightning, the situation is completely ­different <sup>2,3</sup> : after a transient, lightning “chooses” a single path (as in Fig. 2b). Why and how is this single path chosen? In our model, denoting by vh and vj the potentials at the extreme nodes of link _k_, the resistance obeys the nonlinear law Rk <sup>th</sup> <sup>=</sup> (vh − vj)/ik = ∞, if |vh − vj| < Vk, (vh − vj)/ik = 0, if |vh − vj| ≥ Vk, where Vk is the value of the threshold. We name such a threshold value _local_ dielectric rigidity of link _k_ . This value is defined as the minimum potential difference between two adjacent nodes (namely, two nodes connected by a link) necessary to induce a current flow. If the nonlinear law approaches the ideal limit characteristic, as depicted in Fig. 3a (see also the inverse characteristics in Fig. 3b), then we have the following results (derived in “Methods”). k <sup>Vk|ik|.</sup> - Considering the family P of all possible paths connecting the source node 0 to the ground node _n_, the whole injected current _d_ flows along the path P <sup>∗</sup> ∈ P that minimizes the associated total power, as follows: - The steady-state current distribution minimizes the cost function J <sup>th</sup> = <sup>�</sup> a d <mark>+</mark> + <mark>+</mark> + <mark>+</mark> <mark>+</mark> + + + <mark>+</mark> <mark>+</mark> + <mark>+</mark> b d <mark>+</mark> + <mark>+</mark> + <mark>+</mark> <mark>+</mark> + + + <mark>+</mark> <mark>+</mark> + <mark>+</mark> Figure 2. Electrical current distribution at steady state. The current is scattered in the case of linear resistances ( a ) and concentrated along a single path in the case of threshold characteristics ( b ), when the current flows along the path that minimizes the sum of the dielectric rigidities of its links. Yellow (resp. blue) means presence (resp. absence) of flowing current. a b ### i ### v ### V φ φ ### V V ### V −1 ### φ ### v ### i ### ~~V~~ Figure 3. Nonlinear current–voltage and voltage–current characteristics. We denote by _v_ voltage and by _i_ current. Red: a generic threshold-like current–voltage characteristic φ, with threshold _V_ ( a ) and its inverse φ <sup>−1</sup> ( b ). Blue: the ideal, sharp threshold characteristics, which can be seen as the limit of a sequence of sharper and sharper threshold-like functions φ ( a ) and φ <sup>−1</sup> ( b ). Jh <sup>path</sup> =d k∈P Vk → min k∈P s.t. P ∈ P where k ∈ P denotes that path P crosses link _k_ . - In the transient, the injected current starts flowing along several “tentative” branches. When one of these branches—corresponding to the minimum-threshold path—first connects to the ground (in general with the aid of a connecting leader), all the others branches are depleted, as shown in Fig. 4, obtained through simulations that faithfully reproduce this behavior. Discussion The analysis of a grid circuit with capacitors and resistors having nonlinear characteristics unravels why flow phenomena such as lightning tend to concentrate the whole current flow along a single path, despite the availability of several admissible routes: this phenomenon is due to the threshold mechanism associated with the dielectric rigidity. In fact, for a nonlinear resistive network model, the solution of the flow equations minimizes a convex functional. In the special case of linear resistance, this functional is the dissipated power. In the case of threshold-like nonlinear characteristics, we have proven that the minimized functional is the sum of the currents along the links, weighted by the link threshold; hence, all the current eventually flows through the global minimum path if the links connecting the grid nodes are weighed by their local dielectric rigidity. In real situations, the dielectric rigidity can vary randomly and drastically in space, being a function of the local humidity, temperature, pressure and pollution. This explains the seemingly random path of lightning: such a randomness is due to the gas current condition, because the lightning actually searches the optimal path. The threshold model, including capacitive effects among nodes, faithfully describes also the transient and our simulations reproduce the behavior described ­in <sup>2</sup> and analyzed ­in <sup>5,15</sup> . Our model does not take into account inductive effects, considered by some authors in the return stroke ­analysis <sup>2</sup>, pp. 169–170, but this does not invalidate our results because: (1) the minimum path analysis is carried out at steady state, v˙ = 0, when the inductances are equivalent to shortcuts; (2) the return stroke starts when the stepped leader has reached the ground, hence the path has been already “decided”. Our analysis reveals that lightning is one of the many phenomena in nature where a spontaneous optimization appears to take ­place <sup>17–19</sup>, leading to the most efficient path ­choice <sup>20</sup> . In our lightning discharge model, the Figure 4. The lightning transient phases. Several branches are initially generated by the stepped leader ( a ); the stepped leader meets a connecting leader and the cloud is connected with the ground ( b ); only the main branch current, steady state (persists, corresponding to the optimal path w.r.t. d ). The color map goes from blue (no current) and light blue (low intensity current) to Jh <sup>path</sup> ( c ); the optimal path is crossed by the long-duration yellow (high intensity current). resulting steady-state current flow is _globally_ optimal, even though the current flow is _locally_ determined on the basis of the impedance characteristic of each single link. Methods The network is modeled as a grid graph with n + 1 nodes and _m_ links (more details on our model and our assumptions are in the SI Sect. 1.1). Node 0 represents the node where a current _d_ is injected. The _k_ th electric component is associated with link _k_ connecting nodes _h_ and _j_ . Its impedance is given by the parallel connection of a capacitance and a possibly nonlinear resistor (cf. Fig. 1), so that the current ik flowing through the component can be written as ik = φk vh − vj + <sup><u>d</u></sup> Ck(vh − vj), (2) �vh − vj _h_ + <sup><u>d</u></sup> dt _j_ dt �Ck(vh − vj) φk(·) �, where vh and vj are the potentials at the terminals _h_ and _j_, while φk(·) is the resistor _current–voltage characteristic_ _function_ and Ck is the capacitance. Function φk(·) is any odd increasing locally Lipschitz, or twice differentiable, function (the case in which φk(·) is non-decreasing only is considered in the SI Sect. 1.1). In the case of a linear resistor, φk = (vh − vj)/Rk . We are interested in threshold-like characteristic functions whose value is close to zero in an interval [−Vk, Vk] and becomes very large if the voltage crosses the threshold value Vk . In Fig. 3, the generic function φ is depicted (red curve, a) along with its inverse function φ <sup>−1</sup> (red curve, b). Following the description of Category 1 Lightning ­in <sup>2,3</sup>, we distinguish two phases. - First, the stepped leader “seeks the path to the ground”: the current is relatively low and the capacitance effect dominates, leading to a fast variation of the potentials at the nodes, in the transient evolution of the model. - Then, once the stepped leader has connected the cloud to the ground, dielectric breakdown is fully developed and the long-duration discharging current is triggered. We analyze this phase assuming steady-state conditions. The initial branching phase is by far shorter than the second phase. Indeed, only by means of special very fast video equipment the first stage can be observed, while the second one can be captured by the human eye as we commonly experience. During the second phase, the current actually varies with time but its variation rate is extremely low with respect to the first phase and then we can approximate this state as a steady state. In both phases, we show that the presence of a threshold mechanism is crucial to enable the observed behavior: it explains both the transient evolution of the phenomenon and the achievement of a minimum-path steadystate configuration. We analyze by simulations the initial transient (first phase), during which the path is “decided” and the currents converge to a steady-state distribution. Let us initially show that in the second phase the system is in a steady-state, i.e., terminal potentials satisfy the condition v˙h = 0 . In this state, the non-null currents define a single flow along the minimum path in terms of dielectric rigidity. Steady‑state analysis: the chosen path is the minimum path. We start by showing that a threshold mechanism yields steady-state minimum-path flow. We consider the functional J(i) = <sup>.</sup> fk(ik) = <sup>.</sup> φk <sup>−1(I)dI,</sup> (3) - ik - k k <sup>−1(I)dI,</sup> k fk(ik) = <sup>.</sup> 0 - ik k k φk <sup>−1</sup> 0 ik where the index _k_ refers to the links (see SI Sect. 1.1 for details). As a first result we have the following proposition, proven in the SI Sect. 1.3. Proposition 1 _Given the injected current d_, _at steady state_ (v˙h = 0) _the current distribution in the network mini-_ _mizes the functional given by_ (3). _If the_ φk _are strictly increasing_, _the optimal current distribution is unique_ . Note that dimensionally J(ik) is a power, since φk <sup>−1(I) is the potential difference between two nodes connected</sup> by a link, as a function of the link current _I_, while the differential _dI_ has the dimension of a current. Consistently, in the special case of linear resistances Rk, namely when I = φk(v) = v/Rk and φk <sup>−1(I) = RkI, the function in</sup> Note that dimensionally J(ik) is a power, since φk <sup>−1</sup> in the special case of linear resistances Rk, namely when I = φk(v) = v/Rk and φk <sup>−1(I) = RkI, the function in</sup> (3) corresponds (up to the factor 1/2) to the total dissipated-power distribution in (1), which is the ­minimal <sup>16</sup>, Application 1.8, Page 15. Here we are interested in the case in which the resistor characteristic is threshold-like. The ideal threshold function corresponding to a dielectric rigidity value Vk is (see Fig. 3a, blue) φk <sup>th(v) =</sup> +∞ if v - Vk, (4) k <sup>th(v) =</sup> if |v| ≤ Vk, +∞ if v - Vk, - 0−∞ if v < −Vk. This ideal characteristics is physically unfeasible and will not be used for our simulations. However, the corresponding optimization problem is still well defined. Indeed, the “inverse function” of φk <sup>th (see Fig. 3b, blue) is</sup> if ik = 0, +Vk if ik - 0, - any value in−Vk [−Vk, Vk] if ik < 0. gk <sup>th(ik) =</sup> +Vk if ik - 0, (5) k <sup>th(ik) =</sup> and for this choice the functional in (3) becomes J <sup>th</sup> (i) = <sup>.</sup> Vk|ik|. (6) k Vk|ik|. k The following proposition holds and is proven in the SI Sect. 1.4. Proposition 2 _Given the injected current d_, _the admissible_ ( _compatible with Kirchhoff_ ’ _s laws_ ) _distribution of the_ _steady_ - _state link currents ı_ ¯k <sup>th,</sup> <sup>k = 0, . . ., m −</sup> <sup>1,</sup> <sup>_which minimizes functional_</sup> <sup>(6),</sup> <sup>_corresponds to all the current_</sup> _flowing from the source node to the ground along a minimum_ - _threshold path_, _namely a path_ P <sup>∗</sup> ∈ P ( _where_ P _is_ _the family of paths from the source node to the ground_ ) _that minimizes the cost_ k∈P J <sup>path</sup> (P) = d Vk, P ∈ P, k∈P _which is the sum of all dielectric rigidities of the links along the path_ . Functional (6) is not strictly convex, hence uniqueness is not ensured (see the SI Sects. 1.1 and 1.4 for further details). However, the uniqueness assumption is _generically satisfied_ ; in fact, if the dielectric rigidities are randomly generated, the probability of finding two or more minimum paths with the same rigidity is zero, hence the minimum path is unique almost surely, i.e., in practice, we can assume that it is unique. The next step is to show that the closer a characteristic function (red in Fig. 3) is to the ideal threshold φk <sup>th(v)</sup> (blue in Fig. 3), the closer the current distribution is to the minimum-path distribution. Given a sequence of characteristics φk <sup>r</sup> <sup>(v), r</sup> <sup>= 1, 2, . . . which “converge to the ideal one” and are physically feasible, so that the corre-</sup> The next step is to show that the closer a characteristic function (red in Fig. 3) is to the ideal threshold φk <sup>th</sup> characteristics φk <sup>r</sup> <sup>(v), r</sup> <sup>= 1, 2, . . . which “converge to the ideal one” and are physically feasible, so that the corre-</sup> sponding steady-state solutions are uniquely defined, these steady-state solutions converge to the minimum-path distribution. This property is formalized in the following theorem. Theorem 1 _Consider a sequence of characteristics_ {φk <sup>r</sup> Theorem 1 _Consider a sequence of characteristics_ {φk <sup>r</sup> <sup>}r∈N</sup> <sup>_such that_</sup> <sup>,</sup> <sup>_for all r_</sup> <sup>,</sup> <sup>_the corresponding steady_</sup> <sup>-</sup> <sup>_state cur-_</sup> _rent distributions ı_ ¯k <sup>r</sup> <sup>_in the links are uniquely defined_</sup> <sup>.</sup> <sup>_Assume that the threshold_</sup> <sup>-</sup> <sup>_like characteristics converge to_</sup> _rent distributions ı_ ¯k <sup>r</sup> <sup>_in the links are uniquely defined_</sup> <sup>.</sup> <sup>_Assume that the threshold_</sup> <sup>-</sup> <sup>_like characteristics converge to_</sup> _the ideal one_ φk <sup>r</sup> k <sup>r</sup> <sup>(v) →</sup> <sup>φ</sup> k <sup>th(</sup> k <sup>th(v),</sup> as r →∞. _Moreover_, _assume that the minimum path in terms of sum of dielectric rigidities is unique_ . _Then the link current_ _distributions ı_ ¯k <sup>r</sup> <sup>_converge to ı_</sup> <sup>¯</sup> k <sup>th,</sup> k <sup>r</sup> <sup>_converge to ı_</sup> <sup>¯</sup> k <sup>th,</sup> k <sup>th,</sup> _ı_ ¯k <sup>r</sup> k <sup>r</sup> <sup>→¯</sup> <sup>_ı_</sup> k <sup>th</sup> <sup>_ı_</sup> k <sup>th</sup> as r →∞, _namely_, _the current distributions converge to the one with the whole current d flowing along the minimum path_ . Functions φk <sup>th are an idealized version of the gas dielectric characteristics in which the admittance is virtually</sup> zero for small voltage values and very large if the voltage is larger than the threshold value known as _dielectric_ a b d source B A grounded object ground Figure 5. Different geometries. The model can consider, with no essential changes, different geometries. For instance, in the case of a grounded conductive object, the cells corresponding to the object are connected by very small resistance and very large capacitance values: in the left panel, lightning would choose to reach either the ground directly (path _A_ ) or the grounded object (path _B_ ) depending on which is the minimum-threshold path, essentially considering the grounded object a zero cost portion of the path ( a ). Also voltage generators instead of current generators can be considered, without any substantial change, provided that an input resistance is present ( b ). _rigidity_ . In practice, true characteristics can be reasonably ­approximated <sup>5,15</sup> by a continuous curve that drastically increases after the threshold. The meaning of the theorem is that, if these characteristics are sharp and close to φk <sup>th, then the current tends to flow along the minimum path. The result does not rely on any specific characteristic</sup> model: only the property of the characteristics becoming “close to the ideal” is essential. In the model, we consider cell-to-cell capacities, but other capacities, such as capacities with respect to the ground, can be considered and the analysis remains valid, since at steady state the current through the capacities is zero. It is also fundamental to remark that the result is topology-independent: we could consider any network topology, not necessarily a grid. Also, we could consider conductive elements on the ground; in this case the lightning may find the minimum cost path as the one that connects the source to the grounded object. Some examples are in Fig. 5. Transient analysis: seeking the minimum path. We show here that a threshold mechanism also explains the lightning transient behavior, which can be described by the dynamic model (see the SI Sects. 1.1 and 1.2 for details) �B <sup>⊤</sup> v(t) - + d <sup>¯</sup>, BCB <sup>⊤</sup> v˙(t) = −Bφ B <sup>⊤</sup> v(t) + d <sup>¯</sup>, (7) where _C_ is the diagonal matrix including on the diagonal the capacitance at each link and d <sup>¯</sup> is a vector with a single nonzero entry, the first, equal to _d_, while vectors _v_ and φ stack the node quantities vk and φk . Matrix _B_ is the generalized incidence matrix of the graph, formally defined in the SI Sect. 1.1. The rows of matrix _B_ are associated with the graph nodes; each column corresponds to an oriented link and has a 1 entry in the position of the origin node and a −1 entry in the position of the destination node, while all other entries are 0. Since we assume the existence of links from the external environment, _B_ is full-rank and so BCB <sup>⊤</sup> is non-singular. The value of the product BCB <sup>⊤</sup> is independent of the orientation chosen for the grid links, which can be consequently chosen randomly. This system asymptotically converges to the steady-state condition v˙(t) = 0, which leads to the condition Bφ B <sup>⊤</sup> v(t) = d <sup>¯</sup> corresponding to the constraint of the optimization problem considered in the steady-state Bφ B <sup>⊤</sup> v(t) = d <sup>¯</sup> corresponding to the constraint of the optimization problem considered in the steady-state analysis. A detailed stability analysis is in the SI Sect. 1.2. - The transient analysis has been carried out via simulation, using a standard ODE solver. In particular, to numerically demonstrate the dynamic behavior of the system, we have performed many simulations for different values of the dielectric rigidity. Videos are available to display some particularly significant cases (see the Supplementary Material Movies S1–S6 for details). The characteristic function φk(vk) can be any locally Lipschitz or continuously differentiable function that is non-decreasing and has a very high slope after the threshold. For simulations purposes, we have adopted the piecewise-linear threshold-like functions �B <sup>⊤</sup> v(t) if |vk| ≤ Vk, φk(vk) = r(vk − Vk) + Vkǫ if vk - Vk, (8) - ǫr(vvkk + Vk) − Vkǫ if vk < −Vk, (shown in Fig. 6a), all with the same plasma conductivity r = 800, whereas Vk has been randomly chosen for each link in the interval Vk ∈[0.5 − δ/2, 0.5 + δ/2] with uniform distribution. The variability of the dielectric rigidity is described by δ, while ǫ is a very small number representing the negligible conductivity under the threshold Vk (we have set ǫ = 10 <sup>−5</sup> ). Other “sharp” characteristic functions would produce the same behavior. We also simulated the system with the polynomial φk(vk) = (vk/Vk) <sup>2r+1</sup> (shown in Fig. 6b), which yields comparable results for large enough _r_, as expected. Yet, the non-Lipschitz nature of the polynomial function is numerically challenging and requires large computational times and specialized integration routines for stiff systems. a b #### u u V V v v V V Figure 6. The characteristics used in simulation. The piecewise-linear in (8) ( a ) and the polynomial (vk/Vk) <sup>2r+1</sup> ( b ). There is no essential difference in the final results of the simulations. For large enough values of _r_, the current follows the shortest path. ## a 0.9 0.88 0.86 0.84 0.82 ~~Minimum~~ cost path 0.8 18 18.2 18.4 18.6 18.8 19 Cost ## b 0.5 Median 0.4 0.3 0.2 0.1 0 <u>18</u> <u>20</u> <u>22</u> <u>24</u> <u>26</u> 1.1 1 0.9 18 20 22 24 26 Cost Figure 7. Cost analysis of randomly generated paths. Comparative analysis of the 200 paths with lowest cost ( a ) and cost statistics of all the 10 <sup>5</sup> randomly generated paths ( b ). In all our numerical experiments, the capacitances have been taken all equal. We have set Ck = 1 for all _k_, without restriction, since changing the capacitance value is equivalent to scaling time, hence the steady-state value is unaffected. Fig. 4 reports four instants of the simulation with δ = 0.7 (see Supplementary Material Movie S5). It can be seen that, for larger variability of the dielectric rigidity, i.e. larger δ, the initial branching activity is more intense. However, the asymptotic behavior is qualitatively the same regardless of the value of δ, with no exception: a single branch survives, which is numerically verified to be the minimum path in terms of total dielectric rigidity, as expected. To corroborate the theory, a large number of random paths from the source to the ground have been generated on the same graph. Once again, simulation results confirm the prediction that the path chosen by the current in the simulation is always the minimum cost path. Each of the random paths is generated as follows. While traversing the nodes from the top starting point to the ground level, at each node, the current flows to the downward vertical node with probability _p_, or deviates respectively to the left node or to the right node with probability (1 − p)/2 . Fig. 7 illustrates the results obtained from the generation of 10 <sup>5</sup> random paths using a deviation probability p = 0.95 . Precisely, in Fig. 7a we compare the metric values of the 200 least costly paths, where the minimum-cost path corresponds to the one chosen by the current, whilst in Fig. 7b we report the distribution of the costs of all the 10 <sup>5</sup> randomly generated paths. Decentralization, topology‑independence and limitations. Remarkably, the steady-state current flow in our lightning discharge model is _globally_ optimal, even though the current flow is _locally_ determined on the basis of the impedance characteristic of each single link. In the context of distributed flow control in ­networks <sup>21</sup>, this kind of mechanism is called _network-decentralized_ <sup>22–24</sup>, and localized strategies have been shown to lead to a globally optimal ­behavior <sup>25–31</sup> . In the considered network-decentralized control strategy, each link locally decides how much current flows through it. This approach is completely different from Dijkstra’s decen tralized minimum-path algorithm, which is based on decentralized dynamic programming ­techniques <sup>32,33</sup> and in which the routing decision is made at the nodes: each node locally decides to which of the outgoing links an incoming unit of flow must be redirected. In our setup, a “link decision” is made: each admittance can be interpreted as an agent that locally decides how much current is allowed to flow. Our results are independent of the topology of the network, which does not necessarily need to be a grid graph with square cells: other topologies would lead to a minimum path solution. However, we stress that our model is far from capturing all the complex aspects of lightning. Its validity is limited to the beginning of the phenomenon, until the return stroke is triggered, because in this initial stage the path is chosen. After the stepped leader has reached the ground, the current follows the “chosen minimum path” until the end, as it is experimentally well documented (and confirmed by our simulations), because this path becomes a ionized channel with low resistance. So our model and simulations are not expected to be a faithful quantitative reproduction of the whole lightning process (including discharge endurance, power dissipation and so on), but their significance is limited to the first part. Yet, the qualitative behavior, with _the discharge following_ _the minimum path_, has been always confirmed with no exception. Note that we consider a constant injected current (the source turns on instantaneously at the initial time) as an assumption in our optimality theorem. If we consider an initially varying current, this can of course change the transient, but it does not change the choice of the final path, as long as the supplied current converges to a constant final value. To support this reasoning, we compared two simulations: in the first one a constant current source has been provided, whilst in the other one an increasing monotonic ramp up to the same current value has been supplied. The video obtained by these simulations (see the Supplementary Material Movie S7) reveals two different transients, which however both lead to the same final current path. Finally, our model does not consider other aspects such as the ground currents, which are not relevant to the path choice. We have considered the so-called Category 1 Lightning, cloud-to-ground, which is the most common type of lightning; however, the model can be adapted to any type of lightning of gas discharge. Received: 26 October 2020; Accepted: 7 December 2020 References 1. Lightning recorded at 7000 FPS, Geospace Physics Laboratory, Department of Physics and Space Sciences, Florida Institute of [Technology (2016). https​://www.youtu​be.com/watch​?v=XWuZq​w3Lop​E](https://www.youtube.com/watch?v=XWuZqw3LopE) 2. Cooray, V. _An Introduction to Lightning_ (Springer, New York, 2015). 3. Uman, M. A. _The Lightning Discharge_ (Dover Books on Physics, Mineola, New York, 2001). 4. De Conti, A., Visacro, S., Theethayi, N. & Cooray, V. A comparison of different approaches to simulate a nonlinear channel resist ance in lightning return stroke models. _J. Geophys. Res. Atmos._ 113, D14 (2008). 5. Hager, W. W. A discrete model for the lightning discharge. _J. Comput. Phys._ 144 (1), 137–150 (1998). 6. Podgorski, A. S. & Landt, J. A. Three dimensional time domain modelling of lightning. _IEEE Trans. Power Delivery_ 2 (3), 931–938 (1987). 7. Sarajcev, I., Sarajcev, P. & Vujevic, S. Mathematical model of lightning stroke development. _Proceedings of the 16th International_ _Conference on Software, Telecommunications and Computer Networks_, 37–41 (2008). 8. Niemeyer, L., Pietronero, L. & Wiesmann, H. J. Fractal dimension of dielectric breakdown. _Phys. Rev. Lett._ 52 (12), 1033–1036 (1984). 9. Nguyen, D. T., Deegan, G. & D’Alessandro, F. Fractal nature of probabilistic model of lightning discharge. _Proceedings of IEEE_ _Region 10th International Conference on Electrical and Electronic Technology. TENCON 2001 (Cat. No.01CH37239)_, 2, 814–818 (2001). 10. Sañudo, J., Gómez, J. . B., Castaño, F. & Pacheco, A. . F. Fractal dimension of lightning discharge. _Nonlinear Process. Geophys. Eur._ _Geosci.Union (EGU)_ 2 (2), 101–106 (1995). 11. Theethayi, N. & Cooray, V. On the representation of the lightning return stroke process as a current pulse propagating along a transmission line. _IEEE Trans. Power Delivery_ 20 (2), 823–837 (2005). 12. Rakov, V. A. & Rachidi, F. Overview of recent progress in lightning research and lightning protection. _IEEE Trans. Electromagnet._ _Compatib._ 51 (3), 428–442 (2009). 13. Rakov, V. A. & Uman, M. A. Review and evaluation of lightning return stroke models including some aspects of their application. _IEEE Trans. Electromagnet. Compatib._ 40 (4), 403–426 (1998). 14. Visacro, S. & De Conti, A. A distributed-circuit return-stroke model allowing time and height parameter variation to match lightning electromagnetic field waveform signatures. _Geophys. Res. Lett._ 32, L23805 (2005). 15. Hager, W. W., Nisbet, J. S. & Kash, J. R. The evolution and discharge of electric fields within a thunderstorm. _J. Computat. Phys._ 82 (1), 193–217 (1989). 16. Ahuja, R. K., Magnanti, T. L. & Orlin, J. B. _Network Flow_ (Prentice Hall, Englewood Cliffs, 1993). 17. Boettcher, S. & Percus, A. Nature’s way of optimizing. _Artif. Intell._ 119 (1–2), 275–286 (2000). 18. Pedrizzetti, G. & Domenichini, F. Nature optimizes the swirling flow in the human left ventricle. _Phys. Rev. Lett._ 95 (10), 108101 (2005). 19. Yang, X.-S. _Nature-Inspired Optimization Algorithms_ (Elsevier, London, 2014). 20. Renkawitz, J. _et al._ Nuclear positioning facilitates amoeboid migration along the path of least resistance. _Nature_ 568, 546–550 (2019). 21. Como, G. On resilient control of dynamical flow networks. _Annu. Rev. Control_ 43, 80–90 (2017). 22. Iftar, A. A linear programming based decentralized routing controller for congested highways. _Automatica_ 35 (2), 279–292 (1999). 23. Iftar, A. & Davison, E. J. Decentralized control strategies for dynamic routing. _Optimal Control Appl. Methods_ 23 (6), 329–355 (2002). 24. Blanchini, F., Franco, E. & Giordano, G. Network-decentralized control strategies for stabilization. _IEEE Trans. Autom. Control_ 60 (2), 491–496 (2015). 25. Bauso, D., Blanchini, F., Giarré, L. & Pesenti, R. The linear saturated control strategy for constrained flow control is asymptotically optimal. _Automatica_ 49 (7), 2206–2212 (2013). 26. Wei, J. & van der Schaft, A. J. Load balancing of dynamical distribution networks with flow constraints and unknown in/outflows. _Syst. Control Lett._ 62 (11), 1001–1008 (2013). 27. Blanchini, F., Franco, E., Giordano, G., Mardanlou, V. & Montessoro, P. L. Compartmental flow control: Decentralization, robust ness and optimality. _Automatica_ 64 (2), 18–28 (2016). 28. Scholten, T., De Persis, C. & Tesi, P. Optimal steady-state regulation of distribution networks with input and flow constraints. _Proceedings of the 2016 American Control Conference_, 6953–6958 (2016). 29. Blanchini, F., Casagrande, D., Fabiani, F., Giordano, G. & Pesenti, R. Network-decentralised optimisation and control: An explicit saturated solution. _Automatica_ 103 (5), 379–389 (2019). 30. Blanchini, F., Casagrande, D., Fabiani, F., Giordano, G. & Pesenti, R. A network-decentralised strategy for minimum-path-flow routing. _Proceedings of the 58th IEEE Conference on Decision and Control_, 1126–1131 (2019). 31. Trip, S., Scholten, T. & De Persis, C. Optimal regulation of flow networks with transient constraints. _Automatica_ 104, 141–153 (2019). 32. Luenberger, D. _Information Science_ (Princeton University Press, Princeton, 2006). 33. Zhang, Y. & Li, S. Distributed biased min-consensus with applications to shortest path planning. _IEEE Trans. Autom. Control_ 62 (10), 5429–5436 (2017). Author contributions F.B., D.C., G.G., and R.P. designed the research; F.B., D.C., F.F., G.G., D.P., and R.P. performed the research; F.B., D.C., G.G., and R.P. wrote the paper. All authors read and approved the final manuscript. The authors are listed in alphabetical order. Competing interests The authors declare no competing interests. Additional information Supplementary Information [is available for this paper at https​://doi.org/10.1038/s4159​8-020-79463​-z.](https://doi.org/10.1038/s41598-020-79463-z) Correspondence and requests for materials should be addressed to G.G. Reprints and permissions information is available at www.nature.com/reprints. Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations. Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from [the copyright holder. To view a copy of this licence, visit http://creat​iveco​mmons​.org/licen​ses/by/4.0/.](http://creativecommons.org/licenses/by/4.0/) © The Author(s) 2021

섹션 본문 249문단 · 67,098자

(제목 없음)

1A well-known property of linear resistive electrical networks is that the current distribution minimizes the total dissipated energy. When the circuit includes resistors with nonlinear monotonic characteristic, the current distribution minimizes in general a different functional. We show that, if the nonlinear characteristic is a threshold-like function and the energy generator is concentrated in a single point, as in the case of lightning or dielectric discharge, then the current flow is concentrated along a single path, which is a minimum path to the ground with respect to the threshold. We also propose a dynamic model that explains and qualitatively reproduces the lightning transient behavior:initial generation of several plasma branches and subsequent dismissal of all branches but the one reaching the ground first, which is the optimal one.

Introduction

2In lightning or gas electrical discharge, the current flow is essentially concentrated along a single path. Under very slow motion it can be seen that lightning starts by generating several branches and then develops by dismissing all of them but a single one, along which the energy is discharged [1]. This phenomenon has been deeply investigated. Several types of lightning are known, which are carefully described, e.g., in [2,3]. As far as the numerical modeling of the phenomenon is concerned, computational models for lightning simulation have been proposed in [4,5,6,7], while the fractal nature of lightning discharge has been investigated in [8,9,10,11]. Detailed surveys on the subject are also available; see, e.g., [12] and [13].

3Here, we do not investigate the whole phenomenon in its complexity. We rather focus on a specific question about path formation in lightning discharge: we are interested in the initial phase of the process, when the lightning path is formed. Also, we consider the ideal case in which the lightning source is a single point and the final destination is a zero-potential ground.

4This type of lightning, classified as Category 1 Lightning, "is the most common cloud-to-ground lightning. It accounts for over 90% of the worldwide cloud-to-ground flashes" [3]. Cloud-toground lightning begins with an initial breakdown and the consequent creation of a ionized channel, the stepped leader, which generates several branches. Once the stepped leader is close to the ground, it may be approached by channels originating from the ground, the connecting leaders. When the stepped leader finally connects the ground to the cloud, the return stroke is triggered, which is a ground-potential upward wave [2,14]. After the return stroke reaches back the cloud, the main branch reaching the ground is crossed by a long-duration discharging current: the continuing currents. In the meanwhile, the secondary branches originally established by the stepped leader are depleted: the continuing currents flow along the main path only [2].

5Why is the lightning current eventually concentrated along a single path? Does this path enjoy any optimality property?

6To mathematically address these questions, we consider an idealized model based on the assumption that lightning is mainly due to a dielectric breakdown of the air (gas in the case of discharges). The current-voltage diagram of a gas is characterized by two regions: for all the voltage values belonging to a symmetric interval around the origin, the current is very low (high resistivity); for voltage values outside this interval, the current becomes very large (low resistivity). The voltage value corresponding to the ends of the interval is called breakdown threshold. Then, we consider an ideal characteristic with conductivity approaching infinity when the electric field is larger than a threshold [15,5].

7Lightning path can be interpreted as the solution of an optimization problem over a network. To formulate the problem, we consider a graph describing an electrical network, where capacitances and resistors with possibly nonlinear characteristic are associated with the links.

8The grid model we use is akin to that proposed in [5,Eq. 5], which is the discretized version of nonlinear field equations [15,5]. We show that the steady-state solution minimizes a convex functional that, in the special case of linear resistors, turns out to be the total dissipated energy.

9Conversely, if the resistor characteristic is a threshold-like function, the steady-state solution becomes the minimum path, where each current link is weighted by its local threshold voltage; hence, the optimal path is the "minimum-threshold path". Our main result is supported by a theorem and reinforced by simulations of randomly generated graphs with random threshold values, showing that the transient behavior of the model can faithfully reproduce the qualitative lightning evolution (see Materials and Methods).

Results

10So, how does lightning optimize its path? To build a model, we consider the electrical grid network in Fig. 1, with a capacitive and a possibly nonlinear resistive effect between adjacent ground v=0 d i j u k Figure 1: The electrical grid model with capacitances and possibly nonlinear resistors connecting adjacent terminals. In the graph representation, each terminal is associated with a node and each electric component with a link.

11terminals. Ground terminals are connected among them with zero resistance (ideal conductor ground) and the ground voltage is v = 0. The network is associated with a graph where the n+1 nodes represent the terminals and the links represent the electric impedances. In particular, node n corresponds to the zero-potential ground, while at the source node 0 a (current or voltage)

12generator is applied, with its other terminal grounded, inducing an input current d that enters the network.

13As shown in Fig. 1, each link is assumed to be the parallel connection of a capacitor and a possibly nonlinear resistor. Injecting a current d in a node of the network leads, after a transient, to a steady state in which the currents flow only through the resistors. If these are linear, the steady-state solution corresponds to the current distribution that minimizes the total dissipated energy [16]:

14where R k is the resistance value associated with link k andū k is the steady-state current flowing through it. In this minimum energy configuration, steady-state currents are scattered all over the network (as in Fig. 2, left). In phenomena such as lightning, the situation is completely different [2,3]: after a transient, lightning "chooses" a single path (as in Fig. 2 Figure 2: The electrical current distribution at steady state: scattered in the case of linear resistances (left); concentrated along a single path in the case of threshold characteristics (right), when the current flows along the path that minimizes the sum of the dielectric rigidities of its links. Yellow (resp. blue) means presence (resp. absence) of flowing current. Assume that, denoting by v i and v j the potentials at the extreme nodes of link k, the resistance obeys the nonlinear law

15where the value of the threshold V k is the local dielectric rigidity of link k. Figure 3: Nonlinear current-voltage and voltage-current characteristics, where v denotes voltage and u current. A generic threshold-like current-voltage characteristic φ, with threshold V (red, left) and its inverse φ −1 (red, right). The ideal, sharp threshold characteristics (blue) can be seen as the limit of a sequence of sharper and sharper threshold-like functions φ and φ −1 .

16If the nonlinear law approaches the ideal limit characteristic, depicted in Fig. 3 (left) along with its inverse characteristics (right), then we have the following results (derived in Materials and Methods).

17• The steady-state current distribution minimizes the energy function J th = k V k |u k |.

18• Considering the family P of all possible paths connecting the source node 0 to the ground node n, the whole injected current d flows along the path P h * ∈ P that minimizes the associated total energy:

19where k ∈ P h denotes that path P h crosses link k.

20• In the transient, the injected current starts flowing along several "tentative" branches.

21When one of these branches -corresponding to the minimum-threshold path -first connects to the ground (in general with the aid of a connecting leader), all the others branches are depleted, as shown in Fig. 4, obtained through simulations that faithfully reproduce this behavior.

Discussion

22Therefore, the analysis of a grid circuit with capacitors and resistors having nonlinear characteristics unravels why flow phenomena such as lightning tend to concentrate the whole current flow along a single path, despite the availability of several admissible routes: this phenomenon is due to the threshold mechanism associated with the dielectric rigidity. In fact, for a nonlinear resistive network model, the solution of the flow equations minimizes a convex functional.

23In the special case of linear resistance, this functional is the dissipated energy. In the case of ); the optimal path is crossed by the long-duration current (steady state). The color map goes from blue (no current) and light blue (low intensity current) to yellow (high intensity current).

24threshold-like nonlinear characteristics, we have proven that the minimized functional is the sum of the currents along the links, weighted by the link threshold; hence, all the current eventually flows through the global minimum path if the links connecting the grid nodes are weighed by their local dielectric rigidity. In real situations, the dielectric rigidity can vary randomly and drastically in space, being a function of the local humidity, temperature, pressure and pollution.

25This explains the seemingly random path of lightning: such a randomness is due to the gas current condition, because the lightning actually searches the right path.

26The threshold model, including capacitive effects among nodes, faithfully describes also the transient and our simulations reproduce the behavior described in [2] and analyzed in [15,5].

27Our model does not take into account inductive effects, considered by some authors in the return stroke analysis [2, pp. 169-170], but this does not invalidate our results because: (i) the minimum path analysis is carried out at steady state,v = 0, when the inductances are equivalent to shortcuts; (ii) the return stroke starts when the stepped leader has reached the ground, hence the path has been already "decided".

28Our analysis reveals that lightning is one of the many phenomena in nature where a spontaneous optimization appears to take place [17,18,19], leading to the most efficient path choice [20]. In our lightning discharge model, the resulting steady-state current flow is globally optimal, even though the current flow is locally determined on the basis of the impedance characteristic of each single link.

Materials and Methods

29The network is modeled as a grid graph with n+1 nodes and m links (more details on our model and our assumptions are in the SI Section 1.1). Node 0 represents the node where a current d is injected. The kth electric component is associated with link k connecting nodes i and j. Its impedance is given by the parallel connection of a capacitance and a possibly nonlinear resistor (cf. Fig. 1 in the main paper), so that the current u k flowing through the component can be written as

30where v i and v j are the voltages at the terminals i and j, while φ k (·) is the resistor currentvoltage characteristic function and C k is the capacitance.

31Function φ k (·) is any symmetric increasing locally Lipschitz, or twice differentiable, function (the case in which φ k (·) is non-decreasing only is considered in the SI Section 1.1). In the case of a linear resistor,

32As mentioned in the main paper, we are interested in threshold-like characteristic functions whose value is close to zero in an interval

33and becomes very large if the voltage crosses the threshold value V k . In Fig. 3, the generic function φ is depicted (red curve, left) along with its inverse function φ −1 (red curve, right).

34Following the description of Category 1 Lightning in [2,3], we distinguish two phases.

35• First, the stepped leader "seeks the path to the ground": the current is relatively low and the capacitance effect dominates, leading to a fast variation of the voltages at the nodes, in the transient evolution of the model.

36• Then, once the stepped leader has connected the cloud to the ground, dielectric breakdown is fully developed and the long-duration discharging current is triggered. We analyze this phase assuming steady-state conditions.

37The initial branching phase is by far shorter than the second phase. Indeed, only by means of special very fast video equipments the first stage can be observed, while the second one can be captured by the human eye as we commonly experience. During the second phase, the current actually varies with time but its variation rate is extremely low with respect to the first phase.

38In both phases, we show that the presence of a threshold mechanism is crucial to enable the observed behavior: it explains both the transient evolution of the phenomenon and the achievement of a minimum-path steady-state configuration.

39We analyze by simulations the initial transient (first phase), during which the path is "decided" and the currents converge to a steady-state distribution.

40First of all, however, we show that in the second phase, after an initial transient, the system converges to a steady-state, i.e., terminal voltages satisfy the conditionv i = 0. In this state, the non-null currents define a single flow along the minimum path in terms of dielectric rigidity.

Steady-state analysis: the chosen path is the minimum path

41We start by showing that a threshold mechanism yields steady-state minimum-path flow.

42We consider the functional

43where the index k refers to the links (see SI Section 1.1 for details). As a first result we have the following proposition, proven in the SI Section 1.3.

44Proposition 1 Given the injected current d, at steady state (v i = 0) the current distribution in the network minimizes the functional given by (3). If the φ k are strictly increasing, the optimal current distribution is unique.

45Note that dimensionally J(u k ) is a power, since φ −1 k (I) is a tension integrated with respect to a current I. Consistently, in the special case of linear resistances R k , namely when Here we are interested in the case in which the resistor characteristic is threshold-like. The ideal threshold function corresponding to a dielectric rigidity value V k is (see Fig. 3, blue)

46This curve is represented in blue in Fig. 3 (left). This ideal characteristics is physically unfeasible and will not be used for our simulations. However, the corresponding optimization problem is still well defined. Indeed, the inverse function of φ th k (the blue curve in Fig. 3, right) is

47and for this choice the functional in (3) becomes

48The following proposition holds and is proven in the SI Section 1.4.

49Proposition 2 Given the injected current d, the admissible (compatible with Kirchhoff's laws) distribution of the steady-state link currentsū th k , k = 0, . . . , m − 1, which minimizes functional (6), corresponds to all the current flowing from the source node to the ground along a minimumthreshold path, namely a path P h * ∈ P (where P is the family of paths from the source node to the ground) that minimizes the cost

50which is the sum of all dielectric rigidities of the links along the path.

51Functional (6) is not strictly convex, hence uniqueness is not ensured (see the SI Sections 1.1 and 1.4 for further details). However, the uniqueness assumption is generically satisfied; in fact, if the dielectric rigidities are randomly generated, the probability of finding two or more minimum paths with the same rigidity is zero, hence we can assume that the minimum path is unique.

52The next step is to show that the closer a characteristic function (red) is to the ideal threshold φ th k (v) (blue) (Fig. 3), the closer the current distribution is to the minimum-path distribution.

53Given a sequence of characteristics φ r k (v), r = 1, 2, . . . which "converge to the ideal one" and are physically feasible, so that the corresponding steady-state solutions are uniquely defined, these steady-state solutions converge to the minimum-path distribution. This property is formalized in the following theorem.

54Theorem 1 Consider a sequence of characteristics φ r k , r = 1, 2, . . . , such that, for all r, the corresponding steady-state current distributionū r k in the links are uniquely defined. Assume that the threshold-like characteristics converge to the ideal one

55Moreover, assume that the minimum path in terms of sum of dielectric rigidities is unique. Then the link current distributionsū r k converge toū th k , u r k →ū th k as r → ∞ , namely, the current distributions converge to the one with the whole current d flowing along the minimum path.

56Function φ th k is an idealized version of the gas dielectric characteristics in which the admittance is virtually zero for small voltage values and very large if the voltage is larger than the threshold value known as dielectric rigidity. In practice, true characteristics can be reasonably approximated [15,5] by a continuous curve that drastically increases after the threshold. The meaning of the theorem is that, if these characteristics are sharp and close to φ th k , then the current tends to flow along the minimum path. The result does not rely on any specific characteristic model: only the property of the characteristics becoming "close to the ideal" is essential.

57In the model, we consider cell-to-cell capacities, but other capacities, such as capacities with respect to the ground, can be considered and the analysis remains valid, since at steady state the current through the capacities is zero. It is also fundamental to remark that the result is topology-independent: we could consider any network topology, not necessarily a grid. Also, we could consider conductive elements on the ground; in this case the lightning may find the minimum cost path as the one that connects the source to the grounded object. Some examples are in Fig. 5.

Transient analysis: seeking the minimum path

58We show here that a threshold mechanism also explains the lighting transient behavior, which can be described by the dynamic model

59This system asymptotically converges to the steady-state conditionv(t) = 0, which leads to the condition Bφ B v(t) = d corresponding to the constraint of the optimization problem considered in the steady-state analysis. A detailed stability analysis is in the SI Section 1.2. The transient analysis has been carried out via simulation, using a standard ODE solver. In particular, to numerically demonstrate the dynamic behavior of the system, we have performed many simulations for different values of the dielectric rigidity. Videos are available to display some particularly significant cases (see the Supplementary Material Movies S1-S6 for details). 1

60The characteristic function φ k (v k ) can be any locally Lipschitz or continuously differentiable function that is non-decreasing and has a very high slope after the threshold. For simulations purposes, we have adopted the piecewise-linear threshold-like functions

61(shown in Fig. 6, left), all with the same plasma conductivity r = 800, whereas V k has been randomly chosen for each link in the interval V k ∈ [0.5 − δ/2, 0.5 + δ/2] with uniform distribution. The variability of the dielectric rigidity is described by δ, while is a very small number representing the negligible conductivity under the threshold V k (we have set = 10 −5 ).

62Other "sharp" characteristic functions would produce the same behavior. We also simulated the system with the polynomial φ k (v k ) = (v k /V k ) 2r+1 (shown in Fig. 6, right), which yields comparable results for large enough r, as expected. Yet, the non-Lipschitz nature of the polynomial function is numerically challenging and requires large computational times and specialized integration routines for stiff systems.

63In all our numerical experiments, the capacitances have been taken all equal. We have set C k = 1 for all k, without restriction, since changing the capacitance value is equivalent to scaling time, hence the steady-state value is unaffected. Fig. 4 reports four instants of the simulation with δ = 0.7 (see Supplementary Material, Movie S5). It can be seen that, for larger variability of the dielectric rigidity, i.e. larger δ, the initial branching activity is more intense.

64However, the asymptotic behavior is qualitatively the same regardless of the value of δ, with no exception: a single branch survives, which is numerically verified to be the minimum path in terms of total dielectric rigidity, as expected.

Decentralization, topology-independence and limitations

65Remarkably, as we have stressed in the main paper, the steady-state current flow in our lightning discharge model is globally optimal, even though the current flow is locally determined on the basis of the impedance characteristic of each single link. In the context of distributed flow control in networks [21], this kind of mechanism is called network-decentralized [22,23,24], and localized strategies have been shown to lead to a globally optimal behavior [25,26,27,28,29,30]. In the considered network-decentralized control strategy, each links locally decides how much current flows through it. This approach is completely different from Dijkstra's decentralized minimum-path algorithm, which is based on decentralized dynamic programming techniques [31,32] and in which the routing decision is made at the nodes: each node locally decides to which of the outgoing links an incoming unit of flow must be redirected. In our setup, a "link decision" is made: each admittance can be interpreted as an agent that locally decides how much current is allowed to flow.

66Our results are independent of the topology of the network, which does not necessarily need to be a grid graph with square cells: other topologies would lead to a minimum path solution.

67However, we stress that our model is far from capturing all the complex aspects of lightning.

68Its validity is limited to the beginning of the phenomenon, until the return stroke is triggered, because in this initial stage the path is chosen. After the stepped leader has reached the ground, the current follows the "chosen minimum path" until the end, as it is experimentally well documented (and confirmed by our simulations), because this path becomes a ionized channel with low resistance. So our model and simulations are not expected to be a faithful quantitative reproduction of the whole lightning process (including discharge endurance, power dissipation and so on), but their significance is limited to the first part. Yet, the qualitative behavior, with the discharge following the minimum path, has been always confirmed with no exception. Moreover, our model does not consider other aspects such as the ground currents, which are not relevant to the path choice. We have considered the so-called Category 1 Lightning, cloud-to-ground, which is the most common type of lightning; however, the model can be adapted to any type of lightning of gas discharge. n corresponds to the zero-potential ground, while at node 0 a (current or voltage) generator is applied, with its other terminal grounded, inducing an input current d that enters the network.

69Consider the k-th electric component of the network, associated with the graph link k ∈ L, k = (i, j), which connects node i to node j: its impedance is given by the parallel connection of a capacitance and a possibly nonlinear resistor, so that the current u k flowing through the component can be written as

70corresponding to the admittance equation (2)), where v i and v j are the voltages at the terminals i and j, while φ k (·) is the resistor current-voltage characteristic function and C k is the capacitance.

71We consider the generalized node-link incidence matrix of the graph G, which is the matrix B ∈ {−1, 0, 1} n×m obtained by assigning an arbitrary direction to each link k = (i, j) of G and setting a 1 entry in position i (source node) and a −1 entry in position j (destination node), and zero elsewhere, in the corresponding k-th column of B, and then removing the row corresponding to node n. In particular, the m columns of B are associated with the links representing the electric components and its n rows are associated with the nodes representing terminals. Links coming from the external environment (associated for instance with an injected current) have a single nonzero entry, equal to −1, corresponding to their destination node and links going to the external environment have a single nonzero entry, equal to 1, corresponding to their source node: in our model, the connections to the external environment are the (zerovoltage) ground and the source of supplied power. The following assumption holds, because we have considered the ground zero-potential node as an external node.

72Assumption 1 The network graph G is connected internally and connected to the external environment. As a consequence, matrix B has full row rank.

73Links are associated with the currents u 0 , . . . , u m−1 flowing through the individual electrical components, which we group in the vector u ∈ R m ; nodes are associated with terminal voltages v 0 , . . . , v n−1 , grouped in the vector v ∈ R n . Then, the admittance equation (2) can be written as

74while the current balance at the node i is

75where B i is the i-th row of B and d i is the i-th element of the vector of externally supplied current.

76Merging equations (9) and (10) yields the dynamics of the overall circuit G, in terms of voltages and currents, which is described by the discretized space model [15,5] with equations

77where C = diag{C 0 , C 1 , . . . , C m−1 } is a diagonal matrix whose diagonal elements are the capacities C k , u = [u 0 , u 1 , . . . , u m−1 ] is the vector whose components are the currents along the links of G,d = [d, 0, . . . , 0] ∈ R n is the input current vector, v = [v 0 , v 1 , . . . , v n−1 ] is the vector whose components are the voltages at the nodes of G,v is the time derivative of vector v and φ(·) = [φ 0 (·), φ 1 (·), . . . , φ m−1 (·)] is the vector of the characteristic functions.

78The following general assumption is considered.

79Assumption 2 Each characteristic function φ k : R → R is a possibly nonlinear odd monotonically increasing function and locally Lipschitz.

80This assumption can be weakened by requiring φ k to be monotonically non-decreasing only.

81The shape of a generic characteristic function satisfying Assumption 2 is shown in red in Fig. 3. The assumption implies that, for each link k ∈ L, φ k is invertible. Then, for each k, the function

82where g k . = φ −1 k is the (monotonically increasing) inverse function of φ k , is well defined in (−∞, +∞).

83Functions f k are continuously differentiable. In addition, they are strictly convex, since their derivative g k is an increasing function almost everywhere (f k = g k > 0 almost everywhere; in fact, g k may be not defined in some isolated points, e.g. in u = 0 for g k (u) = u 1/3 ).

84If we assume that φ k is non-decreasing only, then we have convexity but not strict convexity of f k .

The dynamic model

85We report here the stability analysis of the complete model (11), which we can rewrite in the equivalent formv

86The stability of this type of systems has been studied in the literature [33,28]. Consider the steady-state vectorv, such that

87and denote by x the shifted variable defined as x(t) = v(t) −v, whose time variation iṡ

88Since φ is a vector of strictly increasing functions, we can write

89where ∆(v) is a diagonal matrix of strictly positive continuous functions [26,28,29]. Hencė

90Consider the positive definite Lyapunov function candidate V (x) = 1 2 x BCB x, which is the energy stored in the capacitors. Its derivative is negative definite:

91This ensures asymptotic stability of the steady-state solution.

Proof of Proposition 1

92We have to prove that the steady-state current distribution in the network induced by a constant current injectiond, achieved whenv = 0, namely when

93is indeed the current that solves the optimization problem

94where (15) is the flow constraint imposed by Kirchhoff's current law [16].

95In view of the assumptions on φ k , the function f k defined in (12) is continuously differentiable with increasing derivative, hence strictly convex. Therefore, the optimization problem (14)-(15) is strictly convex and has a unique solution, achieved by applying the first order

96Karush-Kuhn-Tucker conditions to the Lagrangian function

97where λ ∈ R n is the vector of Lagrangian multipliers. The derivative with respect to u must be zero, hence we get

98Now, the first derivative of the elements of f is f k = g k , which is invertible with inverse φ k . As

99The solution of the optimization problem is therefore the unique solution of the system (13),

100Interestingly, the Lagrange multiplier vector is the steady-state voltage,

101In the case of non-decreasing functions φ k , we still have convexity but not strict convexity:

102the result holds, but the minimizing distribution may be non-unique.

103Finally note that, in the special case of linear resistances R k , namely when

104Hence, in the nonlinear case, the minimized functional is not the dissipated energy as in the case of linear resistances.

Proof of Proposition 2

105We have to show that the limit optimization problem

106associated with the limit characteristic φ th k (the limit of φ r k as r → ∞), admits as its optimal solution the current distribution with all current d channeled along the shortest path.

107Assume that the injected current is positive: d > 0 (the case d < 0 is identical). Let u * denote the current distribution solving the optimization problem (18)- (19). To keep the proof simple we assume that all links in the network have been oriented in such a way that u k ≥ 0.

108This is not a restriction since link orientation is arbitrary.

Now consider the modified problem

109where the absolute value has been removed and a positivity constraint has been added.

110The solution u * of the previous problem is a feasible solution of the new problem, because its elements are nonnegative by construction. It is also optimal for the new problem. Indeed, if another solutionũ were found with a lower cost, this would be a feasible solution also for the original problem (18)- (19) and would have a cost smaller than that of u * . Now note that, to solve (20)-(22), we can just take d = 1 and then scale the solution (by the true value d > 0). The proof is concluded by noticing that (20)- (22) with d = 1 gives the minimum cost path [16], with optimal cost d m−1 k=0 V k and the whole flow through the minimum cost path. An energetic interpretation is that the solution minimizes the overall power, measured as the product between the current flowing in a link and its dielectric rigidity.

Proof of Theorem 1

111We have to prove that the steady-state solutions u r * associated with the characteristic functions φ r k , which have been shown to be the minimizers of

112converge to the solution of (18)- (19) if this is unique (equivalently, the minimum path is unique).

113Denote by J r and J th the cost functionals of the considered optimization problems,

114Since g r k is strictly increasing, f r k is strictly convex and, in turn, also J r is strictly convex. Hence, the minimizer vector u r * of (14)-(15) is unique.

115Let J th * = J th (u * ) be the optimal cost of the limit problem. For any y, f r k (y) −→ r→∞ V k |y|.

116Then, J r (u) −→ r→∞ J th (u) and, in particular, J r (u * ) −→ r→∞ J th (u * ) = J th * . This means that the sequence of optimal costs {J r (u r * )} r∈N is upper bounded by a sequence {J r (u * )} r∈N that converges to J th * as J r (u r * ) ≤ J r (u * ) −→ r→∞ J th * .

117Functionals J r , for all r, as well as J th , are radially unbounded because they are the sum of non-negative radially unbounded functions f r k . Then, their optimal solutions u * , respectively u r * are finite. In view of (25) there existsJ > 0 for which these solutions u r * are inside the compact set S r * = {u ∈ R m : J r * (u) ≤J} .

118By construction J r (u) converges to J th (u) = V k |u k |, which is radially unbounded. Then, the sequence of sets S r * is uniformly bounded in a compact set S, hence all optimal solutions are uniformly bounded: {u r * } r∈N ∈ S.

119We prove the convergence u r * −→ r→∞ u * by contradiction. We assume that u r * −→ r→∞ u * .

120Negating convergence to u * implies that there exist an open neighborhood, U ⊂ S, of u * and a sub-sequence of u r * that is in the complement of U in S, namely in the compact set S \ U. In turn, this sub-sequence confined in the compact set admits a sub-sub-sequence that converges to some point u • ∈ S \ U. Hence there exist a sub-sequence {ur * }r ∈N of the original {u r * } r∈N that converges to some vector u • = u * , being N = {N 1 , N 2 , . . . } an infinite ordered set of increasing integers. All vectors ur * satisfy the constraint Bur * =d as they are solutions to problem (14)- (15).

121Hence, also the limit vector u • does satisfy Bu • =d. Then, the proof can be concluded by showing that

122which is a contradiction, because it would imply that either J th * is not the optimal as assumed, or (if equality holds) that the optimization problem (18) has two minimum points, u * and u • , against the uniqueness assumption.

123To prove (26), the first step is to note that there exists a finite value g such that, for all k and for all sufficiently large r, g r k (u k ) ≤ g for all u k such that u ∈ S, since g r k (u k ) −→ r→∞ V k and S is a compact set, and hence is bounded. As a consequence, for a sufficiently large r, J r has a uniformly bounded gradient since, for all y, |∂J r /∂u k | (y) = g r k (y) ≤ max u k :u∈S {g r k (u k )} ≤ g .

124Hence, as J r is convex for all r, there exists a constant L such that, for sufficiently large r and for all p, q ∈ S, |J r (p) − J r (q)| ≤ L p − q .

125Then, forr ∈ N sufficiently large, the following inequalities hold: where the last inequality and the limit come from (25) and the fact that {ur * }r ∈N is a subsequence of {u r * } r∈N with limit u o . Then we have shown the contradiction (26), which concludes the proof.

Introduction

126In lightning or gas electrical discharge, the current flow is essentially concentrated along a single path. Under very slow motion it can be seen that lightning starts by generating several branches and then develops by dismissing all of them but a single one, along which the energy is discharged [1]. This phenomenon has been deeply investigated. Several types of lightning are known, which are carefully described, e.g., in [2,3]. As far as the numerical modeling of the phenomenon is concerned, computational models for lightning simulation have been proposed in [4,5,6,7], while the fractal nature of lightning discharge has been investigated in [8,9,10,11]. Detailed surveys on the subject are also available; see, e.g., [12] and [13].

127Here, we do not investigate the whole phenomenon in its complexity. We rather focus on a specific question about path formation in lightning discharge: we are interested in the initial phase of the process, when the lightning path is formed. Also, we consider the ideal case in which the lightning source is a single point and the final destination is a zero-potential ground.

128This type of lightning, classified as Category 1 Lightning, "is the most common cloud-to-ground lightning. It accounts for over 90% of the worldwide cloud-to-ground flashes" [3]. Cloud-toground lightning begins with an initial breakdown and the consequent creation of a ionized channel, the stepped leader, which generates several branches. Once the stepped leader is close to the ground, it may be approached by channels originating from the ground, the connecting leaders. When the stepped leader finally connects the ground to the cloud, the return stroke is triggered, which is a ground-potential upward wave [2,14]. After the return stroke reaches back the cloud, the main branch reaching the ground is crossed by a long-duration discharging current: the continuing currents. In the meanwhile, the secondary branches originally established by the stepped leader are depleted: the continuing currents flow along the main path only [2].

129Why is the lightning current eventually concentrated along a single path? Does this path enjoy any optimality property?

130To mathematically address these questions, we consider an idealized model based on the assumption that lightning is mainly due to a dielectric breakdown of the air (gas in the case of discharges). The current-voltage diagram of a gas is characterized by two regions: for all the voltage values belonging to a symmetric interval around the origin, the current is very low (high resistivity); for voltage values outside this interval, the current becomes very large (low resistivity). The voltage value corresponding to the ends of the interval is called breakdown threshold. Then, we consider an ideal characteristic with conductivity approaching infinity when the electric field is larger than a threshold [15,5].

131Lightning path can be interpreted as the solution of an optimization problem over a network. To formulate the problem, we consider a graph describing an electrical network, where capacitances and resistors with possibly nonlinear characteristic are associated with the links.

132The grid model we use is akin to that proposed in [5,Eq. 5], which is the discretized version of nonlinear field equations [15,5]. We show that the steady-state solution minimizes a convex functional that, in the special case of linear resistors, turns out to be the total dissipated energy.

133Conversely, if the resistor characteristic is a threshold-like function, the steady-state solution becomes the minimum path, where each current link is weighted by its local threshold voltage; hence, the optimal path is the "minimum-threshold path". Our main result is supported by a theorem and reinforced by simulations of randomly generated graphs with random threshold values, showing that the transient behavior of the model can faithfully reproduce the qualitative lightning evolution (see Materials and Methods).

Results

134So, how does lightning optimize its path? To build a model, we consider the electrical grid network in Fig. 1, with a capacitive and a possibly nonlinear resistive effect between adjacent ground v=0 d i j u k Figure 1: The electrical grid model with capacitances and possibly nonlinear resistors connecting adjacent terminals. In the graph representation, each terminal is associated with a node and each electric component with a link.

135terminals. Ground terminals are connected among them with zero resistance (ideal conductor ground) and the ground voltage is v = 0. The network is associated with a graph where the n+1 nodes represent the terminals and the links represent the electric impedances. In particular, node n corresponds to the zero-potential ground, while at the source node 0 a (current or voltage)

136generator is applied, with its other terminal grounded, inducing an input current d that enters the network.

137As shown in Fig. 1, each link is assumed to be the parallel connection of a capacitor and a possibly nonlinear resistor. Injecting a current d in a node of the network leads, after a transient, to a steady state in which the currents flow only through the resistors. If these are linear, the steady-state solution corresponds to the current distribution that minimizes the total dissipated energy [16]:

138where R k is the resistance value associated with link k andū k is the steady-state current flowing through it. In this minimum energy configuration, steady-state currents are scattered all over the network (as in Fig. 2, left). In phenomena such as lightning, the situation is completely different [2,3]: after a transient, lightning "chooses" a single path (as in Fig. 2 Figure 2: The electrical current distribution at steady state: scattered in the case of linear resistances (left); concentrated along a single path in the case of threshold characteristics (right), when the current flows along the path that minimizes the sum of the dielectric rigidities of its links. Yellow (resp. blue) means presence (resp. absence) of flowing current. Assume that, denoting by v i and v j the potentials at the extreme nodes of link k, the resistance obeys the nonlinear law

139where the value of the threshold V k is the local dielectric rigidity of link k. Figure 3: Nonlinear current-voltage and voltage-current characteristics, where v denotes voltage and u current. A generic threshold-like current-voltage characteristic φ, with threshold V (red, left) and its inverse φ −1 (red, right). The ideal, sharp threshold characteristics (blue) can be seen as the limit of a sequence of sharper and sharper threshold-like functions φ and φ −1 .

140If the nonlinear law approaches the ideal limit characteristic, depicted in Fig. 3 (left) along with its inverse characteristics (right), then we have the following results (derived in Materials and Methods).

141• The steady-state current distribution minimizes the energy function J th = k V k |u k |.

142• Considering the family P of all possible paths connecting the source node 0 to the ground node n, the whole injected current d flows along the path P h * ∈ P that minimizes the associated total energy:

143where k ∈ P h denotes that path P h crosses link k.

144• In the transient, the injected current starts flowing along several "tentative" branches.

145When one of these branches -corresponding to the minimum-threshold path -first connects to the ground (in general with the aid of a connecting leader), all the others branches are depleted, as shown in Fig. 4, obtained through simulations that faithfully reproduce this behavior.

Discussion

146Therefore, the analysis of a grid circuit with capacitors and resistors having nonlinear characteristics unravels why flow phenomena such as lightning tend to concentrate the whole current flow along a single path, despite the availability of several admissible routes: this phenomenon is due to the threshold mechanism associated with the dielectric rigidity. In fact, for a nonlinear resistive network model, the solution of the flow equations minimizes a convex functional.

147In the special case of linear resistance, this functional is the dissipated energy. In the case of ); the optimal path is crossed by the long-duration current (steady state). The color map goes from blue (no current) and light blue (low intensity current) to yellow (high intensity current).

148threshold-like nonlinear characteristics, we have proven that the minimized functional is the sum of the currents along the links, weighted by the link threshold; hence, all the current eventually flows through the global minimum path if the links connecting the grid nodes are weighed by their local dielectric rigidity. In real situations, the dielectric rigidity can vary randomly and drastically in space, being a function of the local humidity, temperature, pressure and pollution.

149This explains the seemingly random path of lightning: such a randomness is due to the gas current condition, because the lightning actually searches the right path.

150The threshold model, including capacitive effects among nodes, faithfully describes also the transient and our simulations reproduce the behavior described in [2] and analyzed in [15,5].

151Our model does not take into account inductive effects, considered by some authors in the return stroke analysis [2, pp. 169-170], but this does not invalidate our results because: (i) the minimum path analysis is carried out at steady state,v = 0, when the inductances are equivalent to shortcuts; (ii) the return stroke starts when the stepped leader has reached the ground, hence the path has been already "decided".

152Our analysis reveals that lightning is one of the many phenomena in nature where a spontaneous optimization appears to take place [17,18,19], leading to the most efficient path choice [20]. In our lightning discharge model, the resulting steady-state current flow is globally optimal, even though the current flow is locally determined on the basis of the impedance characteristic of each single link.

Materials and Methods

153The network is modeled as a grid graph with n+1 nodes and m links (more details on our model and our assumptions are in the SI Section 1.1). Node 0 represents the node where a current d is injected. The kth electric component is associated with link k connecting nodes i and j. Its impedance is given by the parallel connection of a capacitance and a possibly nonlinear resistor (cf. Fig. 1 in the main paper), so that the current u k flowing through the component can be written as

154where v i and v j are the voltages at the terminals i and j, while φ k (·) is the resistor currentvoltage characteristic function and C k is the capacitance.

155Function φ k (·) is any symmetric increasing locally Lipschitz, or twice differentiable, function (the case in which φ k (·) is non-decreasing only is considered in the SI Section 1.1). In the case of a linear resistor,

156As mentioned in the main paper, we are interested in threshold-like characteristic functions whose value is close to zero in an interval

157and becomes very large if the voltage crosses the threshold value V k . In Fig. 3, the generic function φ is depicted (red curve, left) along with its inverse function φ −1 (red curve, right).

158Following the description of Category 1 Lightning in [2,3], we distinguish two phases.

159• First, the stepped leader "seeks the path to the ground": the current is relatively low and the capacitance effect dominates, leading to a fast variation of the voltages at the nodes, in the transient evolution of the model.

160• Then, once the stepped leader has connected the cloud to the ground, dielectric breakdown is fully developed and the long-duration discharging current is triggered. We analyze this phase assuming steady-state conditions.

161The initial branching phase is by far shorter than the second phase. Indeed, only by means of special very fast video equipments the first stage can be observed, while the second one can be captured by the human eye as we commonly experience. During the second phase, the current actually varies with time but its variation rate is extremely low with respect to the first phase.

162In both phases, we show that the presence of a threshold mechanism is crucial to enable the observed behavior: it explains both the transient evolution of the phenomenon and the achievement of a minimum-path steady-state configuration.

163We analyze by simulations the initial transient (first phase), during which the path is "decided" and the currents converge to a steady-state distribution.

164First of all, however, we show that in the second phase, after an initial transient, the system converges to a steady-state, i.e., terminal voltages satisfy the conditionv i = 0. In this state, the non-null currents define a single flow along the minimum path in terms of dielectric rigidity.

Steady-state analysis: the chosen path is the minimum path

165We start by showing that a threshold mechanism yields steady-state minimum-path flow.

166We consider the functional

167where the index k refers to the links (see SI Section 1.1 for details). As a first result we have the following proposition, proven in the SI Section 1.3.

168Proposition 1 Given the injected current d, at steady state (v i = 0) the current distribution in the network minimizes the functional given by (3). If the φ k are strictly increasing, the optimal current distribution is unique.

169Note that dimensionally J(u k ) is a power, since φ −1 k (I) is a tension integrated with respect to a current I. Consistently, in the special case of linear resistances R k , namely when Here we are interested in the case in which the resistor characteristic is threshold-like. The ideal threshold function corresponding to a dielectric rigidity value V k is (see Fig. 3, blue)

170This curve is represented in blue in Fig. 3 (left). This ideal characteristics is physically unfeasible and will not be used for our simulations. However, the corresponding optimization problem is still well defined. Indeed, the inverse function of φ th k (the blue curve in Fig. 3, right) is

171and for this choice the functional in (3) becomes

172The following proposition holds and is proven in the SI Section 1.4.

173Proposition 2 Given the injected current d, the admissible (compatible with Kirchhoff's laws) distribution of the steady-state link currentsū th k , k = 0, . . . , m − 1, which minimizes functional (6), corresponds to all the current flowing from the source node to the ground along a minimumthreshold path, namely a path P h * ∈ P (where P is the family of paths from the source node to the ground) that minimizes the cost

174which is the sum of all dielectric rigidities of the links along the path.

175Functional (6) is not strictly convex, hence uniqueness is not ensured (see the SI Sections 1.1 and 1.4 for further details). However, the uniqueness assumption is generically satisfied; in fact, if the dielectric rigidities are randomly generated, the probability of finding two or more minimum paths with the same rigidity is zero, hence we can assume that the minimum path is unique.

176The next step is to show that the closer a characteristic function (red) is to the ideal threshold φ th k (v) (blue) (Fig. 3), the closer the current distribution is to the minimum-path distribution.

177Given a sequence of characteristics φ r k (v), r = 1, 2, . . . which "converge to the ideal one" and are physically feasible, so that the corresponding steady-state solutions are uniquely defined, these steady-state solutions converge to the minimum-path distribution. This property is formalized in the following theorem.

178Theorem 1 Consider a sequence of characteristics φ r k , r = 1, 2, . . . , such that, for all r, the corresponding steady-state current distributionū r k in the links are uniquely defined. Assume that the threshold-like characteristics converge to the ideal one

179Moreover, assume that the minimum path in terms of sum of dielectric rigidities is unique. Then the link current distributionsū r k converge toū th k , u r k →ū th k as r → ∞ , namely, the current distributions converge to the one with the whole current d flowing along the minimum path.

180Function φ th k is an idealized version of the gas dielectric characteristics in which the admittance is virtually zero for small voltage values and very large if the voltage is larger than the threshold value known as dielectric rigidity. In practice, true characteristics can be reasonably approximated [15,5] by a continuous curve that drastically increases after the threshold. The meaning of the theorem is that, if these characteristics are sharp and close to φ th k , then the current tends to flow along the minimum path. The result does not rely on any specific characteristic model: only the property of the characteristics becoming "close to the ideal" is essential.

181In the model, we consider cell-to-cell capacities, but other capacities, such as capacities with respect to the ground, can be considered and the analysis remains valid, since at steady state the current through the capacities is zero. It is also fundamental to remark that the result is topology-independent: we could consider any network topology, not necessarily a grid. Also, we could consider conductive elements on the ground; in this case the lightning may find the minimum cost path as the one that connects the source to the grounded object. Some examples are in Fig. 5.

Transient analysis: seeking the minimum path

182We show here that a threshold mechanism also explains the lighting transient behavior, which can be described by the dynamic model

183This system asymptotically converges to the steady-state conditionv(t) = 0, which leads to the condition Bφ B v(t) = d corresponding to the constraint of the optimization problem considered in the steady-state analysis. A detailed stability analysis is in the SI Section 1.2. The transient analysis has been carried out via simulation, using a standard ODE solver. In particular, to numerically demonstrate the dynamic behavior of the system, we have performed many simulations for different values of the dielectric rigidity. Videos are available to display some particularly significant cases (see the Supplementary Material Movies S1-S6 for details). 1

184The characteristic function φ k (v k ) can be any locally Lipschitz or continuously differentiable function that is non-decreasing and has a very high slope after the threshold. For simulations purposes, we have adopted the piecewise-linear threshold-like functions

185(shown in Fig. 6, left), all with the same plasma conductivity r = 800, whereas V k has been randomly chosen for each link in the interval V k ∈ [0.5 − δ/2, 0.5 + δ/2] with uniform distribution. The variability of the dielectric rigidity is described by δ, while is a very small number representing the negligible conductivity under the threshold V k (we have set = 10 −5 ).

186Other "sharp" characteristic functions would produce the same behavior. We also simulated the system with the polynomial φ k (v k ) = (v k /V k ) 2r+1 (shown in Fig. 6, right), which yields comparable results for large enough r, as expected. Yet, the non-Lipschitz nature of the polynomial function is numerically challenging and requires large computational times and specialized integration routines for stiff systems.

187In all our numerical experiments, the capacitances have been taken all equal. We have set C k = 1 for all k, without restriction, since changing the capacitance value is equivalent to scaling time, hence the steady-state value is unaffected. Fig. 4 reports four instants of the simulation with δ = 0.7 (see Supplementary Material, Movie S5). It can be seen that, for larger variability of the dielectric rigidity, i.e. larger δ, the initial branching activity is more intense.

188However, the asymptotic behavior is qualitatively the same regardless of the value of δ, with no exception: a single branch survives, which is numerically verified to be the minimum path in terms of total dielectric rigidity, as expected.

Decentralization, topology-independence and limitations

189Remarkably, as we have stressed in the main paper, the steady-state current flow in our lightning discharge model is globally optimal, even though the current flow is locally determined on the basis of the impedance characteristic of each single link. In the context of distributed flow control in networks [21], this kind of mechanism is called network-decentralized [22,23,24], and localized strategies have been shown to lead to a globally optimal behavior [25,26,27,28,29,30]. In the considered network-decentralized control strategy, each links locally decides how much current flows through it. This approach is completely different from Dijkstra's decentralized minimum-path algorithm, which is based on decentralized dynamic programming techniques [31,32] and in which the routing decision is made at the nodes: each node locally decides to which of the outgoing links an incoming unit of flow must be redirected. In our setup, a "link decision" is made: each admittance can be interpreted as an agent that locally decides how much current is allowed to flow.

190Our results are independent of the topology of the network, which does not necessarily need to be a grid graph with square cells: other topologies would lead to a minimum path solution.

191However, we stress that our model is far from capturing all the complex aspects of lightning.

192Its validity is limited to the beginning of the phenomenon, until the return stroke is triggered, because in this initial stage the path is chosen. After the stepped leader has reached the ground, the current follows the "chosen minimum path" until the end, as it is experimentally well documented (and confirmed by our simulations), because this path becomes a ionized channel with low resistance. So our model and simulations are not expected to be a faithful quantitative reproduction of the whole lightning process (including discharge endurance, power dissipation and so on), but their significance is limited to the first part. Yet, the qualitative behavior, with the discharge following the minimum path, has been always confirmed with no exception. Moreover, our model does not consider other aspects such as the ground currents, which are not relevant to the path choice. We have considered the so-called Category 1 Lightning, cloud-to-ground, which is the most common type of lightning; however, the model can be adapted to any type of lightning of gas discharge. n corresponds to the zero-potential ground, while at node 0 a (current or voltage) generator is applied, with its other terminal grounded, inducing an input current d that enters the network.

193Consider the k-th electric component of the network, associated with the graph link k ∈ L, k = (i, j), which connects node i to node j: its impedance is given by the parallel connection of a capacitance and a possibly nonlinear resistor, so that the current u k flowing through the component can be written as

194corresponding to the admittance equation (2)), where v i and v j are the voltages at the terminals i and j, while φ k (·) is the resistor current-voltage characteristic function and C k is the capacitance.

195We consider the generalized node-link incidence matrix of the graph G, which is the matrix B ∈ {−1, 0, 1} n×m obtained by assigning an arbitrary direction to each link k = (i, j) of G and setting a 1 entry in position i (source node) and a −1 entry in position j (destination node), and zero elsewhere, in the corresponding k-th column of B, and then removing the row corresponding to node n. In particular, the m columns of B are associated with the links representing the electric components and its n rows are associated with the nodes representing terminals. Links coming from the external environment (associated for instance with an injected current) have a single nonzero entry, equal to −1, corresponding to their destination node and links going to the external environment have a single nonzero entry, equal to 1, corresponding to their source node: in our model, the connections to the external environment are the (zerovoltage) ground and the source of supplied power. The following assumption holds, because we have considered the ground zero-potential node as an external node.

196Assumption 1 The network graph G is connected internally and connected to the external environment. As a consequence, matrix B has full row rank.

197Links are associated with the currents u 0 , . . . , u m−1 flowing through the individual electrical components, which we group in the vector u ∈ R m ; nodes are associated with terminal voltages v 0 , . . . , v n−1 , grouped in the vector v ∈ R n . Then, the admittance equation (2) can be written as

198while the current balance at the node i is

199where B i is the i-th row of B and d i is the i-th element of the vector of externally supplied current.

200Merging equations (9) and (10) yields the dynamics of the overall circuit G, in terms of voltages and currents, which is described by the discretized space model [15,5] with equations

201where C = diag{C 0 , C 1 , . . . , C m−1 } is a diagonal matrix whose diagonal elements are the capacities C k , u = [u 0 , u 1 , . . . , u m−1 ] is the vector whose components are the currents along the links of G,d = [d, 0, . . . , 0] ∈ R n is the input current vector, v = [v 0 , v 1 , . . . , v n−1 ] is the vector whose components are the voltages at the nodes of G,v is the time derivative of vector v and φ(·) = [φ 0 (·), φ 1 (·), . . . , φ m−1 (·)] is the vector of the characteristic functions.

202The following general assumption is considered.

203Assumption 2 Each characteristic function φ k : R → R is a possibly nonlinear odd monotonically increasing function and locally Lipschitz.

204This assumption can be weakened by requiring φ k to be monotonically non-decreasing only.

205The shape of a generic characteristic function satisfying Assumption 2 is shown in red in Fig. 3. The assumption implies that, for each link k ∈ L, φ k is invertible. Then, for each k, the function

206where g k . = φ −1 k is the (monotonically increasing) inverse function of φ k , is well defined in (−∞, +∞).

207Functions f k are continuously differentiable. In addition, they are strictly convex, since their derivative g k is an increasing function almost everywhere (f k = g k > 0 almost everywhere; in fact, g k may be not defined in some isolated points, e.g. in u = 0 for g k (u) = u 1/3 ).

208If we assume that φ k is non-decreasing only, then we have convexity but not strict convexity of f k .

The dynamic model

209We report here the stability analysis of the complete model (11), which we can rewrite in the equivalent formv

210The stability of this type of systems has been studied in the literature [33,28]. Consider the steady-state vectorv, such that

211and denote by x the shifted variable defined as x(t) = v(t) −v, whose time variation iṡ

212Since φ is a vector of strictly increasing functions, we can write

213where ∆(v) is a diagonal matrix of strictly positive continuous functions [26,28,29]. Hencė

214Consider the positive definite Lyapunov function candidate V (x) = 1 2 x BCB x, which is the energy stored in the capacitors. Its derivative is negative definite:

215This ensures asymptotic stability of the steady-state solution.

Proof of Proposition 1

216We have to prove that the steady-state current distribution in the network induced by a constant current injectiond, achieved whenv = 0, namely when

217is indeed the current that solves the optimization problem

218where (15) is the flow constraint imposed by Kirchhoff's current law [16].

219In view of the assumptions on φ k , the function f k defined in (12) is continuously differentiable with increasing derivative, hence strictly convex. Therefore, the optimization problem (14)-(15) is strictly convex and has a unique solution, achieved by applying the first order

220Karush-Kuhn-Tucker conditions to the Lagrangian function

221where λ ∈ R n is the vector of Lagrangian multipliers. The derivative with respect to u must be zero, hence we get

222Now, the first derivative of the elements of f is f k = g k , which is invertible with inverse φ k . As

223The solution of the optimization problem is therefore the unique solution of the system (13),

224Interestingly, the Lagrange multiplier vector is the steady-state voltage,

225In the case of non-decreasing functions φ k , we still have convexity but not strict convexity:

226the result holds, but the minimizing distribution may be non-unique.

227Finally note that, in the special case of linear resistances R k , namely when

228Hence, in the nonlinear case, the minimized functional is not the dissipated energy as in the case of linear resistances.

Proof of Proposition 2

229We have to show that the limit optimization problem

230associated with the limit characteristic φ th k (the limit of φ r k as r → ∞), admits as its optimal solution the current distribution with all current d channeled along the shortest path.

231Assume that the injected current is positive: d > 0 (the case d < 0 is identical). Let u * denote the current distribution solving the optimization problem (18)- (19). To keep the proof simple we assume that all links in the network have been oriented in such a way that u k ≥ 0.

232This is not a restriction since link orientation is arbitrary.

Now consider the modified problem

233where the absolute value has been removed and a positivity constraint has been added.

234The solution u * of the previous problem is a feasible solution of the new problem, because its elements are nonnegative by construction. It is also optimal for the new problem. Indeed, if another solutionũ were found with a lower cost, this would be a feasible solution also for the original problem (18)- (19) and would have a cost smaller than that of u * . Now note that, to solve (20)-(22), we can just take d = 1 and then scale the solution (by the true value d > 0). The proof is concluded by noticing that (20)- (22) with d = 1 gives the minimum cost path [16], with optimal cost d m−1 k=0 V k and the whole flow through the minimum cost path. An energetic interpretation is that the solution minimizes the overall power, measured as the product between the current flowing in a link and its dielectric rigidity.

Proof of Theorem 1

235We have to prove that the steady-state solutions u r * associated with the characteristic functions φ r k , which have been shown to be the minimizers of

236converge to the solution of (18)- (19) if this is unique (equivalently, the minimum path is unique).

237Denote by J r and J th the cost functionals of the considered optimization problems,

238Since g r k is strictly increasing, f r k is strictly convex and, in turn, also J r is strictly convex. Hence, the minimizer vector u r * of (14)-(15) is unique.

239Let J th * = J th (u * ) be the optimal cost of the limit problem. For any y, f r k (y) −→ r→∞ V k |y|.

240Then, J r (u) −→ r→∞ J th (u) and, in particular, J r (u * ) −→ r→∞ J th (u * ) = J th * . This means that the sequence of optimal costs {J r (u r * )} r∈N is upper bounded by a sequence {J r (u * )} r∈N that converges to J th * as J r (u r * ) ≤ J r (u * ) −→ r→∞ J th * .

241Functionals J r , for all r, as well as J th , are radially unbounded because they are the sum of non-negative radially unbounded functions f r k . Then, their optimal solutions u * , respectively u r * are finite. In view of (25) there existsJ > 0 for which these solutions u r * are inside the compact set S r * = {u ∈ R m : J r * (u) ≤J} .

242By construction J r (u) converges to J th (u) = V k |u k |, which is radially unbounded. Then, the sequence of sets S r * is uniformly bounded in a compact set S, hence all optimal solutions are uniformly bounded: {u r * } r∈N ∈ S.

243We prove the convergence u r * −→ r→∞ u * by contradiction. We assume that u r * −→ r→∞ u * .

244Negating convergence to u * implies that there exist an open neighborhood, U ⊂ S, of u * and a sub-sequence of u r * that is in the complement of U in S, namely in the compact set S \ U. In turn, this sub-sequence confined in the compact set admits a sub-sub-sequence that converges to some point u • ∈ S \ U. Hence there exist a sub-sequence {ur * }r ∈N of the original {u r * } r∈N that converges to some vector u • = u * , being N = {N 1 , N 2 , . . . } an infinite ordered set of increasing integers. All vectors ur * satisfy the constraint Bur * =d as they are solutions to problem (14)- (15).

245Hence, also the limit vector u • does satisfy Bu • =d. Then, the proof can be concluded by showing that

246which is a contradiction, because it would imply that either J th * is not the optimal as assumed, or (if equality holds) that the optimization problem (18) has two minimum points, u * and u • , against the uniqueness assumption.

247To prove (26), the first step is to note that there exists a finite value g such that, for all k and for all sufficiently large r, g r k (u k ) ≤ g for all u k such that u ∈ S, since g r k (u k ) −→ r→∞ V k and S is a compact set, and hence is bounded. As a consequence, for a sufficiently large r, J r has a uniformly bounded gradient since, for all y, |∂J r /∂u k | (y) = g r k (y) ≤ max u k :u∈S {g r k (u k )} ≤ g .

248Hence, as J r is convex for all r, there exists a constant L such that, for sufficiently large r and for all p, q ∈ S, |J r (p) − J r (q)| ≤ L p − q .

249Then, forr ∈ N sufficiently large, the following inequalities hold: where the last inequality and the limit come from (25) and the fact that {ur * }r ∈N is a subsequence of {u r * } r∈N with limit u o . Then we have shown the contradiction (26), which concludes the proof.

참고문헌 37건

  1. An Introduction to Lightning Springer eBooks · Springer Nature · 2014 10.1007/978-94-017-8938-7
  2. Nature-Inspired Optimization Algorithms Elsevier eBooks · Elsevier BV · 2021 10.1016/c2019-0-03762-4
  3. Decentralized control strategies for dynamic routing Optimal Control Applications and Methods · Wiley · 2002 10.1002/oca.717
  4. Fractal dimension of lightning discharge Nonlinear processes in geophysics · Copernicus Publications · 1995 10.5194/npg-2-101-1995
  5. The Lightning Discharge 1987
  6. A Discrete Model for the Lightning Discharge Journal of Computational Physics · Elsevier BV · 1998 10.1006/jcph.1998.5985
  7. A linear programming based decentralized routing controller for congested highways Automatica · Elsevier BV · 1999 10.1016/s0005-1098(98)00146-0
  8. Load balancing of dynamical distribution networks with flow constraints and unknown in/outflows Systems & Control Letters · Elsevier BV · 2013 10.1016/j.sysconle.2013.08.001
  9. Fractal Dimension of Dielectric Breakdown Physical Review Letters · American Physical Society · 1984 10.1103/physrevlett.52.1033
  10. Network-Decentralized Control Strategies for Stabilization IEEE Transactions on Automatic Control · Institute of Electrical and Electronics Engineers · 2014 10.1109/tac.2014.2331415
  11. The linear saturated decentralized strategy for constrained flow control is asymptotically optimal Automatica · Elsevier BV · 2013 10.1016/j.automatica.2013.03.029
  12. A comparison of different approaches to simulate a nonlinear channel resistance in lightning return stroke models Journal of Geophysical Research Atmospheres · American Geophysical Union · 2008 10.1029/2007jd009395
  13. The evolution and discharge of electric fields within a thunderstorm Journal of Computational Physics · Elsevier BV · 1989 10.1016/0021-9991(89)90042-9
  14. Nature Optimizes the Swirling Flow in the Human Left Ventricle Physical Review Letters · American Physical Society · 2005 10.1103/physrevlett.95.108101
  15. Mathematical model of lightning stroke development 2008 10.1109/softcom.2008.4669448
  16. A distributed‐circuit return‐stroke model allowing time and height parameter variation to match lightning electromagnetic field waveform signatures Geophysical Research Letters · American Geophysical Union · 2005 10.1029/2005gl024336
  17. Review and evaluation of lightning return stroke models including some aspects of their application IEEE Transactions on Electromagnetic Compatibility · Institute of Electrical and Electronics Engineers · 1998 10.1109/15.736202
  18. On the Representation of the Lightning Return Stroke Process as a Current Pulse Propagating Along a Transmission Line IEEE Transactions on Power Delivery · Institute of Electrical and Electronics Engineers · 2005 10.1109/tpwrd.2004.839188
  19. Towards Enhancement of Performance of K-Means Clustering Using Nature-Inspired Optimization Algorithms The Scientific World JOURNAL · Hindawi Publishing Corporation · 2014 10.1155/2014/564829
  20. Fractal nature of probabilistic model of lightning discharge 2002 10.1109/tencon.2001.949706
  21. Three Dimensional Time Domain Modelling of Lightning IEEE Transactions on Power Delivery · Institute of Electrical and Electronics Engineers · 1987 10.1109/tpwrd.1987.4308198
  22. Overview of Recent Progress in Lightning Research and Lightning Protection IEEE Transactions on Electromagnetic Compatibility · Institute of Electrical and Electronics Engineers · 2009 10.1109/temc.2009.2019267
  23. Nature's way of optimizing Artificial Intelligence · Elsevier BV · 2000 10.1016/s0004-3702(00)00007-2
  24. Compartmental flow control: Decentralization, robustness and optimality Automatica · Elsevier BV · 2015 10.1016/j.automatica.2015.10.046
  25. Nature-Inspired Optimization Algorithms Elsevier eBooks · Elsevier BV · 2014 10.1016/b978-0-12-416743-8.00016-6
  26. Network Flows 2011
  27. Optimal steady state regulation of distribution networks with input and flow constraints 2022 American Control Conference (ACC) · 2016 10.1109/acc.2016.7526768
  28. From Simplicity to Complexity Based on Consensus: A Case Study. arXiv (Cornell University) · Cornell University · 2016
  29. On resilient control of dynamical flow networks Annual Reviews in Control · Elsevier BV · 2017 10.1016/j.arcontrol.2017.01.001
  30. Information Science 2006
  31. Network-decentralised optimisation and control: An explicit saturated solution Automatica · Elsevier BV · 2019 10.1016/j.automatica.2019.02.009
  32. Nuclear positioning facilitates amoeboid migration along the path of least resistance Nature · Nature Portfolio · 2019 10.1038/s41586-019-1087-5
  33. Optimal regulation of flow networks with transient constraints Automatica · Elsevier BV · 2019 10.1016/j.automatica.2019.02.046
  34. A network-decentralised strategy for shortest-path-flow routing 2019 10.1109/cdc40024.2019.9029968
  35. Distributed Biased Min-Consensus With Applications to Shortest Path Planning IEEE Transactions on Automatic Control · Institute of Electrical and Electronics Engineers · 2017 10.1109/tac.2017.2694547
  36. Deleted Work 1955
  37. Information Science Princeton University Press eBooks · Princeton University Press · 2006 10.1515/9781400829286