Custom NN Plant for model predictive Controll

35 ビュー (過去 30 日間)
Jan Küpper
Jan Küpper 2022 年 5 月 27 日
回答済み: Milan Bansal 2023 年 10 月 5 日
I have trained a feedfoward network in Python Keras and would like to use it as a model for the MPC. Is this possible? And if so is there a tutorial for this?
I am able to export the weight matrices from Keras. But I am not familiar with the MPC Toolbox and therefore do not know what to look for.

回答 (1 件)

Milan Bansal
Milan Bansal 2023 年 10 月 5 日
Hi Jan Küpper,
As per my understanding you want to know how to import a pretrained Python Keras Model into MATLAB so that it can be used as a model for Model Predictive Controller (MPC).
It is possible to import a pretrained Python Keras Model into MATLAB by using "importNetworkFromTensorFlow" function. Please refer to the following documentation link to learn more about "importNetworkFromTensorFlow" function.
This model can be used to design a Neural Network Predictive Controller. Please refer to the following documentation link for more information.
Please refer to the following documentation link for more information on Model Predictive Controller.
Hope this helps!

カテゴリ

Help Center および File ExchangeController Creation についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by