Simulink model deployed in Raspberry Pi is not running in Real-time

3 visualizzazioni (ultimi 30 giorni)
I have a simulink model for grid connected PV system. In that model Modbus Slave write blocks are used to store all the power system network measurements, so that these values can be read from other Modbus master device.
The model is successfully built and gets deployed on Raspi with out any errors. I could read the values from another modbus mater. However, the model is running very slowly, and it tooks minutes to reach to the state of 1 sec in simulation.
Please help me, How can I solve this issue.
  2 Commenti
Prasanth Sunkara
Prasanth Sunkara il 21 Giu 2023
Hi Suresh,
Could you clarify what you mean by Simulation here? Do you mean "Monitor & Tune"? It would be great if you could share a screenshot of the Simulink model when it is running so that we can understand which mode of operation you are using.
-Prasanth
Mogilicharla Suresh
Mogilicharla Suresh il 26 Giu 2023
Actually, the model is deployed on Raspi and is running in external mode. No errors. However, when I run the same model in my PC (Simunlink) lets say the out put voltage is reaching 440V at 1 Sec, but on Raspi, the same value is reaching after I wai for few minutes. Is the model gets heavy for Raspi to Run?

Accedi per commentare.

Risposte (1)

Raghava S N
Raghava S N il 27 Giu 2023
Hi Suresh,
You could try increasing the sample time, which forces the model to use lesser number of time steps to simulate your model. Hence, it should decrease the simulation time of the model.

Categorie

Scopri di più su Raspberry Pi Hardware in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by