Connects the PowerDeliveryElement on the phases in bus1AndLinePhases
to the same phases on bus1, and to the correspondingly-indexed phases bus2Phases
on bus2.
Namespace: ElecNetKit.NetworkModellingAssembly: ElecNetKit.Core (in ElecNetKit.Core.dll) Version: 1.1.4771.27370 (1.1.0.0)
Syntax
public void Connect( Bus bus1, IEnumerable<int> bus1AndLinePhases, Bus bus2, IEnumerable<int> bus2Phases )
Parameters
- bus1
- Type: ElecNetKit.NetworkModelling Bus
The first Bus to connect to. Shares common phases with the PowerDeliveryElement.
- bus1AndLinePhases
- Type:
System.Collections.Generic IEnumerable
Int32
The common phases to connect between the PowerDeliveryElement and the Bus.
- bus2
- Type: ElecNetKit.NetworkModelling Bus
The second Bus to connect to.
- bus2Phases
- Type:
System.Collections.Generic IEnumerable
Int32
Phase connections for bus2.
Examples
// key: line phase -> bus1 phase, bus2 phase // 1 -> 1, 2 // 2 -> 2, 3 // 3 -> 3, 1 myPowerDeliveryElement.Connect(bus1, new[] {1,2,3}, bus2, new[] {2,3,1});
See Also