Instantiates a new NetworkModel.
Namespace: ElecNetKit.NetworkModellingAssembly: ElecNetKit.Core (in ElecNetKit.Core.dll) Version: 1.1.4771.27370 (1.1.0.0)
Syntax
public NetworkModel( Dictionary<string, Bus> Buses, Collection<Line> Lines, Collection<Load> Loads, Collection<Generator> Generators, Complex Losses, Bus SourceBus )
Parameters
- Buses
- Type: System.Collections.Generic Dictionary String, Bus
All the buses in the network.
- Lines
- Type: System.Collections.ObjectModel Collection Line
All the lines in the network.
- Loads
- Type: System.Collections.ObjectModel Collection Load
All the loads in the network.
- Generators
- Type: System.Collections.ObjectModel Collection Generator
All the generators in the network.
- Losses
- Type: System.Numerics Complex
The losses (in kVA) across the whole network.
- SourceBus
- Type: ElecNetKit.NetworkModelling Bus
The source bus (fixed bus) of the network.
See Also