Skip to content

openg2g.common

openg2g.common

Cross-cutting types shared across component families.

ThreePhase dataclass

Three-phase quantity. Access via .a, .b, .c.

Attributes:

Name Type Description
a float

Phase A value.

b float

Phase B value.

c float

Phase C value.

Source code in openg2g/common.py
@dataclass(frozen=True)
class ThreePhase:
    """Three-phase quantity. Access via `.a`, `.b`, `.c`.

    Attributes:
        a: Phase A value.
        b: Phase B value.
        c: Phase C value.
    """

    a: float
    b: float
    c: float