• No se han encontrado resultados

2. EL DIVORCIO EN COLOMBIA: MODELO CAUSALISTA

2.4. Últimos pronunciamientos jurisprudenciales:

Consider the undirected graph (N, A) with node set N, and weighted adja- cency matrix A = [aij]. The objective of the consensus protocol is to find the average of the |N |-dimensional vector h. Each node i holds an estimate of the average denoted by ˜hi, which is updated iteratively through commu- nication only with neighbours Ni = {j ∈ N :aij = 0}. The basic iterative, synchronous consensus protocol can be defined as follows over iterations k:

˜

h(ik+1) = ˜h(ik)+ξ

j∈Ni

h(jk)˜h(ik)), (6.15) whereξis the step size. Given a step sizeξ (0,1/Δ] for Δ = maxi(j=iaij) and given initial estimates ˜h(0)i =hi, the synchronous consensus protocol will converge such that ˜h(ik)= N1 jhj, ∀i∈ N as k → ∞[160].

Averaging consensus relies on maintaining the average value across the network after each iteration k. Specifically

i∈N ˜ h(ik)= i∈N hi, ∀k. (6.16)

6. Asynch. Consensus for Dist. Primal Dual Sol. to the Smart Grid OPF Prob.

If (6.15) is performed asynchronously, for example if not all nodes are up- dated at each iteration, then the consensus result will not give the average of the initial condition and (6.16) will not be maintained [161]. Asynchronous, averaging consensus protocols have been presented in the literature and typ- ically employ a Symmetric Gossip strategy (a description of which is pre- sented in [166]). However existing implementations of this strategy require some form of local synchronization [163], explicit pairing (agreement between neighbours as to who controls communication) [167] or blocking [162]. Next we present a simple asynchronous averaging consensus protocol that avoids the need for these mechanisms and possesses the following properties:

Distributed: No central controller or leader agent.

Asynchronous: No inter-agent synchronization.

Implicit pairing: No blocking or explicit pairing.

Averaging: Average consensus is reached.

Tracking: Average is tracked as network state changes.

If protocol (6.15) is applied for a single update, for example when a single node i performs an update at iteration k, then after the update is complete the sum of value estimates in (6.16) will be incorrect by a factor of

ξj∈N ih

(k)

j ˜h(ik)). To maintain the average an amount can be subtracted from each neighbour’s estimate. This amount does not have to be subtracted immediately and can be queued by each neighbour and subtracted when it next performs an update. We specify the consensus correction variablewi to store this value and the resulting protocol is presented in algorithm 9.

Algorithm 9 maintains the average

i∈N

h(ik)+w(ik)) = i∈N

hi, ∀k, (6.19)

even though the asynchronous nature of the algorithm, defined by the update set S(k), implies some nodes may not be updated at iteration k.

In practice, we can’t assume that updates forwi will not occur in parallel. Therefore all such requests should be queued. Additionally, since a single failure to updatewi will cause the average to be shifted and condition (6.19) to be breached, it is important that these updates require an acknowledge message from each neighbour.

Given non-empty update setS(k), and ignoring constraint (6.19) such that

w(ik) = 0, ∀i, k, the update (7.20) can be synchronously defined in matrix

6. Asynch. Consensus for Dist. Primal Dual Sol. to the Smart Grid OPF Prob.

Algorithm 6 Asynchronous Consensus Protocol

Initialize ˜h(0)i =hi, wi(0) = 0, ∀i∈ N.

For k = 1,2, . . .:

1. Choose the set of nodesS(k) ⊆ N to update.

2. For each i∈ S(k):

2.1 Update average estimate: ˜ h(ik+1) = ˜h(ik)+ξ j∈Nih(jk)˜hi(k))−w(ik). (6.17) 2.2 For each j ∈ Ni: w(jk+1) =wj(k)+ξh(jk)˜h(ik)). (6.18) 2.3 Reset wi(k+1) = 0. form as follows: ˜ h(k)= " k $ l=0 P(l) # h, (6.20)

where P is the Perron matrix and is defined as

P(k) =I−ξD(k), Dij(k) = ⎧ ⎨ ⎩ |Ni| j =i and i∈ S(k), 1 j ∈ Ni and i∈ S(k), 0 otherwise, (6.21)

where I is the identity matrix, and |Ni| is the cardinality of the neighbour set of node i.

Theorem 6.4.1. Assume there exists a positive constant m such that for the sequence {k, k+ 1, . . . , k+m} the graph associated with the matrix

%k+m

l=k P

(l) is fully connected for allk. Then under the iterations specified by

algorithm 9, and given step size 0 < ξ < 1/Δ for Δ = maxi|Ni|, all local estimates ˜hi converge to the average of the initial valueshi as k → ∞, such that

˜

h(ik) |N |1

i∈N

6. Asynch. Consensus for Dist. Primal Dual Sol. to the Smart Grid OPF Prob.

Remark. The assumption on the connectivity of the product of Peron ma- trices can be understood intuitively as there being a uniform upper bound on the number of iterations required before information from one agent can propagate through the network to any other agent.

The following proof is adapted for the asynchronous case from the syn- chronous convergence analysis provided by [160].

Proof. It can be seen from the updates in (6.20) that a consensus is reached if the limit limk→∞%kl=+kmP(l) exists. Having 0 < ξ < 1/Δ gives D

ii < 1, and 0 < Pii<1, ∀i, and also 0< Pij, i=j. It then follows that the matrix

%k+m

l=k P

(l) has the follows properties:

1. All diagonal elements are non-negative, 2. All off-diagonal elements are positive,

3. The digraph associated with the matrix is strongly connected.

Therefore the matrix is primitive and according to Lemma 4 from [160] we can say that limk→∞%kl=+kmP

(l) exists. It then follows that ˜h(k)

i = ˜h(jk), ∀i, j ∈ N as k → ∞.

The average conservation variable wi can be considered a bias in the updates of (7.20), which does not affect the stability analysis of the algorithm [160]. Given the consensus of the variables ˜h(ik)and since each node is updated such that wi(k) = 0 at least every m iterations, it follows from (7.21) that

w(ik) 0 as k → ∞. Then (6.19) gives i∈N ˜h(ik) = i∈N hi and from consensus ˜h(ik) N1 i∈Nhi, ∀i∈ N.

The preceding proof states that a bias does not affect the stability anal- ysis. This can be seen by following the progression of the average condition with biases added:

i∈N ˜ h(ik) = i∈N " hi+ k−1 j=0 b(ij) # . (6.23)

Therefore adding a bias is equivalent to modifying the initial state in terms of (6.16). It follows that the average condition will converge ifi∈Nkj=01b(ij) C, for some C∈(−∞,∞).

For an analysis of the optimal choice of tuning parameter ξ the reader is referred to [168] where an eigenvalue analysis of the Laplacian provides both admissible and optimal values. This applies to the synchronous case, but extends to the asynchronous case by replacing the Laplacian with its expectation.

6. Asynch. Consensus for Dist. Primal Dual Sol. to the Smart Grid OPF Prob.