public void LinkNetworkComponents(int numberOfPhasors, int numberofShuntBreakers)
        {
            for (int i = 0; i < numberOfPhasors; i++)
            {
                VoltagePhasorGroup voltagePhasorGroup = new VoltagePhasorGroup();
                Voltages.Add(voltagePhasorGroup);
            }

            for (int i = 0; i < numberofShuntBreakers; i++)
            {
                Switch shuntBreaker = new Switch();
                ShuntBreakers.Add(shuntBreaker);
            }
        }
        public void LinkNetworkComponents(int numberOfPhasors, int numberofShuntBreakers)
        {
            for (int i = 0; i < numberOfPhasors; i++)
            {
                Phasor voltage = new Phasor();
                Voltages.Add(voltage);
            }

            for (int i = 0; i < numberofShuntBreakers; i++)
            {
                CapBank shuntBreaker = new CapBank();
                ShuntBreakers.Add(shuntBreaker);
            }
        }