My controlled object is a 7×7 state space expression with three inputs and three outputs. I want to use three parallel agents in reinforcement learning to control these three

3 views (last 30 days)
My controlled object is a 7×7 state space expression with three inputs and three outputs, just like the following picture. I want to use three parallel agents in reinforcement learning to control these three channels respectively, but when training the agent, it always breaks down. The error code is as follows. Is there any effective way to solve this problem? I would be very grateful for your answer.
The error code: ''The derivative of the state in Simulink is not finite, the simulation will stop, and there may be a singularity in the solution.''
I will be very grateful for your answer.
  2 Comments
Emmanouil Tzorakoleftherakis
I would first make sure the simulation works without adding RL agent block. There seems to be a modeling error somewhere. Not sure what you mean by 7x7 state space either. Do you have 7 states?
嘻嘻
嘻嘻 on 4 Nov 2023
First, my model is capable of running without adding RL. Second, my model does have seven states. Perhaps it is precisely because my model is a complex nonlinear model that training always stops because the state solution has a singularity. Thank you very much for your answer. I look forward to your suggestion again.

Sign in to comment.

Answers (0)

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!