Forum breadcrumbs - You are here:ForumDevelopment: DevelopmentPlant model.
You need to log in to create posts and topics.

Plant model.

In a control system, one has a plant model. For example, a PID regulator (implemented on an Arduino) is controlling the power of a heat radiator in a room. The goal is to keep a stable temperature while the temperature outside is changing. There is a thermal energy flow through the walls, and the room has some heat capacity.
So, we need to have a model for the temperature variation in the room, and we call that the plant model. The plant model should be written in Python.

My idea is to develop a new component, called 'Plant model', that can handle this through:
- It has one or several inputs
- It has one or several outputs
- Inside the component (server), it communicates through tcp/ip with a client, and it is in the client that the Python code runs.

Do people think this is a good idea? If so. I will try to develop it.

I think this could be done with scripts.
But why the plant model should be written in Python?

On the client side you can use any language. I mainly wrote it, since I think most 'model people' I know use that.

I will try to implement this and see if it becomes any good.