namespace InnovEnergy.Lib.Units.Composite; public record DcBus : Bus { protected DcBus() {} public ActivePower Power { get; protected init; } public static DcBus FromVoltageCurrent(Voltage voltage, Current current) => new() { Voltage = voltage, Current = current, Power = current.Value * voltage.Value, }; }