Input values that change continuously
3 views (last 30 days)
Show older comments
In the process of co-simulating GT-SUITE and SIMULINK, I am creating a model that receives two input values of GT and outputs one output value in simulink. At this time, which block should I use if the two inputs are continuously changing?
Let me explain using the picture as an example. The values of Differential_Efficiency and FDR are continuously changing.
0 Comments
Answers (2)
Umar
on 5 Jul 2024
Hi YA,
For handling continuously changing input values in Simulink, the recommended block to use is the "Variable Transport Delay" block. This block allows you to model systems where inputs are continuously changing over time. For more information on this block, please refer to
https://www.mathworks.com/help/simscape/ug/variable-transport-delay.html
By setting appropriate delay times and specifying the input signals, you can accurately simulate the behavior of your system with dynamic inputs like Differential_Efficiency and FDR.
0 Comments
Angelo Yeo
on 6 Jul 2024
One of ways for co-simulation is to use FMU/FMI. GT-Suite supports FMU, up to FMI 3.0 (link). You can export your model into a FMU and import it in Simulink model. See the doc for FMU block for your reference.
An example on importing co-simulation FMU into Simulink can be found at Import Co-Simulation FMU into Simulink - MATLAB & Simulink (mathworks.com).
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!