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

Method current_step

src/pymgrid/microgrid/microgrid.py:659–668  ·  view source on GitHub ↗

Current step of underlying modules. Returns ------- current_step : int Current step.

(self)

Source from the content-addressed store, hash-verified

657
658 @property
659 def current_step(self):
660 """
661 Current step of underlying modules.
662
663 Returns
664 -------
665 current_step : int
666 Current step.
667 """
668 return self._modules.get_attrs('current_step', unique=True)
669
670 @property
671 def initial_step(self):

Callers

nothing calls this directly

Calls 1

get_attrsMethod · 0.80

Tested by

no test coverage detected