Borrar filtros
Borrar filtros

Multicore Simulation of a Simulink Model

3 visualizaciones (últimos 30 días)
TeraWatt
TeraWatt el 14 de Jun. de 2023
Editada: Gregour Bolton el 22 de Jun. de 2023
Hello,
I have just read about Multicore simulation, and it says that it can be achieved by ONLY using DATAFLOW domain in my Simulink model. However, I have a Simulink model of a Power System Network which includes their control (that mimics the actual FPGA’s functionality) that was developed using standard blocks like Triggered Subsystem, digital delays, and another blocks that DATAFLOW Domain doesn’t support. So my question is Do I need to manually change my model so that it will be compatible with DATAFLOW Domain and then be able to use the Multicore feature? If so, is there an automatic way to do so? What can I use instead of triggered subsystems, and digital delays?
I have got this oportunity to use a Fast Computer (as I was told) that I can use to simulate my model, so How can I best use this powerful computer to run my Simulink Model? Do I need an especial configuration of my Simulink model? is DATAFLOW DOMAIN the only option?.
Just for information this computer has got a processor AMD RYZEN 64 cores, 128 theads. NVIDIA RTXA6000, 48 GB GDDR6.
Thanks in advance
  2 comentarios
Shubh Pareek
Shubh Pareek el 16 de Jun. de 2023
From what i have understood ,you want to do parallel computing using your multiple cores so
I think Parallel computing toolbox can help you in this case.
Other related answers and resources -
I hope this helps with your query .
TeraWatt
TeraWatt el 16 de Jun. de 2023
Editada: TeraWatt el 16 de Jun. de 2023
Thanks for your reply.
So This means that I can keep my model as it is? if so what is the advantage of using Parallel Computing Toolbox and Multicore Simulation (with DATAFLOW domain)?

Iniciar sesión para comentar.

Respuesta aceptada

Gregour Bolton
Gregour Bolton el 16 de Jun. de 2023
Editada: Gregour Bolton el 22 de Jun. de 2023
In some cases, the model needs to be modified to take advantage of the Dataflow domain and multicore. The Dataflow domain is a data driven and statically scheduled execution domain. Blocks that explicitly set sample time or use absolute time such as continuous blocks are incompatible with data driven semantics and need to be placed outside of a Dataflow domain. In many cases these types of blocks can be replaced with MATLAB System blocks or MATLAB Function blocks. Blocks like the Triggered Subsystem are dynamically scheduled and cannot be statically scheduled although you can place a Dataflow domain inside of a Triggered Subsystem.
The Dataflow domain multicore performance is best achieved when there are many computationally complex blocks in a Dataflow domain as these can be load balanced across many cores. The performance improvement depends on how many blocks there are in a Dataflow domain, the distribution of computational complexity across the blocks, the data dependencies of the blocks and the size of the Dataflow domain relative to the rest of the model.
The Dataflow domain allows multicore execution of a single simulation, and the Parallel Computing Toolbox allows multiple simulations to be executed in parallel.
Hope this helps.

Más respuestas (0)

Categorías

Más información sobre Multicore Processor Targets en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by