Add timestep function

This commit is contained in:
Marek Wolan
2023-07-31 11:39:33 +01:00
parent fa2cdf853c
commit a486780fba

View File

@@ -44,3 +44,12 @@ class SimComponent(BaseModel):
def _possible_actions(self) -> Dict[str, Callable[[List[str]], None]]:
return {}
def apply_timestep(self) -> None:
"""
Apply a timestep evolution to this component.
Override this method with anything that happens automatically in the component such as scheduled restarts or
sending data.
"""
pass