---
# System prepended metadata

title: Electric Blue

---

# Electric Blue

```mermaid
sequenceDiagram

autonumber

participant EW as EWChain
#participant DSB as DSB
participant PV as PV Installation
participant Aggregator as Aggregator/Electric Blue
participant PDU as Physical Delivery Unit
participant DSO as DSO

rect rgba(0, 255, 0, .1)
    par create DIDs
        PV->>EW: createIdentity()
        Note right of PV: Integration with data logger
        EW-->>PV: DID
    and
        Aggregator->>EW: createIdentity()
        EW-->>Aggregator: DID
    and
        PDU->>EW: createIdentity()
        EW-->>PDU: DID
    end

    PV->>PV: sign(offer)

    PV->>Aggregator: signedOffer
    Aggregator->>Aggregator: verify(signedOffer)
end

rect rgba(255, 0, 0, .1)

    alt verified 
        Aggregator->>Aggregator: append(offer)
    else not verified
        Aggregator->>PV: msg(err)
    end

    Aggregator->>Aggregator: offerBundle
    Aggregator-->>Aggregator: Accept/Reject
    
end

rect rgba(0, 255, 0, .1)
    Aggregator->>PDU: signedOffer
    PDU->>PDU: verify(signedOffer)
    alt verified 
        PDU->>DSO: offerInformation
    else not verified
        PDU->>Aggregator: msg(err)
end
end

```