Simulink model deployed in Raspberry Pi is not running in Real-time
조회 수: 1 (최근 30일)
이전 댓글 표시
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
Burak
2025년 1월 9일
이동: Walter Roberson
2025년 1월 9일
Do you have a solution for this, can you help me with this?
답변 (2개)
Raghava S N
2023년 6월 27일
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.
댓글 수: 0
Burak
2025년 1월 9일
Do you have a solution for this, can you help me with this?
댓글 수: 1
Prasanth Sunkara
2025년 1월 13일
편집: Prasanth Sunkara
2025년 1월 13일
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
참고 항목
카테고리
Help Center 및 File Exchange에서 Raspberry Pi Hardware에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!