Reinforcement learning with action updated once every few (say 100) time steps

4 views (last 30 days)
Hello,
I am trying to learn a controller in Simulink environment. I am tryng to use reinforcement learning where the action determined by the agent is updated once every few time steps, i.e., an action once determined by the agent is used for by Simulink to run the simulation for a few time steps before it is updated again. Please provide me with suggestions on this. Thank you.

Answers (1)

Shivani
Shivani on 17 Jun 2024
Edited: Shivani on 17 Jun 2024
  1 Comment
Suyash Agrawal
Suyash Agrawal on 17 Jun 2024
Thank you for the response. I understand the workflow and have read the descriptions you have provided. However, my requirement is slightly different. Specifically, after the agent generates an action, I want to simulate my simulink model for 100 time steps at a step time of 0.1ms, and then generate a new action from the agent. Therefore, the step time of simulation is 0.1 ms, whereas the agent need to output action every 10 ms. I hope this clarifies the query further.

Sign in to comment.

Products


Release

R2024a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!