- Reduce the amount of data generated by the model: You can reduce the amount of data generated by the model by using simulation options such as "Limit data points to last" or "Limit data points to first" to control the amount of data saved. You can also consider using the "Decimation" option to reduce the number of data points generated by the model.
- Save data to disk only when necessary: If you need to save data to disk, consider saving it only at the end of each run or at specific intervals. You can also use compression techniques to reduce the size of the saved data.
Memory and Storage issue for parallel simulation
1 次查看(过去 30 天)
显示 更早的评论
I use parrellel simulation to simultate my simulink model. The simulink model needs to run 1200 times, and each run the it will generate 2^23 data point for the output. That amount of data times 1200 run will be >40GB, which is unacceptable for me. Before, I'm using loop to run 1200 times, which is slow, but I get to process data everytime I run and clear the data of prior run. However, now I'm using parrellel simulation which is much faster, but it will save all the points. Is there anyway to solve this problem in parrellel simulation?
0 个评论
回答(1 个)
Divyank
2023-3-9
编辑:Divyank
2023-3-9
Hello @MENGZE WU, there are different ways to handle the large amount of data generated by parallel simulation. Here are some suggestions:
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Oil, Gas & Petrochemical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!