Please note that OPAL-RT knowledge base is not fully optimized for mobile platforms.
For optimal experience, use a desktop computer.
Reference Number: AA-02097 // Views: 2 // Created: 2022-09-27 21:00:06 // Last Updated: 2022-09-27 21:01:26
How To Decouple Models to Make Communication Protocols Run on One Core
The communication decoupling from the circuit can contribute to reducing the stretched steps and improve the computational performance.
Using this approach, it can alleviate the delays caused by the communication driver.
This is especially important when you have a large model running on many cores and there are multiple values from communication protocols being exchanged throughout the model. What happens in this case is that the communication protocol tasks get spread out over multiple cores as well which consequently may decrease the simulation performance and create stretched steps.
To achieve this decoupling, we must first assign all the comm. protocol data points to an AIN block as shown in the figure below.
Now, the communication signals from the Analog input are sent to the transceiver blocks, and then from the transceiver blocks to be used wherever required in the circuit model.
With this approach is possible to attribute the comm. protocol task to run in a specific core, thereby improving the real-time performance.