GroupBase.get_all_idxes#
- GroupBase.get_all_idxes()[source]#
Return all the devices idx in this group.
Note
New in version 1.9.3.
- Returns:
- list
List of indices.
Notes
The default models sequence depends on the order of the models in the group, which comes from OrderedDict file_classes in models.__init__.py.
Examples
>>> ss = andes.load(andes.get_case('ieee14/ieee14_pvd1.xlsx')) >>> ss.DG.get_all_idxes() [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
>>> ss.StaticGen.get_all_idxes() [2, 3, 4, 5, 6, 1]