Integrate Simulink Model into Typhoon HIL Environment | Tutorial

  Рет қаралды 4,160

Typhoon HIL

Typhoon HIL

Күн бұрын

Пікірлер: 18
@peofessionalengineerinpowe1892
@peofessionalengineerinpowe1892 2 жыл бұрын
thank you for the great video, i just wish that it was explained more.
@TyphoonHIL
@TyphoonHIL 2 жыл бұрын
Glad it was helpful! For more information on the topic, please visit HIL Academy to find additional content: hil.academy/ When it comes to Simulink and FMU/FMI import, you can now find a couple of additional videos on our channel. We hope some of those cover the additional explanation that you were looking for, but if not, feel free to let us know what you would find useful.
@nishaks2199
@nishaks2199 5 жыл бұрын
Why is some of the input and output (GOTO & FROM) blocks is in pink colour? Are we taking it from some other TOOLSET in the Simulink Library
@dusankostic502
@dusankostic502 4 жыл бұрын
Different block colors are referring to different sample times.
@valentineobiora8759
@valentineobiora8759 Жыл бұрын
Hi, this example worked for me. However, in my core implementation for MMC control, My generated C code contains some arguments at system_Initialize(xxxxxx) and System_step(xxxxxx). any assistance as raising a ticket isn't being helpful. Thank You
@TyphoonHIL
@TyphoonHIL Жыл бұрын
Hi Valentine! Sorry to hear that you ran into some difficulties, however, for specific support questions, the ticketing system is the fastest and most reliable way to resolving this. In case this was not solved for you so far, please try again. Thank you and all the best!
@valentineobiora8759
@valentineobiora8759 Жыл бұрын
@@TyphoonHIL I have raised a ticket. for 10 days now no response or help with my request.
@imranpervez1223
@imranpervez1223 3 жыл бұрын
I followed this method for generating code. Everything worked fine in the virtual SCADA panel. But when connected to the HIL 402 hardware it gave inaccurate results
@dusankostic502
@dusankostic502 3 жыл бұрын
Imran, please write to the Typhoon support page.
@ebarbie5016
@ebarbie5016 4 жыл бұрын
Hi. Can you please explain how to export the Simulink control block to c-code for the DSP100 board (C-HIL using HIL402 + DSP100 card). I'm familiar with TI's CCS and successfully implemented C-HIL using code generated by PSIM. But I want to do this directly from Simulink. What target to choose? TI's C2000? Thanks
@dusankostic502
@dusankostic502 4 жыл бұрын
Hi Typhoon HIL company is not owner of Simulink application, we are just providing interface for importing C code from Simulink to Typhoon HIL environment. For Simulink specific questions, please write directly to them. Best regards
@ebarbie5016
@ebarbie5016 4 жыл бұрын
@@dusankostic502 Thanks. My question was actually Typhoon specific. You showed how to export code from Simulink to the C function. I've asked how to do the same using your DSP100 or DSP180 expansion cards? Anyway, this is not an issue, because I can still do it using PSIM. I have another typhoon specific question. In the video, it's unclear how you setup the inputs and outputs of the advanced c function block. How are the inputs and outputs relate to the imported code? Thanks
@dusankostic502
@dusankostic502 4 жыл бұрын
Thank you for your questions. 1) Currently it is not possible to export platform specific C code. You can search for our other video "Tutorial | How to Export Generic ANSI C Code ", where we are explaining how to export agnostic ANSI C code. 2) Inputs and outputs of Advanced C function are connected inside "output_fnc" function. You can find the whole example in the our installation folder in ..\examples\models\how-to examples\boost closed loop advanced c Best regards
@ebarbie5016
@ebarbie5016 4 жыл бұрын
​@@dusankostic502 Thanks. I've looked into the example. I noticed the following 2 fnc calls in output and init tabs: boost_closed_loop_control_step(); boost_closed_loop_control_initialize(); I see that these calls were copied from the boost_closed_loop_control.c code and the boost_closed_loop_control.h below /* Model step function */ and /* Model entry point functions */ comments, respectively. Also, the I/O variable definitions were taken from the main code. But the rtU and rtY prefixes were added to the declarations. Are all of the above common to any project? Do I only need to search the main c code below the * External inputs (root inport signals with auto storage) */ and /* External outputs (root outports fed by signals with auto storage) */ comments and copy the I/O var names and add the rtU/rtY prefixes? Unlike the boost example, my exported Simulink control block includes a total of 5 .c and .h files (myproject.c myproject.h plus ert_main.c and myproject_data.c extra files). The _data.c file contains lookup table data, but what is the extra ert_main.c file? Is this OK? Thanks
@dusankostic502
@dusankostic502 4 жыл бұрын
@@ebarbie5016 My colleges have informed me that they were discussed this topic with you through the Ticketing system. BR
@mohitfulpagare422
@mohitfulpagare422 5 жыл бұрын
How to run the generated C code? and where to run the generated C code?
@dusankostic502
@dusankostic502 4 жыл бұрын
The generated code have to be run in Advanced C function component. This example can be find in the software installation in the following folder ..\examples\models\how-to examples\boost closed loop advanced c
Typhoon HIL Microgrid Testbed | Demo
1:19
Typhoon HIL
Рет қаралды 2,5 М.
Introduction to Typhoon HIL Schematic Editor 2019.4
10:19
Typhoon HIL
Рет қаралды 7 М.
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 18 МЛН
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41
Microgrid Library PV Plant | Tutorial Part 1
6:37
Typhoon HIL
Рет қаралды 1,5 М.
Difference between MIL SIL PIL HIL
4:29
Venkatesh Mane
Рет қаралды 59 М.
Typhoon HIL: Virtual VHIL Device -  An Introduction (ENGLISH)
25:34
Francisco Gonzalez-Longatt
Рет қаралды 1,5 М.
How I'd learn ML in 2025 (if I could start over)
16:24
Boris Meinardus
Рет қаралды 26 М.