namespace InnovEnergy.Lib.StatusApi.Phases; /// A phase must have at least a known Voltage and Current. /// For DC this is already enough. /// For AC the values have to be in RMS (not amplitude or P2P) /// Power can be inferred, P = UI public abstract class Phase { public Decimal Voltage { get; init; } // U, non-negative public Decimal Current { get; init; } // I, sign depends on device type, see sign convention above }