Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

Hi,
I created a simple Julia solution to connect this MPC to OPCUA and for a MPC HMI (using Pluto).
The code is attached.
Let me know if these are topics that you would like to include and develop here in this work.
Pluto_MPC_2025_1.zip

You must be logged in to vote

Replies: 7 comments · 2 replies

Comment options

Yes, a really cool project of @martinkosch!

It would be really nice to be the first conditional loading of code (Extensions) of ModelPredictiveControl.jl. The weak dep would be Open62541.jl, with loading of a new public small API to interface with Open62541.

Any ideas/thoughts on that topic @baggepinnen ?

You must be logged in to vote
2 replies
@franckgaga
Comment options

and HMIs in Pluto is certainly a nice idea to explore @fonsp 😄

@baggepinnen
Comment options

I think it would almost certainly be better to keep this in a separate package rather than in a package extension here. The benefits of doing so are several

  • They can be versioned separately, in particular, if the extension needs to make a breaking change that will not affect MPC.jl in any way at all.
  • If the interest in maintaining the extension is suddenly lost, no harm done to the main MPC.jl. This happens frequently in the ecosystem despite maintainers best intentions, life takes a different path.
  • CI of the main package is not slowed down by additionally testing these features, instead, they are only tested when a change in the separate package is made.
Comment options

Hi, I created a simple Julia solution to connect this MPC to OPCUA and for a MPC HMI (using Pluto). The code is attached. Let me know if these are topics that you would like to include and develop here in this work. Pluto_MPC_2025_1.zip

@caxelrud do you have a projet environnement for Example_2025_1.jl (the Project.toml and the Manifest.toml files)?

You must be logged in to vote
0 replies
Comment options

The following lines need to be commented out as:

#include("KEP_HTTPLib_1.jl")
#using .KEP_HTTP_Module
You must be logged in to vote
0 replies
Comment options

I am using the default environment. These are the files:
Project.zip

You must be logged in to vote
0 replies
Comment options

Hi,
Also testing OPCUA to MPC communication using Telegraf. More info at:
https://github.com/influxdata/telegraf/blob/master/plugins/inputs/opcua/README.md
I will send more info asap.

You must be logged in to vote
0 replies
Comment options

I did some HMI development using Pluto including the OPCUA Server and a linear MPC model, tuning and parameters. The information is saved to file. I am combining the previous MPC trends views (previous post here) with these new development. The OPCUA server is now a separated process. Check the attached files.
MPC_HMI_2.zip
Pluto_MPC_2025_2A.pdf
Pluto_MPC_2025_2B.pdf

You must be logged in to vote
0 replies
Comment options

Super interesting work @caxelrud, will try to look on it soon! I'm working on new collocation methods right now.

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
💡
Ideas
Labels
None yet
3 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.