Please take a minute to review and accept our Terms of Use.
Welcome to the PLECS User Forum, where you can ask questions and receive answers from other members of the community.

Many technical questions regarding PLECS are answered on the Technical Solutions page of our website. Tutorial videos, specific application examples, and pre-recorded webinars are available on our YouTube page. Please follow us on LinkedIn for the latest Plexim news.

Can one RT box 1 can be used for HIL of DC microgrid ?

0 votes
I want to perform HIL to test control strategy for power sharing in DC microgrid. DC microgrid model consist of  two battery with their controller and grid interfaced converter with its controller. Can I perform it with one RT box 1 and one control card?
asked Sep 24, 2020 by Kabi (23 points)

1 Answer

+1 vote

It is possible, but the specification above is too abstract to give a firm answer.

Please reach out to and we can help you determine if the RT Box is an appropriate fit.

In the TI C2000 Target Support Package there is an example of a DC microgrid simulated using four interconnected RT Box 1's.  There is a DC grid with variable and constant power loads, two battery energy storage systems (BESS), and an AC grid interface converter.  The BESS's and grid converter are controlled using TI C2000 LaunchPads running code generated from PLECS.  Your model sounds considerably more simple than this, but the demo would be a good place to start your efforts.

answered Sep 24, 2020 by Bryan Lieblick (1,995 points)

In the TI C2000 Target Support Package related example of a DC microgrid which is simulated using 4 interconnected RT box 1, can't we do the same example with just one RT box 1?

The goal is to test the generated code for the 3x independently operating MCUs, so each MCU is connected to a separate RT Box.  Furthermore, the model must be run on several RT Box 1's due to the required number of inputs/outputs and the required discretization step size to achieve high-fidelity results.

This is all application/model dependent, hence the need for more information about your system to better guide you.