NN-MPC

143 views
Skip to first unread message

Prajwal THAKUR

unread,
Jan 14, 2021, 3:58:35 PM1/14/21
to apmonitor
I'm new to GEKKO and I hope someone could help me a little in right direction.

So, I want to create NN-MPC model,
ie my prediction model will be in a
form of Neural network .
I have found that there is way to
Create NN in gekko, ie by brain module.
However Is there any example of using NN with MPC in gekko?

If not then is it possible?
Thank you!

John Hedengren

unread,
Jan 14, 2021, 4:11:13 PM1/14/21
to APM Google Groups
Here is an example with a Neural Network and MPC: TCLab G - Nonlinear MPC (apmonitor.com) http://apmonitor.com/do/index.php/Main/TCLabG  You can also program an LSTM to emulate PID (or MPC) control as shown here:
https://towardsdatascience.com/emulating-a-pid-controller-with-long-short-term-memory-part-1-bb5b87165b08  That way, you don't need to solve the MPC application each cycle, only use the LSTM prediction that is trained based on prior MPC moves.

-John Hedengren

--
--
APMonitor user's group e-mail list.
- To post a message, send email to apmo...@googlegroups.com
- To unsubscribe, send email to apmonitor+...@googlegroups.com
- Visit this group at http://groups.google.com/group/apmonitor
---
You received this message because you are subscribed to the Google Groups "apmonitor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to apmonitor+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/apmonitor/2441d0e4-6fb4-4dad-bb94-bad8a251a249o%40googlegroups.com.


--
Best regards,

John Hedengren
GEKKO Optimization Suite
Reply all
Reply to author
Forward
0 new messages