XML Translation with AI

How to translate Buses

flowchart TB
    subgraph ieee14_EQ.xml
        A[ConnectivityNode] -->|Extract| B[Bus Name]
        A -->|Extract| C[ConnNCont f_ID]
        C -->|Use ID to find| D[VoltageLevel ID]
        D -->|Find| E[VoltageLevel.BaseVoltage f_ID]
        E --> |Use ID to find| P[BaseVoltage ID]
        P -->|Get| F[BaseVoltage.nominalVoltage]
    end

    subgraph ieee14_TP.xml
        A -->|Use PK to find| H[ConnectivityNode FK]
        H -->|Extract| G[ConnN.TopologicalNode FK]
    end

    subgraph ieee14_SV.xml
        G -->|Use FK to find| I[SvVoltage.TopoNode f_ID]
        I -->|Extract| J[angle]
        I -->|Extract| K[voltage v]
    end

    subgraph Calculations
        F -->|Input| L[Calculate V_B]
        L[V_B = baseVoltage × 1000]
        
        K -->|Input| M[Calculate V_0]
        F -->|Input| M
        M[V_0 = SvVoltage.v / baseVoltage]
        
        J -->|Input| N[Calculate angle_0]
        N[angle_0 = angle × π/180]
    end

    subgraph Output
        L --> O[Final Output]
        M --> O
        N --> O
        O[V_B, V_0, angle_0]
    end

	classDef xmlFile fill:#FFE0B2,stroke:#E65100,color:#803300
	classDef calc fill:#f3e5f5,stroke:#4a148c,color:#00695C
	classDef output fill:#e8f5e9,stroke:#1b5e20,color:#B71C1C
    
    class A,B,C,D,E,F,P xmlFile
    class G,H xmlFile
    class I,J,K xmlFile
    class L,M,N calc
    class O output

For website mermaid version 5.

flowchart TB
    subgraph ieee14_EQ.xml
        A[ConnectivityNode] -->|Extract| B[Bus Name]
        A -->|Extract| C[ConnNCont f_ID]
        C -->|Use ID to find| D[VoltageLevel ID]
        D -->|Find| E[VoltageLevel.BaseVoltage f_ID]
        E --> |Use ID to find| P[BaseVoltage ID]
        P -->|Get| F[BaseVoltage.nominalVoltage]
    end

    subgraph ieee14_TP.xml
        A -->|Use PK to find| H[ConnectivityNode FK]
        H -->|Extract| G[ConnN.TopologicalNode FK]
    end

    subgraph ieee14_SV.xml
        G -->|Use FK to find| I[SvVoltage.TopoNode f_ID]
        I -->|Extract| J[angle]
        I -->|Extract| K[voltage v]
    end


    subgraph Calculations
        F -->|Input| L[Calculate V_B]
        K -->|Input| M[Calculate V_0]
        J -->|Input| N[Calculate angle_0]
    end

    subgraph Output
        L --> O[Final Output]
        M --> O
        N --> O
    end