#1947: node startup/shutdown now take multiple timesteps to complete

This commit is contained in:
Czar.Echavez
2023-10-24 10:11:50 +01:00
parent 724beb1a29
commit 8b85d5d55b
8 changed files with 121 additions and 45 deletions

View File

@@ -499,9 +499,13 @@ class Folder(FileSystemItemABC):
def apply_timestep(self, timestep: int):
"""
Used to run the actions that last over multiple timesteps.
Apply a single timestep of simulation dynamics to this service.
:param: timestep: the current timestep.
In this instance, if any multi-timestep processes are currently occurring (such as scanning),
then they are brought one step closer to being finished.
:param timestep: The current timestep number. (Amount of time since simulation episode began)
:type timestep: int
"""
super().apply_timestep(timestep=timestep)