Hi there,
I am trying to adapt the plant of my DAB for controller HIL. I am using the DAB component found in the component library and the offline simulation runs but when I tried to build to RTBox1 I get the error: The secondary terminals of dual_active_bridge/DAB Plant/DAB1 must be connected directly to a capacitor or voltage source.
However, when I remove any resistors that were connected along with the capacitor (C1 and C3) (see image), I am able to build to RTBox, but I get the red error light. Upon trying to run offline simulation again, I get a new error caused by the missing resistor: State discontinuity after switching.
The voltage across capacitor dual_active_bridge/DAB Plant/C3 is forced to jump from 800 to 0.
How can I solve this issue?
Thanks for all your help!
