public override void UpdateValues() { CurrentThrough += (VoltageAccross / PrimaryValue) * SystemGrid.TimeSpace; Console.WriteLine("current: " + CurrentThrough.ToString()); }
public override void UpdateValues() { VoltageAccross += (CurrentThrough / PrimaryValue) * SystemGrid.TimeSpace; Console.WriteLine("Voltage: " + VoltageAccross.ToString()); Console.WriteLine("Current " + CurrentThrough.ToString()); }