Input values ​​that change continuously

4 次查看(过去 30 天)
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.

回答(2 个)

Umar
Umar 2024-7-5
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.

Angelo Yeo
Angelo Yeo 2024-7-6
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).

产品


版本

R2024a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by