Reinforcement learning with Simulink and Simscape

1 vue (au cours des 30 derniers jours)
David David
David David le 10 Juin 2021
Commenté : Karim Darwich le 28 Juin 2024
Hi,
improving control of physical systems with Reinforcement learning is tempting and might lead to real improvements.
If we considere a physical domain like Thermal for example, reinforcement learning would require to build a model to achieve offline training.
Are there limitations that would prevent the use of Simulink+Simscape to do this (algebraic loop issues for example)?
BR
David

Réponses (1)

Emmanouil Tzorakoleftherakis
Even outside the thermal domain, you most likely need to start with a simulation model. RL does not need to build that model necessarily (e.g. model-free methods).
You can certainly use Reinforcement Learning Toolbox with Simulink and Simscape without issues, assuming you have a Simulinm model that simulates without errors outside of RL. You may still run into algebraic loops depending on the problem, but these do not prevent you from applying RL (quick fix is to try adding a delay).
  1 commentaire
Karim Darwich
Karim Darwich le 28 Juin 2024
I have that algebraic loop problem because my Agent specifies the mass flow but the initial condition of my unit delay changes the simulation it's like the initial condition specifies the mass flow not the agent calculation do you have any idea how to solve this kind of problem

Connectez-vous pour commenter.

Catégories

En savoir plus sur Simscape Electrical dans Help Center et File Exchange

Produits


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by