Simulink model deployed in Raspberry Pi is not running in Real-time
Ältere Kommentare anzeigen
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.
3 Kommentare
Prasanth Sunkara
am 21 Jun. 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
am 26 Jun. 2023
Burak
am 9 Jan. 2025
Verschoben: Walter Roberson
am 9 Jan. 2025
Do you have a solution for this, can you help me with this?
Antworten (2)
Raghava S N
am 27 Jun. 2023
0 Stimmen
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.
Burak
am 9 Jan. 2025
0 Stimmen
Do you have a solution for this, can you help me with this?
1 Kommentar
Prasanth Sunkara
am 13 Jan. 2025
Bearbeitet: Prasanth Sunkara
am 13 Jan. 2025
Deploying Physical models(like PV systems etc from Simscape) can get computationally heavy on Raspberry Pi. However, based on how the system is modelled in Simulink it maybe possible to deploy some of these on Raspberry Pi.
Please reach out to MathWorks technical support for deeper discussion on your specific scenario.
Thanks,
Prasanth
Kategorien
Mehr zu MATLAB Support Package for Raspberry Pi Hardware finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
