find_islands

find_islands(mpc)

find_islands() - Finds islands in a network.

GROUPS = FIND_ISLANDS(MPC)
[GROUPS, ISOLATED] = FIND_ISLANDS(MPC)

Returns the islands in a network. The return value GROUPS
is a cell array of vectors of the bus indices for each island.
The second and optional return value ISOLATED is a vector of
indices of isolated buses that have no connecting branches.

See also extract_islands(), connected_components().