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

Method initial_step

src/pymgrid/microgrid/microgrid.py:671–682  ·  view source on GitHub ↗

Initial step at which to start underlying timeseries data. The step to which :attr:`.current_step` is reset to when calling :meth:`.reset`. Returns ------- initial_step : int Initial step.

(self)

Source from the content-addressed store, hash-verified

669
670 @property
671 def initial_step(self):
672 """
673 Initial step at which to start underlying timeseries data.
674
675 The step to which :attr:`.current_step` is reset to when calling :meth:`.reset`.
676
677 Returns
678 -------
679 initial_step : int
680 Initial step.
681 """
682 return self._initial_step
683
684 def _get_module_initial_step(self):
685 try:

Callers

nothing calls this directly

Calls 1

_set_initial_stepMethod · 0.95

Tested by

no test coverage detected