Simulink gas Turbine model

46 views (last 30 days)
Pradeep Subedi
Pradeep Subedi on 13 Oct 2017
Answered: Prashant Arora on 17 Oct 2017
I need to build a gas turbine model in Simulink but I don't know how to input the different constitution of Air at Air inlet, anybody can help ?
  2 Comments
Pradeep Subedi
Pradeep Subedi on 13 Oct 2017
Ok I will explain in detail. My project is to build a gas turbine modell in Matlab and Simulink both. I have already programmed the Matlab code but I am having problems doing it in Simulink. I have very litte knowledge about Simulink. My Professor wants to see the Simulink Model in such a way that when he clicks on each Simulink blocks, it should direct him to the Matlab code. All the changes and variable definitions should be done in Matlab and simulation in Simulink. I don't know if its possible ? How can I insert the constitution of air in Simulink. (pls: he gave me a tip to use mux and demux, I don't know about it). Please see the attached file.

Sign in to comment.

Answers (1)

Prashant Arora
Prashant Arora on 17 Oct 2017
Hi Pradeep,
You mentioned that "My Professor wants to see the Simulink Model in such a way that when he clicks on each Simulink blocks, it should direct him to the Matlab code". MATLAB Function block seems to be a good solution for your use-case. It allows you to execute algorithms designed in MATLAB using Simulink. For more information, please refer to the following link:
MATLAB Function block essentially converts the MATLAB code into usable standalone code for Simulink to execute. As some functions cannot generate standalone code, you will need to declare them as extrinsic. You can find more details about this at the following links:

Community Treasure Hunt

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

Start Hunting!