Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce new scheduling protocol #650

Closed
sebastian-peter opened this issue Nov 13, 2023 · 3 comments · Fixed by #652
Closed

Introduce new scheduling protocol #650

sebastian-peter opened this issue Nov 13, 2023 · 3 comments · Fixed by #652
Assignees
Labels
enhancement New feature or request

Comments

@sebastian-peter
Copy link
Member

The new scheduling protocol includes a bunch changes:

  • activations are scheduled without trigger, there is only a simple activation with the current tick
  • completions only include the ActorRef of the actor that is completed (no more trigger id) and possibly a new tick
@sebastian-peter sebastian-peter added the enhancement New feature or request label Nov 13, 2023
@sebastian-peter sebastian-peter self-assigned this Nov 13, 2023
@danielfeismann
Copy link
Member

Some minor side whish that may could be added here: In all_tbw we actually have some fixed timeOut for SimScheduler which is hard coded to ten minutes which could/should be supported by config to make this adaptable.

@sebastian-peter
Copy link
Member Author

@danielfeismann I believe that timeout was for debugging purposes anyways, since after that time passed, scheduler state was dumped

@danielfeismann
Copy link
Member

@sebastian-peter True, this one only logs. I miss interpreted this. There is another timeout with the same duration...

sebastian-peter added a commit that referenced this issue Nov 19, 2023
…tocol

# Conflicts:
#	src/main/scala/edu/ie3/simona/ontology/messages/SchedulerMessage.scala
#	src/main/scala/edu/ie3/simona/scheduler/ScheduleLock.scala
#	src/main/scala/edu/ie3/simona/scheduler/Scheduler.scala
#	src/main/scala/edu/ie3/simona/scheduler/TimeAdvancer.scala
#	src/main/scala/edu/ie3/simona/sim/setup/SimonaSetup.scala
#	src/test/scala/edu/ie3/simona/agent/grid/DBFSAlgorithmParticipantSpec.scala
#	src/test/scala/edu/ie3/simona/agent/grid/DBFSAlgorithmSupGridSpec.scala
#	src/test/scala/edu/ie3/simona/scheduler/ScheduleLockIT.scala
#	src/test/scala/edu/ie3/simona/scheduler/ScheduleLockSpec.scala
#	src/test/scala/edu/ie3/simona/scheduler/SchedulerSpec.scala
#	src/test/scala/edu/ie3/simona/service/primary/PrimaryServiceProxySpec.scala
sebastian-peter added a commit that referenced this issue Nov 19, 2023
# Conflicts:
#	src/main/scala/edu/ie3/simona/ontology/messages/SchedulerMessage.scala
#	src/main/scala/edu/ie3/simona/scheduler/ScheduleLock.scala
#	src/main/scala/edu/ie3/simona/scheduler/Scheduler.scala
#	src/main/scala/edu/ie3/simona/scheduler/TimeAdvancer.scala
#	src/test/scala/edu/ie3/simona/agent/grid/DBFSAlgorithmParticipantSpec.scala
#	src/test/scala/edu/ie3/simona/agent/grid/DBFSAlgorithmSupGridSpec.scala
#	src/test/scala/edu/ie3/simona/scheduler/ScheduleLockIT.scala
#	src/test/scala/edu/ie3/simona/scheduler/ScheduleLockSpec.scala
#	src/test/scala/edu/ie3/simona/scheduler/SchedulerSpec.scala
#	src/test/scala/edu/ie3/simona/service/primary/PrimaryServiceProxySpec.scala
sebastian-peter added a commit that referenced this issue Nov 19, 2023
# Conflicts:
#	src/test/scala/edu/ie3/simona/scheduler/ScheduleLockIT.scala
sebastian-peter added a commit that referenced this issue Nov 20, 2023
# Conflicts:
#	src/main/scala/edu/ie3/simona/api/ExtMessageUtils.scala
sebastian-peter added a commit that referenced this issue Nov 23, 2023
# Conflicts:
#	src/main/scala/edu/ie3/simona/agent/grid/GridAgentController.scala
#	src/main/scala/edu/ie3/simona/agent/participant/ParticipantAgent.scala
#	src/main/scala/edu/ie3/simona/sim/setup/SimonaStandaloneSetup.scala
#	src/test/scala/edu/ie3/simona/agent/grid/DBFSAlgorithmParticipantSpec.scala
#	src/test/scala/edu/ie3/simona/agent/participant/ParticipantAgentFundamentalsSpec.scala
#	src/test/scala/edu/ie3/simona/agent/participant/ParticipantAgentMock.scala
#	src/test/scala/edu/ie3/simona/agent/participant/WecAgentModelCalculationSpec.scala
sebastian-peter added a commit that referenced this issue Nov 28, 2023
…se-switch

# Conflicts:
#	src/main/scala/edu/ie3/simona/scheduler/SchedulerData.scala
sebastian-peter added a commit that referenced this issue Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants