|
namespace InnovEnergy.Lib.Units.Composite;
|
|
|
|
public class DcBus : Bus
|
|
{
|
|
public Double Power { get; internal init; }
|
|
|
|
public static DcBus FromVoltageCurrent(Double voltage, Double current) => new()
|
|
{
|
|
Voltage = voltage,
|
|
Current = current,
|
|
Power = current * voltage,
|
|
};
|
|
} |