diff --git a/csharp/Lib/Units/Composite/AcPower.cs b/csharp/Lib/Units/Composite/AcPower.cs index 38a83c742..bc345445c 100644 --- a/csharp/Lib/Units/Composite/AcPower.cs +++ b/csharp/Lib/Units/Composite/AcPower.cs @@ -3,7 +3,6 @@ using static System.Math; namespace InnovEnergy.Lib.Units.Composite; - public record AcPower { public required ActivePower Active { get; init; } @@ -31,4 +30,6 @@ public record AcPower public static implicit operator AcPower(Double p) => new AcPower { Active = p, Reactive = 0 }; public static implicit operator AcPower(Int32 p) => new AcPower { Active = p, Reactive = 0 }; + + public static AcPower Zero => new AcPower { Active = 0, Reactive = 0, }; } \ No newline at end of file