MCPcopy Create free account
hub / github.com/ahalev/python-microgrid / module_list

Method module_list

src/pymgrid/microgrid/microgrid.py:853–863  ·  view source on GitHub ↗

List of all modules in the microgrid. Returns ------- list The list of modules

(self)

Source from the content-addressed store, hash-verified

851
852 @property
853 def module_list(self):
854 """
855 List of all modules in the microgrid.
856
857 Returns
858 -------
859 list
860 The list of modules
861
862 """
863 return self._modules.to_list()
864
865 @property
866 def n_modules(self):

Callers

nothing calls this directly

Calls 1

to_listMethod · 0.45

Tested by

no test coverage detected