File Exchange

image thumbnail

nasa/T-MATS

version 1.0.0.0 (7.43 MB) by Jeffryes
Simulink Toolbox for the Modeling and Analysis of Thermodynamic Systems, such as gas turbines

30 Downloads

Updated 17 Mar 2018

GitHub view license on GitHub

Editor's Note: This file was selected as MATLAB Central Pick of the Week

An open source thermodynamic modeling package initiated on behalf of NASA. The Toolbox for the Modeling and Analysis of Thermodynamic Systems (T-MATS) package offers a MATLAB/Simulink toolbox that gives a developer the ability to create simulations of such thermodynamic systems as turbomachinery and gas turbines. Keywords: TMATS, Control System, Numerical Methods, Newton-Raphson, Jacobian Calculation, Propulsion, Aircraft Engine, Jet, Turbofan, Turbojet, Compressor, Turbine, Nozzle, Inlet, open source, JT9D

Cite As

Jeffryes (2020). nasa/T-MATS (https://www.github.com/nasa/T-MATS), GitHub. Retrieved .

Comments and Ratings (7)

Richa Singh

Error in Install_TMATS (line 86)
cd( 'TMATS_Library')
I am using windows 10

Jeffryes

Sounds like the c functions were not built during installation or the paths are not correct.
Check in the TMATS_Library/MEX folder for .mex files (note: mine have .mexw64, they may be slightly different for you a 32 bit build with say 32 for instance). If they arn't there then the mex files weren't built correctly, try to rebuild the files. If they are there check your paths to make sure this folder is on your MATLAB path, so they may be found.
I have used the MinGW compiler to build T-MATS before, but generally the SDK 7.1 compiler is used for every build. I would suggest switching to it if you are having compilation issues.

SATHY A

While running Simulink program, I have an error popping up that " S function does not exist". I am using MinGW-w64 Compiler

Andrei Nad

wanli zhao

Jeffryes

Check if the path exists and verify you are running the Install file from the correct location.

The package was developed with PC, but has been periodically built with a MAC.

Error using Install_TMATS (line 83)
Cannot CD to TMATS_Library/MEX (Name is nonexistent or not a directory)

I'm using a Macbook pro.

Thanks

MATLAB Release Compatibility
Created with R2013b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Resources/Testing

Resources/Testing/Cantera

Resources/Testing/TestBeds/Actuator_FO/Setup

Resources/Testing/TestBeds/Actuator_FO/TestVector

Resources/Testing/TestBeds/Ambient/Setup

Resources/Testing/TestBeds/Ambient/TestVector

Resources/Testing/TestBeds/AmbientSIL/Setup

Resources/Testing/TestBeds/AmbientSIL/TestVector

Resources/Testing/TestBeds/Bleed/Setup

Resources/Testing/TestBeds/Bleed/TestVector

Resources/Testing/TestBeds/BleedSIL/Setup

Resources/Testing/TestBeds/BleedSIL/TestVector

Resources/Testing/TestBeds/Burner/Setup

Resources/Testing/TestBeds/Burner/TestVector

Resources/Testing/TestBeds/BurnerSIL/Setup

Resources/Testing/TestBeds/BurnerSIL/TestVector

Resources/Testing/TestBeds/Comp/Setup

Resources/Testing/TestBeds/Comp/TestVector

Resources/Testing/TestBeds/CompSIL/Setup

Resources/Testing/TestBeds/CompSIL/TestVector

Resources/Testing/TestBeds/CompVG/Setup

Resources/Testing/TestBeds/CompVG/TestVector

Resources/Testing/TestBeds/CompVGSIL/Setup

Resources/Testing/TestBeds/CompVGSIL/TestVector

Resources/Testing/TestBeds/ControllerPI/Setup

Resources/Testing/TestBeds/ControllerPI/TestVector

Resources/Testing/TestBeds/CorN/Setup

Resources/Testing/TestBeds/CorN/TestVector

Resources/Testing/TestBeds/CorW/Setup

Resources/Testing/TestBeds/CorW/TestVector

Resources/Testing/TestBeds/CorWf/Setup

Resources/Testing/TestBeds/CorWf/TestVector

Resources/Testing/TestBeds/Duct/Setup

Resources/Testing/TestBeds/Duct/TestVector

Resources/Testing/TestBeds/FlwPthChar/Setup

Resources/Testing/TestBeds/FlwPthChar/TestVector

Resources/Testing/TestBeds/Mixer/Setup

Resources/Testing/TestBeds/Mixer/TestVector

Resources/Testing/TestBeds/MixerSIL/Setup

Resources/Testing/TestBeds/MixerSIL/TestVector

Resources/Testing/TestBeds/Mod_Source/Setup

Resources/Testing/TestBeds/Mod_Source/TestVector

Resources/Testing/TestBeds/Nozzle/Setup

Resources/Testing/TestBeds/Nozzle/TestVector

Resources/Testing/TestBeds/NozzleSIL/Setup

Resources/Testing/TestBeds/NozzleSIL/TestVector

Resources/Testing/TestBeds/OutLoopInt/Setup

Resources/Testing/TestBeds/OutLoopInt/TestVector

Resources/Testing/TestBeds/Sensor_FO/Setup

Resources/Testing/TestBeds/Sensor_FO/TestVector

Resources/Testing/TestBeds/Shaft/Setup

Resources/Testing/TestBeds/Shaft/TestVector

Resources/Testing/TestBeds/SolverDyn/Setup

Resources/Testing/TestBeds/SolverDyn/TestVector

Resources/Testing/TestBeds/SolverSS/Setup

Resources/Testing/TestBeds/SolverSS/TestVector

Resources/Testing/TestBeds/Splitter/Setup

Resources/Testing/TestBeds/Splitter/TestVector

Resources/Testing/TestBeds/StaticCalc/Setup

Resources/Testing/TestBeds/StaticCalc/TestVector

Resources/Testing/TestBeds/StaticCalcSIL/Setup

Resources/Testing/TestBeds/StaticCalcSIL/TestVector

Resources/Testing/TestBeds/Turbine/Setup

Resources/Testing/TestBeds/Turbine/TestVector

Resources/Testing/TestBeds/TurbineSIL/Setup

Resources/Testing/TestBeds/TurbineSIL/TestVector

Resources/Testing/TestBeds/Turbine_PSI/Setup

Resources/Testing/TestBeds/Turbine_PSI/TestVector

Resources/Testing/TestBeds/Turbine_PSISIL/Setup

Resources/Testing/TestBeds/Turbine_PSISIL/TestVector

Resources/Testing/TestBeds/VCond/Setup

Resources/Testing/TestBeds/VCond/TestVector

Resources/Testing/TestBeds/Valve/Setup

Resources/Testing/TestBeds/Valve/TestVector

Resources/Testing/TestBeds/ValveSIL/Setup

Resources/Testing/TestBeds/ValveSIL/TestVector

Resources/Testing/TestBeds/Valve_PHY/Setup

Resources/Testing/TestBeds/Valve_PHY/TestVector

Resources/Testing/TestBeds/Valve_PHYSIL/Setup

Resources/Testing/TestBeds/Valve_PHYSIL/TestVector

Resources/Testing/TestBeds/h2t/Setup

Resources/Testing/TestBeds/h2t/TestVector

Resources/Testing/TestBeds/h2tSIL/Setup

Resources/Testing/TestBeds/h2tSIL/TestVector

Resources/Testing/TestBeds/pt2s/Setup

Resources/Testing/TestBeds/pt2s/TestVector

Resources/Testing/TestBeds/pt2sSIL/Setup

Resources/Testing/TestBeds/pt2sSIL/TestVector

Resources/Testing/TestBeds/sp2t/Setup

Resources/Testing/TestBeds/sp2t/TestVector

Resources/Testing/TestBeds/sp2tSIL/Setup

Resources/Testing/TestBeds/sp2tSIL/TestVector

Resources/Testing/TestBeds/t2h/Setup

Resources/Testing/TestBeds/t2h/TestVector

Resources/Testing/TestBeds/t2hSIL/Setup

Resources/Testing/TestBeds/t2hSIL/TestVector

Trunk

Trunk/TMATS_Examples

Trunk/TMATS_Examples/Example_GasTurbine_Dyn

Trunk/TMATS_Examples/Example_GasTurbine_Dyn/SimSetup

Trunk/TMATS_Examples/Example_GasTurbine_SS

Trunk/TMATS_Examples/Example_GasTurbine_SS/SimSetup

Trunk/TMATS_Examples/Example_JT9D

Trunk/TMATS_Examples/Example_JT9D/Simsetup

Trunk/TMATS_Examples/Example_JT9D_SS_Cantera

Trunk/TMATS_Library

Trunk/TMATS_Library/MATLAB_Scripts

Trunk/TMATS_Library/MATLAB_Scripts/+TMATS

Trunk/TMATS_Library/MATLAB_Scripts/Cantera_Enabled

Trunk/TMATS_Library/MATLAB_Scripts/Cantera_Enabled/+TMATSC

Trunk/TMATS_Library/MEX

Trunk/TMATS_Tools

Trunk/TMATS_Tools/GasTableBuilder

Trunk/TMATS_Tools/MapGeneration_Tools

Trunk/TMATS_Tools/NPSStoTMATS_Tool

Resources/JT9D_Public_NPSSv241

Resources/Testing

Resources/Testing/Cantera

Resources/Testing/TestBeds/Actuator_FO

Resources/Testing/TestBeds/Ambient

Resources/Testing/TestBeds/AmbientSIL

Resources/Testing/TestBeds/Bleed

Resources/Testing/TestBeds/BleedSIL

Resources/Testing/TestBeds/Burner

Resources/Testing/TestBeds/BurnerSIL

Resources/Testing/TestBeds/Comp

Resources/Testing/TestBeds/CompSIL

Resources/Testing/TestBeds/CompVG

Resources/Testing/TestBeds/CompVGSIL

Resources/Testing/TestBeds/ControllerPI

Resources/Testing/TestBeds/CorN

Resources/Testing/TestBeds/CorW

Resources/Testing/TestBeds/CorWf

Resources/Testing/TestBeds/Duct

Resources/Testing/TestBeds/FlwPthChar

Resources/Testing/TestBeds/Mixer

Resources/Testing/TestBeds/MixerSIL

Resources/Testing/TestBeds/Mod_Source

Resources/Testing/TestBeds/Nozzle

Resources/Testing/TestBeds/NozzleSIL

Resources/Testing/TestBeds/OutLoopInt

Resources/Testing/TestBeds/Sensor_FO

Resources/Testing/TestBeds/Shaft

Resources/Testing/TestBeds/SolverDyn

Resources/Testing/TestBeds/SolverSS

Resources/Testing/TestBeds/Splitter

Resources/Testing/TestBeds/StaticCalc

Resources/Testing/TestBeds/StaticCalcSIL

Resources/Testing/TestBeds/Turbine

Resources/Testing/TestBeds/TurbineSIL

Resources/Testing/TestBeds/Turbine_PSI

Resources/Testing/TestBeds/Turbine_PSISIL

Resources/Testing/TestBeds/VCond

Resources/Testing/TestBeds/Valve

Resources/Testing/TestBeds/ValveSIL

Resources/Testing/TestBeds/Valve_PHY

Resources/Testing/TestBeds/Valve_PHYSIL

Resources/Testing/TestBeds/h2t

Resources/Testing/TestBeds/h2tSIL

Resources/Testing/TestBeds/pt2s

Resources/Testing/TestBeds/pt2sSIL

Resources/Testing/TestBeds/sp2t

Resources/Testing/TestBeds/sp2tSIL

Resources/Testing/TestBeds/t2h

Resources/Testing/TestBeds/t2hSIL

Trunk/TMATS_Examples/Cycles

Trunk/TMATS_Examples/Example_GasTurbine_Dyn

Trunk/TMATS_Examples/Example_GasTurbine_SS

Trunk/TMATS_Examples/Example_JT9D

Trunk/TMATS_Examples/Example_JT9D_SS_Cantera

Trunk/TMATS_Examples/Example_Linearization

Trunk/TMATS_Examples/Example_NewtonRaphson_Equation_Solver

Trunk/TMATS_Examples/Example_Volumes

Trunk/TMATS_Library