Coupling Simulink + Matlab-Script + GT-Suite

10 vues (au cours des 30 derniers jours)
Max Kneisel
Max Kneisel le 29 Juin 2020
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 commentaires
Max Kneisel
Max Kneisel le 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 le 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

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Simulink Functions dans Help Center et File Exchange

Produits


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by