Skip to content

Commit

Permalink
added finalize to ComputingSystem
Browse files Browse the repository at this point in the history
  • Loading branch information
marvin-steinke committed Sep 22, 2024
1 parent cbe079b commit 50dc2f7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions vessim/actor.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,10 @@ def state(self, now: datetime) -> dict:
"nodes": {signal.name: -signal.now(at=now) for signal in self.nodes},
}

def finalize(self) -> None:
for node in self.nodes:
node.finalize()


class _ActorSim(mosaik_api_v3.Simulator):
META = {
Expand Down

0 comments on commit 50dc2f7

Please sign in to comment.