Coupling Simulink + Matlab-Script + GT-Suite

8 views (last 30 days)
Hello,
im currently working on very complex GT-Model. The complexity results in high run times (up to 6h). So i decided to reduce the complexity of the model by integrating a Simulink harness into the model.
I want to use a Matlab System or Function block in Simulink to calculate one output variable from various input variables (temperature, pressure, velocity etc.) All my Simulink Simulation has to do is gather all inputs and calculate one output by following an easy Matlab Script (just some loops and basic calculations).
Since i cant integrate the Matlab Script directly into GT, i have to use the workaround with Simulink. Unfortunately, i've never worked with simulink at all.
Is it possible to use a simple Simulink Map to gather variables (T, p, v etc.) and then follow a basic matlab script which calculates one simple output, (if possible even more)?
Greetings
Max
  3 Comments
Max Kneisel
Max Kneisel on 23 Sep 2020
Sorry for my late answer.
Its just a simple functions which calculates a new diameter for the GT-Suite Model.
The function only contains basic algebraic equations.
The problem is, i have never worked with Simulink (only pure MatLab). So is it possible to integrate something like this into Simulink?
Javier Sánchez Bayona
Javier Sánchez Bayona on 8 Mar 2022
Were you able to do what you said? I am trying to do something similar, although my intention is that simulink itself prepares a new simulation in GT-Power, thanks to the results of P, T..etc of the first simulation.
Thanks in advance

Sign in to comment.

Answers (0)

Categories

Find more on Simulink Functions in Help Center and File Exchange

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!