# RT Box

**URL:** https://forum.plexim.com/c/rt-box/7.md

[Latest](https://forum.plexim.com/latest.md) · [Categories](https://forum.plexim.com/categories.md) · [Tags](https://forum.plexim.com/tags.md)

---

## [About the RT Box category](https://forum.plexim.com/t/about-the-rt-box-category/2606)

<div class="topic-metadata">

**Author:** [@Bryan\_Lieblick](https://forum.plexim.com/u/Bryan_Lieblick)\
**Replies:** 0\
**Last updated:** [October 6, 2025, 3:52pm UTC](https://forum.plexim.com/t/about-the-rt-box-category/2606 "2025-10-06T15:52:14Z")

</div>

Use this category for posts related to the PLECS RT Box including converter modeling, real-time control, and basic configuration questions.

---

## [Technical Support Request: PWM-Related Voltage Oscillations in RT-BOX 1 Real-Time Simulation of a PR-Controlled Three-Phase Inverter](https://forum.plexim.com/t/technical-support-request-pwm-related-voltage-oscillations-in-rt-box-1-real-time-simulation-of-a-pr-controlled-three-phase-inverter/3344)

<div class="topic-metadata">

**Author:** [@runxinYan](https://forum.plexim.com/u/runxinYan)\
**Replies:** 5\
**Last updated:** [October 15, 2026, 1:36pm UTC](https://forum.plexim.com/t/technical-support-request-pwm-related-voltage-oscillations-in-rt-box-1-real-time-simulation-of-a-pr-controlled-three-phase-inverter/3344 "2026-10-15T13:36:51Z")

</div>

Dear Plexim Technical Support Team, I am conducting research on the impedance modeling and stability of a three-phase grid-connected inverter controlled by a Virtual Synchronous Generator (VSG) with cascaded proportiona…

---

## [PMSM FOC works in offline simulation but not on RT Box](https://forum.plexim.com/t/pmsm-foc-works-in-offline-simulation-but-not-on-rt-box/3336)

<div class="topic-metadata">

**Author:** [@angular\_dot](https://forum.plexim.com/u/angular_dot)\
**Replies:** 1\
**Last updated:** [October 14, 2026, 1:04pm UTC](https://forum.plexim.com/t/pmsm-foc-works-in-offline-simulation-but-not-on-rt-box/3336 "2026-10-14T13:04:00Z")

</div>

SSZ.plecs (211.1 KB) Hello, I am using the Plexim “Sensorless Vector Control of a PMSM” demo model as a reference to implement the FOC of my own PMSM. I have modified the demo model with my motor parameters, switching …

---

## [RT-Box with "To-File"](https://forum.plexim.com/t/rt-box-with-to-file/3323)

<div class="topic-metadata">

**Author:** [@Yung](https://forum.plexim.com/u/Yung)\
**Replies:** 1\
**Last updated:** [September 23, 2026, 1:23pm UTC](https://forum.plexim.com/t/rt-box-with-to-file/3323 "2026-09-23T13:23:03Z")

</div>

I am trying to store a large set of SoC data using the TO-FILE. However, the RT-Box always disconnects after some time. I have tried adjusting these parameters but to no avail:

---

## [Current Source Inverter (CSI) model with nanosecond overlap simulation](https://forum.plexim.com/t/current-source-inverter-csi-model-with-nanosecond-overlap-simulation/3319)

<div class="topic-metadata">

**Author:** [@Aure\_76](https://forum.plexim.com/u/Aure_76)\
**Replies:** 1\
**Last updated:** [September 22, 2026, 8:26pm UTC](https://forum.plexim.com/t/current-source-inverter-csi-model-with-nanosecond-overlap-simulation/3319 "2026-09-22T20:26:36Z")

</div>

Hello, I am looking for a recommended workflow or example model to run a Current Source Inverter (CSI) simulation on the RTBox for a Hardware-in-the-Loop (HIL) application. The setup uses GaN Bidirectional Switches (BDS…

---

## [Modeling discrepancy for induction machine depending on the solver type (FPGA vs. CPU)](https://forum.plexim.com/t/modeling-discrepancy-for-induction-machine-depending-on-the-solver-type-fpga-vs-cpu/3312)

<div class="topic-metadata">

**Author:** [@Jaeyeon.Park](https://forum.plexim.com/u/Jaeyeon.Park)\
**Replies:** 2\
**Last updated:** [September 16, 2026, 10:05am UTC](https://forum.plexim.com/t/modeling-discrepancy-for-induction-machine-depending-on-the-solver-type-fpga-vs-cpu/3312 "2026-09-16T10:05:39Z")

</div>

Test environment PLECS 5.0.4 and 4.9.9 are tested. (standalone) RTBOX3 with firmware 4.0.7 and 3.1.8 are tested. Dear Plexim My name is Jaeyeon Park, and I am a Ph.D. student at Seoul National University, South Korea…

---

## [Error While Running PLECS Model on RT Box](https://forum.plexim.com/t/error-while-running-plecs-model-on-rt-box/3296)

<div class="topic-metadata">

**Author:** [@DAWN](https://forum.plexim.com/u/DAWN)\
**Replies:** 1\
**Last updated:** [September 3, 2026, 9:58pm UTC](https://forum.plexim.com/t/error-while-running-plecs-model-on-rt-box/3296 "2026-09-03T21:58:25Z")

</div>

T型三电平整流器RT Box\_V1.plecs (231.0 KB) When running a PLECS model in the RT Box, an error occurred. After building the plant, the PLECS software reported a series of errors. After correcting the errors as indicated, the RT …

---

## [Understanding Analog Sampling](https://forum.plexim.com/t/understanding-analog-sampling/3289)

<div class="topic-metadata">

**Author:** [@sanksan](https://forum.plexim.com/u/sanksan)\
**Replies:** 2\
**Last updated:** [September 3, 2026, 7:36am UTC](https://forum.plexim.com/t/understanding-analog-sampling/3289 "2026-09-03T07:36:47Z")

</div>

Dear Concerned, I would like to understand the exact sampling mechanism. I have the following questions: If I select Global Settings, and depending on the Coder option settings, will all analog pins be sampled simultan…

---

## [Why is the waveform not properly downloaded to the analog output terminals?](https://forum.plexim.com/t/why-is-the-waveform-not-properly-downloaded-to-the-analog-output-terminals/3292)

<div class="topic-metadata">

**Author:** [@runxinYan](https://forum.plexim.com/u/runxinYan)\
**Replies:** 1\
**Last updated:** [September 3, 2026, 4:56am UTC](https://forum.plexim.com/t/why-is-the-waveform-not-properly-downloaded-to-the-analog-output-terminals/3292 "2026-09-03T04:56:44Z")

</div>

Dear PLECS Community, Hope this message finds you well. Sorry for the disturbance. I am currently working with the RT‑BOX and an oscilloscope for waveform output. In PLECS, I connected the voltage waveform to the Analog…

---

## [Request for Support: Error While Running PLECS Model on RT Box](https://forum.plexim.com/t/request-for-support-error-while-running-plecs-model-on-rt-box/3283)

<div class="topic-metadata">

**Author:** [@dilruba.cmeri22a](https://forum.plexim.com/u/dilruba.cmeri22a)\
**Replies:** 1\
**Last updated:** [September 1, 2026, 10:09am UTC](https://forum.plexim.com/t/request-for-support-error-while-running-plecs-model-on-rt-box/3283 "2026-09-01T10:09:19Z")

</div>

I am currently trying to implement and run my PLECS model on the PLECS RT Box, but I am facing an error during the process. It says " error in built step: make process timed out in 240 sec". Can anyone help me regarding …

---

## [Processing Bitstream from Delta-Sigma Modulator](https://forum.plexim.com/t/processing-bitstream-from-delta-sigma-modulator/3247)

<div class="topic-metadata">

**Author:** [@sanksan](https://forum.plexim.com/u/sanksan)\
**Replies:** 2\
**Last updated:** [August 7, 2026, 8:44am UTC](https://forum.plexim.com/t/processing-bitstream-from-delta-sigma-modulator/3247 "2026-08-07T08:44:58Z")

</div>

Dear Concerned, I am currently working on a design that uses delta-sigma modulator for measuring different voltage and current signals. These modulator provide a digital bitstream output, which is currently fed to a DSP…

---

## [Carrier-peak synchronized sampling using the PWM Out block on RT Box](https://forum.plexim.com/t/carrier-peak-synchronized-sampling-using-the-pwm-out-block-on-rt-box/3257)

<div class="topic-metadata">

**Author:** [@pimagine](https://forum.plexim.com/u/pimagine)\
**Replies:** 5\
**Last updated:** [August 6, 2026, 3:08pm UTC](https://forum.plexim.com/t/carrier-peak-synchronized-sampling-using-the-pwm-out-block-on-rt-box/3257 "2026-08-06T15:08:04Z")

</div>

Hello, I am implementing a PWM control system on an RT Box using the PWM Out block. In my control algorithm, I need to perform a sampling operation exactly at the positive peak of the triangular carrier used by the PWM …

---

## [How to quantify the time delay of a RT BOX Controller?](https://forum.plexim.com/t/how-to-quantify-the-time-delay-of-a-rt-box-controller/1248)

<div class="topic-metadata">

**Author:** [@TWY](https://forum.plexim.com/u/TWY)\
**Replies:** 2\
**Last updated:** [August 4, 2026, 6:10am UTC](https://forum.plexim.com/t/how-to-quantify-the-time-delay-of-a-rt-box-controller/1248 "2026-08-04T06:10:37Z")

</div>

In the RT-Box manual, a timing diagram is given as follow. I want to determine the exact time delay in a converter system controlled by a RT-Box 2, so that I can model the system and design the parameters. \*1. In terms …

---

## [RT-Box Multi Tasking Tutorials](https://forum.plexim.com/t/rt-box-multi-tasking-tutorials/3192)

<div class="topic-metadata">

**Author:** [@sanksan](https://forum.plexim.com/u/sanksan)\
**Replies:** 2\
**Last updated:** [July 8, 2026, 8:35am UTC](https://forum.plexim.com/t/rt-box-multi-tasking-tutorials/3192 "2026-07-08T08:35:12Z")

</div>

Hi, I’m about to finish all eight RT-Box tutorials available on the website. However, I haven’t come across any tutorial that demonstrates how to utilize the multi-core capabilities of the PLECS RT-Box. Is there any tu…

---

## [Change configuration of subsystem in RT Box model from json-rpc?](https://forum.plexim.com/t/change-configuration-of-subsystem-in-rt-box-model-from-json-rpc/3186)

<div class="topic-metadata">

**Author:** [@Ole](https://forum.plexim.com/u/Ole)\
**Replies:** 1\
**Last updated:** [June 30, 2026, 5:21pm UTC](https://forum.plexim.com/t/change-configuration-of-subsystem-in-rt-box-model-from-json-rpc/3186 "2026-06-30T17:21:35Z")

</div>

Hi, is it possible to select the configuration of a configurable subsystem in a model running in RT Box via the json-rpc interface? I know it is probably not possible to switch at runtime after the model is started, but…

---

## [Codegen build issue in tutorial stepsize selection](https://forum.plexim.com/t/codegen-build-issue-in-tutorial-stepsize-selection/3183)

<div class="topic-metadata">

**Author:** [@sanksan](https://forum.plexim.com/u/sanksan)\
**Replies:** 1\
**Last updated:** [June 25, 2026, 6:25pm UTC](https://forum.plexim.com/t/codegen-build-issue-in-tutorial-stepsize-selection/3183 "2026-06-25T18:25:47Z")

</div>

Dear Concerned Hi, I am trying to build the model presented in tutorial step size selection for RT Box. I get the attached error. It is the exact same model which i downloaded from website. Am i missing something? it wo…

---

## [Error during building step of 3x1 Matrix PSFB1](https://forum.plexim.com/t/error-during-building-step-of-3x1-matrix-psfb1/3181)

<div class="topic-metadata">

**Author:** [@pfcEnjoyer](https://forum.plexim.com/u/pfcEnjoyer)\
**Replies:** 1\
**Last updated:** [June 24, 2026, 11:41am UTC](https://forum.plexim.com/t/error-during-building-step-of-3x1-matrix-psfb1/3181 "2026-06-24T11:41:26Z")

</div>

Hello, I am facing a problem regarding the implementation of the Nanostep model for the 3x1 Matrix Converter for HIL on the RT Box CE. I attached two images of the error. It seems that the dimensions of the Nanostep cur…

---

## [Target response 99, Unknown error , First Time Build PLECS-RT Box](https://forum.plexim.com/t/target-response-99-unknown-error-first-time-build-plecs-rt-box/3174)

<div class="topic-metadata">

**Author:** [@sanksan](https://forum.plexim.com/u/sanksan)\
**Replies:** 3\
**Last updated:** [June 18, 2026, 2:40pm UTC](https://forum.plexim.com/t/target-response-99-unknown-error-first-time-build-plecs-rt-box/3174 "2026-06-18T14:40:38Z")

</div>

Hi, I am trying to build a simple model on the RT Box for the first time, but I am encountering the error “Target response 99”, which does not provide any detailed description. I have verified that communication with t…

---

## [Discrepancy between offline simulation and RTBox2 real-time test results for photovoltaic MPPT model](https://forum.plexim.com/t/discrepancy-between-offline-simulation-and-rtbox2-real-time-test-results-for-photovoltaic-mppt-model/3155)

<div class="topic-metadata">

**Author:** [@liuwenj](https://forum.plexim.com/u/liuwenj)\
**Replies:** 5\
**Last updated:** [June 16, 2026, 3:02am UTC](https://forum.plexim.com/t/discrepancy-between-offline-simulation-and-rtbox2-real-time-test-results-for-photovoltaic-mppt-model/3155 "2026-06-16T03:02:10Z")

</div>

0526pv.plecs (136.5 KB) Hi My PV MPPT model behaves differently between offline simulation and RTBox2 real-time testing. We have referred to the photovoltaic module in the demo, yet we are required to implement control…

---

## [Simulation Vienna Rectifier](https://forum.plexim.com/t/simulation-vienna-rectifier/3162)

<div class="topic-metadata">

**Author:** [@Pedro](https://forum.plexim.com/u/Pedro)\
**Replies:** 1\
**Last updated:** [June 15, 2026, 3:42pm UTC](https://forum.plexim.com/t/simulation-vienna-rectifier/3162 "2026-06-15T15:42:46Z")

</div>

Hi, I am trying to migrate a Vienna rectifier from the standard simulation mode to the RTBOX 1 CE, but the offline simulation of the model stops working correctly when I add the RTBOX components such as PWM and similar t…

---

## [Why does this simulation give completely different results between offline and on-hardware(HIL)?](https://forum.plexim.com/t/why-does-this-simulation-give-completely-different-results-between-offline-and-on-hardware-hil/3148)

<div class="topic-metadata">

**Author:** [@Yinyu\_yan](https://forum.plexim.com/u/Yinyu_yan)\
**Replies:** 2\
**Last updated:** [June 12, 2026, 12:24am UTC](https://forum.plexim.com/t/why-does-this-simulation-give-completely-different-results-between-offline-and-on-hardware-hil/3148 "2026-06-12T00:24:50Z")

</div>

I established a VSG simulation model, which exhibited excellent performance in offline simulation. However, the model produced entirely inaccurate results under the hardware-in-the-loop (HIL) simulation condition. Furthe…

---

## [Why does this simulation give completely different results between offline and on-hardware (HIL)?](https://forum.plexim.com/t/why-does-this-simulation-give-completely-different-results-between-offline-and-on-hardware-hil/3143)

<div class="topic-metadata">

**Author:** [@liuwenj](https://forum.plexim.com/u/liuwenj)\
**Replies:** 1\
**Last updated:** [June 11, 2026, 8:43pm UTC](https://forum.plexim.com/t/why-does-this-simulation-give-completely-different-results-between-offline-and-on-hardware-hil/3143 "2026-06-11T20:43:35Z")

</div>

Why does this simulation give completely different results between offline and on-hardware (HIL)? Attached you will find the model. Inverter\_Double\_loop\_offline\_28069\_used.plecs (313.9 KB) Many thanks.

---

## [Problems encountered when RT Box is used as the controller](https://forum.plexim.com/t/problems-encountered-when-rt-box-is-used-as-the-controller/3130)

<div class="topic-metadata">

**Author:** [@pimagine](https://forum.plexim.com/u/pimagine)\
**Replies:** 15\
**Last updated:** [June 11, 2026, 11:28am UTC](https://forum.plexim.com/t/problems-encountered-when-rt-box-is-used-as-the-controller/3130 "2026-06-11T11:28:46Z")

</div>

Recently, when we used the RT Box 1 as the controller in our converter experiments, we observed a strange phenomenon. The circuit starts up normally at power-on, but after running for less than about one minute, one part…

---

## [Expected HIL Results are Diferent from Simulation Results in RTBox 1 for Nanostep Model](https://forum.plexim.com/t/expected-hil-results-are-diferent-from-simulation-results-in-rtbox-1-for-nanostep-model/3132)

<div class="topic-metadata">

**Author:** [@JavierGil](https://forum.plexim.com/u/JavierGil)\
**Replies:** 1\
**Last updated:** [June 9, 2026, 9:33pm UTC](https://forum.plexim.com/t/expected-hil-results-are-diferent-from-simulation-results-in-rtbox-1-for-nanostep-model/3132 "2026-06-09T21:33:19Z")

</div>

Hello, I am currently trying to use the Nanostep Version of the Dual Active Bridge Converter in an RTBox CE order to test an open-loop approach sending high frequency gate signals from outside. However, as I try to exe…

---

## [How can I implement a 3-level flying capacitor converter on RT Box using PWM Capture and sub-cycle average models?](https://forum.plexim.com/t/how-can-i-implement-a-3-level-flying-capacitor-converter-on-rt-box-using-pwm-capture-and-sub-cycle-average-models/3120)

<div class="topic-metadata">

**Author:** [@Kyuyeong](https://forum.plexim.com/u/Kyuyeong)\
**Replies:** 9\
**Last updated:** [June 9, 2026, 7:26pm UTC](https://forum.plexim.com/t/how-can-i-implement-a-3-level-flying-capacitor-converter-on-rt-box-using-pwm-capture-and-sub-cycle-average-models/3120 "2026-06-09T19:26:17Z")

</div>

Hello, I am trying to implement and run a 3-level flying capacitor converter on a PLECS RT Box. From my understanding, for accurate real-time simulation on the RT Box, it is preferable to use the PWM Capture block t…

---

## [Grid-Forming Inverter Stable in Offline Simulation but Unstable When Implemented in RT Box HIL Simulation](https://forum.plexim.com/t/grid-forming-inverter-stable-in-offline-simulation-but-unstable-when-implemented-in-rt-box-hil-simulation/3115)

<div class="topic-metadata">

**Author:** [@Rizal\_Putra1](https://forum.plexim.com/u/Rizal_Putra1)\
**Replies:** 2\
**Last updated:** [June 4, 2026, 12:55pm UTC](https://forum.plexim.com/t/grid-forming-inverter-stable-in-offline-simulation-but-unstable-when-implemented-in-rt-box-hil-simulation/3115 "2026-06-04T12:55:50Z")

</div>

Hello I am currently developing a Grid-Forming (GFM) inverter that will be implemented in a Hardware-in-the-Loop (HIL) environment. The HIL platform consists of an RT Box and a TI microcontroller. The plant model is exe…

---

## [How to make PLECS PWM Out/PWM Capture equivalent to a custom PSC-PWM with Relay?](https://forum.plexim.com/t/how-to-make-plecs-pwm-out-pwm-capture-equivalent-to-a-custom-psc-pwm-with-relay/3075)

<div class="topic-metadata">

**Author:** [@moer](https://forum.plexim.com/u/moer)\
**Replies:** 3\
**Last updated:** [June 3, 2026, 8:44am UTC](https://forum.plexim.com/t/how-to-make-plecs-pwm-out-pwm-capture-equivalent-to-a-custom-psc-pwm-with-relay/3075 "2026-06-03T08:44:43Z")

</div>

Hello! I am trying to migrate my current model to a PLECS RT Box demo-style implementation, using the official PLECS MMC RT Box demo as a reference. At the moment, I am still verifying the model in offline simulation. M…

---

## [Discrepancy Between RT Box 2 Results and Offline Simulation in PLECS 4.9.5](https://forum.plexim.com/t/discrepancy-between-rt-box-2-results-and-offline-simulation-in-plecs-4-9-5/3085)

<div class="topic-metadata">

**Author:** [@dudu7963](https://forum.plexim.com/u/dudu7963)\
**Replies:** 2\
**Last updated:** [June 2, 2026, 7:29am UTC](https://forum.plexim.com/t/discrepancy-between-rt-box-2-results-and-offline-simulation-in-plecs-4-9-5/3085 "2026-06-02T07:29:45Z")

</div>

Issue description: I have encountered an issue with the PLECS Coder for HIL. Attachments: PLECS model (updated) scope figures HIL(3)(1) (1).plecs (308.7 KB) In the figure: Figure 1: RT Box 2 results Figu…

---

## [Large ADC sampling error on rt\_box2 – ~8 deviation from true constant value](https://forum.plexim.com/t/large-adc-sampling-error-on-rt-box2-8-deviation-from-true-constant-value/3116)

<div class="topic-metadata">

**Author:** [@yanyinyan](https://forum.plexim.com/u/yanyinyan)\
**Replies:** 1\
**Last updated:** [May 28, 2026, 2:09pm UTC](https://forum.plexim.com/t/large-adc-sampling-error-on-rt-box2-8-deviation-from-true-constant-value/3116 "2026-05-28T14:09:07Z")

</div>

I’m currently using the rt\_box2 and facing an accuracy issue with ADC sampling. In my model: The plant block uses constant parameters, all set to 90. In the controller block, I use an ADC sampling module to read these…

---

## [Scale and Offset Analog Output RT Box](https://forum.plexim.com/t/scale-and-offset-analog-output-rt-box/3070)

<div class="topic-metadata">

**Author:** [@rizalsaputra](https://forum.plexim.com/u/rizalsaputra)\
**Replies:** 2\
**Last updated:** [May 16, 2026, 1:24pm UTC](https://forum.plexim.com/t/scale-and-offset-analog-output-rt-box/3070 "2026-05-16T13:24:17Z")

</div>

Hello, I am currently configuring the scale and offset settings for the Analog Out in my open-loop GFM model (SPI). When running the offline simulation, I receive the following warning: “An output is less than the selec…

[Next page](https://forum.plexim.com/c/rt-box/7.md?page=1)
