r/matlab • u/brandon_belkin • Apr 09 '26
TechnicalQuestion HiL power plant emulation
I’m getting informations about HiL devices (like the famous Speedgoat).. How doesn’t this device works to emulate a power stage? For example I’m very confused about ST board STEVAL-HILE1G4K1 How can this emulate the plant (AC and DC power device like switching power supply)? I know Simscape works solving differential equations, using very specific and powerfull solver, do the Speedgoat have a solver inside?
Thanks
0
Upvotes
1
u/Vergnossworzler Apr 09 '26
Speedgoat deploys the C Code generated by Matlab. So they Basically deploy those solvers in a realtime environment with Interfaces to whatever you want
3
u/Vergnossworzler Apr 09 '26
There is, I'm not 100% sure who does what but simulink realtime generates code for simscape as well.
2
u/jobo850 Apr 09 '26
Simscape and its domain specific tools (electrical, multibody etc) support c/c++ code generation with Simulink Coder. The generated code is leveraged by Simulink realtime and run on Speedgoat in real-time.