Borrar filtros
Borrar filtros

Memory and Storage issue for parallel simulation

2 visualizaciones (últimos 30 días)
MENGZE WU
MENGZE WU el 2 de Mzo. de 2023
Editada: Divyank el 9 de Mzo. de 2023
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?

Respuestas (1)

Divyank
Divyank el 9 de Mzo. de 2023
Editada: Divyank el 9 de Mzo. de 2023
Hello @MENGZE WU, there are different ways to handle the large amount of data generated by parallel simulation. Here are some suggestions:
  • 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.

Categorías

Más información sobre Oil, Gas & Petrochemical en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by