Toolbox For The Modeling and Analysis of Thermodynamic System (T-MATS) Users' Workshop Presentations
Toolbox For The Modeling and Analysis of Thermodynamic System (T-MATS) Users' Workshop Presentations
April 2018
NASA STI Program . . . in Profile
Since its founding, NASA has been dedicated • CONTRACTOR REPORT. Scientific and
to the advancement of aeronautics and space science. technical findings by NASA-sponsored
The NASA Scientific and Technical Information (STI) contractors and grantees.
Program plays a key part in helping NASA maintain
this important role. • CONFERENCE PUBLICATION. Collected
papers from scientific and technical
conferences, symposia, seminars, or other
The NASA STI Program operates under the auspices
meetings sponsored or co-sponsored by NASA.
of the Agency Chief Information Officer. It collects,
organizes, provides for archiving, and disseminates • SPECIAL PUBLICATION. Scientific,
NASA’s STI. The NASA STI Program provides access technical, or historical information from
to the NASA Technical Report Server—Registered NASA programs, projects, and missions, often
(NTRS Reg) and NASA Technical Report Server— concerned with subjects having substantial
Public (NTRS) thus providing one of the largest public interest.
collections of aeronautical and space science STI in
the world. Results are published in both non-NASA • TECHNICAL TRANSLATION. English-
channels and by NASA in the NASA STI Report language translations of foreign scientific and
Series, which includes the following report types: technical material pertinent to NASA’s mission.
• TECHNICAL PUBLICATION. Reports of For more information about the NASA STI
completed research or a major significant phase program, see the following:
of research that present the results of NASA
programs and include extensive data or theoretical • Access the NASA STI program home page at
analysis. Includes compilations of significant http://www.sti.nasa.gov
scientific and technical data and information
deemed to be of continuing reference value. • E-mail your question to [email protected]
NASA counter-part of peer-reviewed formal
• Fax your question to the NASA STI
professional papers, but has less stringent
Information Desk at 757-864-6500
limitations on manuscript length and extent of
graphic presentations.
• Telephone the NASA STI Information Desk at
757-864-9658
• TECHNICAL MEMORANDUM. Scientific
and technical findings that are preliminary or of • Write to:
specialized interest, e.g., “quick-release” reports, NASA STI Program
working papers, and bibliographies that contain Mail Stop 148
minimal annotation. Does not contain extensive NASA Langley Research Center
analysis. Hampton, VA 23681-2199
NASA/CP—2018-219785
April 2018
Acknowledgments
The organizers would like to thank the NASA Transformational Tools and Technologies (TTT) project, under the
Transformative Aeronautics Concepts Program (TACP) for funding the on-going development of T-MATS.
Trade names and trademarks are used in this report for identification
only. Their usage does not constitute an official endorsement,
either expressed or implied, by the National Aeronautics and
Space Administration.
Level of Review: This material has been technically reviewed by technical management.
Available from
NASA STI Program National Technical Information Service
Mail Stop 148 5285 Port Royal Road
NASA Langley Research Center Springfield, VA 22161
Hampton, VA 23681-2199 703-605-6000
NASA/CP—2018-219785 iii
T-MATS Users’ Workshop
Abstract
NASA Glenn Research Center hosted a Users’ Workshop on the Toolbox for the Modeling and
Analysis of Thermodynamic Systems (T-MATS) on August 21, 2017. The objective of this
workshop was to update the user community on the latest features of T-MATS, and to provide a
forum to present work performed using T-MATS. Presentations highlighted creative applications
and the development of new features and libraries, and emphasized the flexibility and simulation
power of T-MATS.
Introduction
The Toolbox for the Modeling and Analysis of Thermodynamic Systems (T-MATS) was
developed at NASA Glenn Research Center to facilitate the rapid generation of turbomachinery
simulations in a standardized environment. T-MATS is an Open Source graphical
thermodynamic simulation package built in MATLAB/Simulink (The MathWorks, Inc). It
combines generic thermodynamic and controls modeling capability with a numerical iterative
solver to create a framework for the creation of complex simulations. A feature of the package is
the turbomachinery block set. This set of Simulink blocks gives a developer the tools required to
create virtually any steady-state or dynamic turbomachinery simulation, e.g., a gas turbine
simulation. In systems where the control or other related components are modeled in
MATLAB/Simulink, the T-MATS developer has the ability to create the complete system in a
single tool.
T-MATS was originally released in 2014, and is making an impact within NASA on a variety of
aeronautics projects. As T-MATS approaches 5000 external downloads, conference and journal
papers are beginning to appear documenting its use. Additionally, the developers of T-MATS at
NASA Glenn are aware of several unpublished proprietary applications. Based on this success
and the desire to encourage interaction between users to further community development of the
Open Source software, a T-MATS Users’ Workshop was planned. The 2017 T-MATS Users’
Workshop provided a forum for developers to describe new features being incorporated into
T-MATS, as well as for researchers to present new applications of interest to the user
community. The Workshop consisted of two sessions. The first covered the in-house
development activities; the second covered applications, both in-house and out-of-house, as well
as a new functionality developed by an outside entity.
The following sections contain the presentations from the Workshop. Some of this work has
appeared in the literature previously, other work is new and was shown for the first time at the
Workshop. A list of references is included after the presentations to give the reader some
background in T-MATS’ capabilities, and applications that utilize T-MATS for some aspect of
the work reported. It is the sincere hope of the Workshop organizers that this information will
enable the reader to recognize the power, flexibility, and ease of use provided by T-MATS, and
to consider it for future applications.
NASA/CP—2018-219785 1
NASA/CP—2018-219785
www.nasa.gov
NASA/CP—2018-219785
Welcome/Overview
www.nasa.gov
NASA/CP—2018-219785
Welcome/Overview
• T-MATS was released in 2014
• First T-MATS Workshop held in April 2015
• T-MATS’ use is growing, with over 4500 downloads
to date
6
www.nasa.gov
NASA/CP—2018-219785
T-MATS Development
www.nasa.gov
NASA/CP—2018-219785
Expectations
MATS:
• What features are good and why?
• Can they be improved?
• What is missing?
• The group will discuss new feature development options.
Can we reach a consensus?
• The group will prioritize these potential new features
www.nasa.gov
NASA/CP—2018-219785
Team
• Jeffryes W. Chapman
Vantage Partners, LLC. Cleveland, OH 44142
• Thomas M. Lavelle
NASA Glenn Research Center, Cleveland, OH 44135
• Jonathan S. Litt
12
www.nasa.gov
NASA/CP—2018-219785
Outline
• T-MATS Overview
• Description
• General Use
• Features
• Types of Blocks
13
• Advanced Capabilities
• New Features and Updates
• Project Role and Status
• Summary
www.nasa.gov
NASA/CP—2018-219785
T-MATS Description
• Toolbox for the Modeling and Analysis of Thermodynamic
systems, T-MATS
– Modular thermodynamic modeling framework
– Designed for easy creation of custom Component Level Models
(CLM)
– Built in MATLAB®/Simulink®
• Package highlights
14
www.nasa.gov
NASA/CP—2018-219785
T-MATS Framework
• Plug-in for the industry-standard MATLAB/Simulink platform
– additional blocks in the Simulink Library Browser:
Added Simulink
Thermodynamic
modeling and numerical
solving functionality
15
www.nasa.gov
NASA/CP—2018-219785
T-MATS Framework
Dynamic Simulation
Example:
• Multi-loop structure
– The “outer” loop
(green) iterates in
the time domain
• Not required for
16
steady-state
models
– The “inner” loop
(blue) solves for
plant
convergence
during each time
step
www.nasa.gov
NASA/CP—2018-219785
Blocks: Turbo-machinery
• T-MATS contains component blocks necessary for
creation of turbo-machinery systems
– Modeling theory based on common industry
practices
• 0-D flow components, Win = Wout
• Energy balance modeling approach
• Compressor models utilize R-line
compressor maps
17
www.nasa.gov
NASA/CP—2018-219785
Shaft
18
Components must
agree on W for the
system
Convergence
Effectors:
Shaft speed
Pressure
Temperature
www.nasa.gov
NASA/CP—2018-219785
Blocks: Controls
• T-MATS contains component blocks designed for fast
control system creation
• General Design • Engine Design
– Sensors: – PI Regulator
Controller:
– Limit selection
19
– Actuators:
logic:
– PI controllers:
– Standardized table
lookups:
www.nasa.gov
NASA/CP—2018-219785
Advanced Capabilities
• Integration with Cantera
– Cantera models chemical kinetics, thermodynamics,
and/or transport properties.
• It is C++ based code with interfaces for python, MATLAB,
C, and Fortran 90 (Code-based and open source)
• Enables modeling of fuel cells, engines using alternative
20
fuels, etc.
• Integration with T-MATS
enables Cantera’s
capabilities to be utilized
in a graphical plug and
play modeling
environment https://en.wikipedia.org/wiki/File:Combustion_reaction_of_methane
www.nasa.gov
NASA/CP—2018-219785
Simplification
T-MATS custom class based scripts and blocks simplify
Cantera and allow easy creation of complex systems.
last = sec_out(2);
lasterr = sec_out(3);
Ttg = next;
end
T-MATS Blocks
www.nasa.gov
NASA/CP—2018-219785
BioFuels
www.nasa.gov
NASA/CP—2018-219785
ܳ ൌ ݉ ܥ כ ܶሶ௧
24
• Dynamically scale
component maps to
account for
degradation in the
turbomachinery.
25
www.nasa.gov
NASA/CP—2018-219785
Lin
Lin Lin
Lin
www.nasa.gov
NASA/CP—2018-219785
Help Files
Help files have been updated to be more…. Helpful.
28
Access through
the Block
Guide or
by clicking on
Help for any
T-MATS or
block
www.nasa.gov
NASA/CP—2018-219785
Component
Linking Data and Utilize gathered
block Setup Data data to
Npss.run BlockTransMTLB_TMATS.fnc automatically
Npss.mdl generate
…
Map Data T-MATS model
mapplot_matlab.fnc AutoLinker_TMATS.m
www.nasa.gov
NASA/CP—2018-219785
• Modified and built a geared turbofan model to operate within the distributed
engine controls rig.
– Active Turbine Tip Clearance Control (ATTCC)
• Created an engine model that simulates the mechanical growth of components
relating to turbine tip clearance. Integrated this tip clearance model with an
advanced geared turbofan.
– Model Based Engine Control (MBEC)
• Ongoing work to develop an engine model for validation of MBEC algorithms
before they are implemented within the test cell.
www.nasa.gov
NASA/CP—2018-219785
Status
www.nasa.gov
NASA/CP—2018-219785
Summary
www.nasa.gov
NASA/CP—2018-219785
Acknowledgments
www.nasa.gov
National Aeronautics and Space Administration
NASA/CP—2018-219785
Aidan W. Rinehart
35
T-MATS Workshop
August 21, 2017
Cleveland, Ohio
www.nasa.gov
National Aeronautics and Space Administration
NASA/CP—2018-219785
Outline
• Modeling Fundamentals
• Future Development
• Conclusions
www.nasa.gov
National Aeronautics and Space Administration
NASA/CP—2018-219785
Objective
• Develop fundamental blocks within the T-MATS
environment that can model working fluid systems
that are capable of capturing the dynamic responses
of the fluid and associated mechanical systems.
Including but not limited to hydraulic actuators and
high pressure rocket lines.
37
www.nasa.gov
National Aeronautics and Space Administration
NASA/CP—2018-219785
www.nasa.gov
National Aeronautics and Space Administration
NASA/CP—2018-219785
– Enthalpy
error term used to drive the
– Temperature*
solution
• Dependent variables:
– Density
– Internal energy
– Temperature
*Lookup tables can be designed to use any two properties. Pt-ht and Pt-Tt have been used as the test cases
www.nasa.gov
National Aeronautics and Space Administration
NASA/CP—2018-219785
Flow Start
• Fluid properties
www.nasa.gov
National Aeronautics and Space Administration
NASA/CP—2018-219785
Constant Volume
www.nasa.gov
National Aeronautics and Space Administration
NASA/CP—2018-219785
Variable Volume
– Inputs:
• Volume
• Inlet flow properties
– Supports multiple in and out flows
• Outlet flow properties – Calculates instantaneous change in
• Enthalpy pressure and internal energy
• Integrated density – Looks up internal energy based on
• Integrated internal energy pressure and enthalpy
• Integrated mass – Pressure and enthalpy varied until
difference between integrated and
– Outputs lookup values are within solution error
42
ത
ܴܶ ܽ
ܲൌ െ
ݒҧ െ ܾ ݒሺҧ ݒҧ െ ܾሻܶ Ǥହ
Dual action piston schematic
www.nasa.gov
National Aeronautics and Space Administration
NASA/CP—2018-219785
Valve
ʹሺܲଵ െ ܲଶ ሻ
ܹ ൌ ߩ כ ܿܣ כ ݀ܥ
ߩ
www.nasa.gov
National Aeronautics and Space Administration
NASA/CP—2018-219785
Pipe
– Inputs:
• Diameter
• Length
• Pressure differential
• Inlet density and viscosity
Fully developed turbulent pipe flow schematic
• Outlet density and viscosity
– Outputs
44
www.nasa.gov
National Aeronautics and Space Administration
NASA/CP—2018-219785
Example
www.nasa.gov
National Aeronautics and Space Administration
NASA/CP—2018-219785
Results
www.nasa.gov
National Aeronautics and Space Administration
NASA/CP—2018-219785
Future Work
www.nasa.gov
National Aeronautics and Space Administration
NASA/CP—2018-219785
Summary
www.nasa.gov
National Aeronautics and Space Administration
NASA/CP—2018-219785
Acknowledgments
www.nasa.gov
National Aeronautics and Space Administration
NASA/CP—2018-219785
References
• Chapman, Jeffryes W., Lavelle, Thomas M., May, Ryan D., Litt, Jonathan S., Guo, Ten-
Huei, “Toolbox for the Modeling and Analysis of Thermodynamic Systems (TMATS) User’s
Guide,” NASA/TM—2014-216638, January 2014.
• Chapman, Jeffryes W., Lavelle, Thomas M., May, Ryan D., Litt, Jonathan S., Guo, Ten-
Huei, “Propulsion System Simulation Using the Toolbox for the Modeling and Analysis of
Thermodynamic Systems (T-MATS),” AIAA 2014-3929, 50th AIAA/ASME/SAE/ASEE Joint
Propulsion Conference, Cleveland, OH, July 28-30, 2014, also NASA/TM—2014-218410,
November 2014.
• Zinnecker, Alicia M., Chapman, Jeffryes W., Lavelle, Thomas M., Litt, Jonathan S.,
50
“Development of a twin-spool turbofan engine simulation using the Toolbox for Modeling
and Analysis of Thermodynamic Systems (T-MATS),” AIAA 2014-3930, 50th
AIAA/ASME/SAE/ASEE Joint Propulsion Conference, Cleveland, OH, July 28- 30, 2014,
also NASA/TM—2014-218402, November 2014.
• Chapman, Jeffryes W., Lavelle, Thomas M., Litt, Jonathan S., Guo, Ten-Huei, “A Process
for the Creation of T-MATS Propulsion System Models from NPSS data,” AIAA 2014-3931,
50th AIAA/ASME/SAE/ASEE Joint Propulsion Conference, Cleveland, OH, July 28-30,
2014, also NASA/TM—2014-218409, November 2014.
• Lavelle, Thomas M., Chapman, Jeffryes W., May, Ryan D., Litt, Jonathan S., Guo, Ten-
Huei, “Cantera Integration with the Modeling and Analysis of Thermodynamic Systems (T-
MATS)," AIAA 2014-3932, 50th AIAA/ASME/SAE/ASEE Joint Propulsion Conference,
Cleveland, OH, July 28-30, 2014.
www.nasa.gov
NASA/CP—2018-219785
Background
• In preparation for the next generation of aircraft, T-MATS has been used
to model advanced high-efficiency engine concepts.
• Purpose
– Provide a dynamic platform for next generation engine system research.
www.nasa.gov
NASA/CP—2018-219785
www.nasa.gov
NASA/CP—2018-219785
All Differences
Less than 1%
54
www.nasa.gov
NASA/CP—2018-219785
BypNoz
55
LPT/Noz
Core
Fan/LPC
www.nasa.gov
NASA/CP—2018-219785
Modeling to Match
• To gain a better matching with the NPSS
model several T-MATS blocks were modified
– NPSS duct model scales dP by normalized MN
݀ܲ ൌ ܿݐ݊ܽݐݏ݊ ݀ܲ ൌ ݀ܲ݀݁ݏ
ݏ݁݀ܰܯ
www.nasa.gov
NASA/CP—2018-219785
Nf_req
58
PLA Wf_req
Wf_limMX
Wf_dmd
Wf_limMN
Limit
Selection
www.nasa.gov
NASA/CP—2018-219785
Acceleration limit
for stall margin mitigation, Wf/Ps3
Speed Controller
Operational Envelope
www.nasa.gov
NASA/CP—2018-219785
Opening VBV to
increase LPC stall
61
margin
www.nasa.gov
NASA/CP—2018-219785
Fan Performance
Optimal efficiency
62
VAFN Schedule
• Variable area fan
nozzle area scheduled
to maintain optimal fan
efficiency.
– Nozzle area increased to
reduce fan PR
– Nozzle area decreased to
increase fan PR
www.nasa.gov
NASA/CP—2018-219785
Model Validation
www.nasa.gov
NASA/CP—2018-219785
Control regulators
hit: accel, T45,
Ps3, and Nf.
64
Wf/Ps3 max
T45 max
65
Approaches
min limit
Ps3 min
Nf max
Wf/Ps3
max
66
Approaches
min limit
During approach and landing the control regulators act to maintain stall
margin, maximum Nf limit and minimum Ps3 limit
www.nasa.gov
NASA/CP—2018-219785
Summary
• A simulation of a next generation engine has been presented
– Advanced Geared Turbofan 30,000lbf (AGTF30)
• Ultrahigh bypass, small engine core, VAFN design
• Full envelope dynamic control system
• Built with the Toolbox for the Modeling and Analysis of Thermodynamic
systems (T-MATS), https://github.com/nasa/T-MATS/releases
• Planned to be made publicly available
• Control system design described
– Fuel control based on classical architecture
67
www.nasa.gov
NASA/CP—2018-219785
Acknowledgments
www.nasa.gov
NASA/CP—2018-219785
Demo
69
www.nasa.gov
NASA/CP—2018-219785
Applications
www.nasa.gov
NASA/CP—2018-219785
William Dunham
Department of Aerospace Engineering
University of Michigan
Acknowledgements: Ilya Kolmanovsky, Anouck Girard, Brandon Hencey, and Jinwoo Seok
This research was supported by the US Air Force Research Laboratory
NASA/CP—2018-219785
Motivation
Traditionally, aircraft subsystems
are controlled separately
Approach
enforcement
AircraftSystem Engine Power
¾ Is packaged with a working turbine example which can be easily followed and
modified
NASA/CP—2018-219785
Interactions w/Generators
The models are mechanically
coupled through the spool shafts
Outputs ( ):
78
HP Compressor
LP Compressor
: Surge Margin of the LP Compressor
: Surge Margin of the HP Compressor Flow Path
Interaction variables:
: Electrical generator torques
NASA/CP—2018-219785
Simplified Model
In order to apply model predictive control, a linear model is needed. We’ve found
that the Linear Analysis toolbox works well in identifying linear models without
much difficulty. Additionally, data can be manually collected for the System ID
Matlab application.
79
NASA/CP—2018-219785
Control problem
Accurately track set-points ݎ ǡ ݎ in order to provide mission critical power and
thrust while satisfying constraints.
Assume (current work) all states needed for control are measured or estimated.
ݔො
ݑ
80
ݑ ݑ
ݎ ݎ ݑிோ
ݑǡு
ݎு ݑǡ
ݎ ݎ݈݈݁ݎݐ݊ܥ ݑǡ
ܵ݉݁ݐݏݕ
ݎǡ ݑǡ௧௧
ݕு ݕௌெǡ ݕௌெǡ ܻא
ݕǡ ݕு ݕ
՜ݎ
ݕ ݕ
NASA/CP—2018-219785
Prediction model
A linearized model, converted to discrete-time (ܶ௦ ൌ ͲǤͲͳ sec)
81
Rate-based model
Let
82
Then
NASA/CP—2018-219785
ݎ ݑ
ܥܲܯ݁݊݅݃݊ܧ ݕ
݉݁ݐݏݕݏܾݑܵ݁݊݅݃݊ܧ
ݑ ݕ
ܲܥܲܯݎ݁ݓ ܲ݉݁ݐݏݕݏܾݑܵݎ݁ݓ
ݎ
NASA/CP—2018-219785
ල ය
ඹ
ය
85
ර
Total thrust from the jet engine. High Pressure Compressor Surge Margin.
ᬚ Atroughlyt=0.6sec,theHPsurgemarginconstraintisviolatedbyallcontrollers.
Thrusttrackingperformanceisaffected,howeverCentandCDareassistedbythe
powersubsystem.TheinsertshowsthattheCentcontrolleractuallyviolatesthe
constrainttwicebutallthreeremainclose.
ඹ ල ය Att=1sec,thepowerloadisgreatlyincreased.ThenewtorquespushtheHPsurge
marginawayfromtheconstraintandtheNDcontrollerregainsthrusttracking.
ර
ය ර Att=4sec,thepowerloadisdropped.
,ල Asecond,smallerpowerloadcomesonatt=6secandendsatt=9sec.
ඹ
ඹ
86
ය
ය
Battery, HP, and LP Generator power loads for Central case.
Battery, HP, and LP Generator power loads for CD case.
ර
ᬚ Atroughlyt=0.6sec,theCentandCDcontrollerssplitthepowerloadsunevenlyoverthetwo
ල generatorsinresponsetotheHPsurgemarginconstraintintheenginesubsystem.
ය Att=1sec,thepowerloadisgreatlyincreased.ThebatteriesareusedintransientforHVDCvoltage
stabilitywhilethegeneratorssupplythebulkoftheload.
ඹ
ර Att=4sec,thepowerloadisdropped.
ය
,ල Asecond,smallerpowerloadcomesonatt=6secandendsatt=9sec.
ල
ය Att=1sec,thepowerloadisgreatlyincreased.Thebatteriesareusedin
transientforHVDCvoltagestabilitywhilethegeneratorssupplythebulkof
theload.TheNDcontrollerlagsbehindtheothertwoinreachingthe
ර referencepowerloadcurrent.
87
ර Att=4sec,thepowerloadisdropped.TheCentcontrollerhasan
Power load current. acceptablevoltageviolation,accordingtoMILͲSPEC.TheNDcontroller
violatestheconstraintrepeatedlyinrapidsuccession,whichisnot
ල acceptable.
,ල Asecond,smallerpowerloadcomesonatt=6secandendsatt=9
sec.
ර
ර
ය
HVDC Voltage.
NASA/CP—2018-219785
Concluding Remarks
T-MATS is a powerful and robust tool for control design. It’s robustness and
speed enables the testing of interesting system configurations and control
scenarios.
88
NASA/CP—2018-219785
Questions,comments,orsuggestions??
NASA/CP—2018-219785
George Thomas
N&R Engineering
Intelligent Control & Autonomy Branch
August 21, 2017
www.nasa.gov
NASA/CP—2018-219785
Outline
• Introduction
• Distributed Engine Control (DEC)
• Distributed Engine Control System Simulator (DECSS)
• HIL Test Design
92
www.nasa.gov
NASA/CP—2018-219785
Introduction
• Objectives:
• Develop infrastructure for HIL test of distributed engine
control (DEC) technologies
• Be able to test
• Variety of engine plant simulations in system with hardware
• Advanced control techniques/logic
93
www.nasa.gov
NASA/CP—2018-219785
Introduction – DEC
• Distribution of previously centralized control elements
• Different architecture, performs same functions as centralized
• However, indirect benefits due to reduced system constraints
• Fuel burn (nacelle diameter, cabling weight)
• Cost (maintenance, design, life cycle)
• Also enables future capability
94
Centralized Distributed
vs
www.nasa.gov
NASA/CP—2018-219785
Introduction – DECSS
• Distributed Engine Control System Simulator
• 16-core Intel rack mounted server
• Real-time Linux with “Sim Workbench” IDE
• Variety of digital, analog, serial I/O DECSS
• Capacity to add more (e.g. PCIe expansion chassis)
• HIL LAN constitutes a “Virtual Test Cell”
• LAN also connects test articles (e.g. smart nodes)
95
PLA
www.nasa.gov
NASA/CP—2018-219785
Node 6
(at station 160-190, trailing
zero often omitted)
N3
N1 N2
Engine Station
Numbers
(for core gas path)
www.nasa.gov
NASA/CP—2018-219785
Top-level model
(using model ref blocks)
Engine Model
“Smart” Sensor models
www.nasa.gov
NASA/CP—2018-219785
www.nasa.gov
NASA/CP—2018-219785
window
www.nasa.gov
NASA/CP—2018-219785
dTamb, qF
2 40
1 20
TMATS controller on Windows® platform
0 0
1000 2000 3000 1000 2000 3000 • Baseline TMATS AGTF30 engine model &
controller, real time HIL platform
Mach Number
PLA, degrees
0.5 60
• Distributed TMATS AGTF30 engine plant
0 40
1000 2000 3000 1000 2000 3000 model & controller with simulated DEC
time, seconds time, seconds nodes and network on real time HIL platform
102
2
1.8 • Can bring engine described in NPSS into TMATS-
500 1000 1500 2000 2500 3000 based HIL environment
time, seconds
NASA Ames Flight Profile
• Approach applies to any engine system
NPSS Actual
FD_687200104131515 NPSS Sensor • Can add DEC modeling fidelity to simulated
Baseline Actual
Baseline Sensor
control elements and compare with hardware
NPSS Inputs
Baseline Inputs Distributed Actual
Distributed Sensor
• Appropriately designed DEC system (Network-in-
Distributed Inputs
Network-in-the-loop Actual the-Loop) successfully performs same function as
Network-in-the-loop Inputs
Network-in-the-loop Sensor centralized
www.nasa.gov
NASA/CP—2018-219785
Conclusions
• Demonstrated infrastructure for DEC system HIL test
• Can build TMATS model for real-time HIL simulation
• NASA GRC HIL test capabilities allow
• Testing of
103
www.nasa.gov
NASA/CP—2018-219785
References
1. Behbahani, A. R., “Achieving AFRL Universal FADEC Vision with Open Architecture Addressing Capability and
Obsolescence for Military and Commercial Applications,” 42nd AIAA/ASME/SAE/ASEE Joint Propulsion
Conference Exhibit, , No. AIAA 2006-4302, July 2006.
2. Culley, D. E., Thomas, R., and Saus, J., “Concepts for Distributed Engine Control,” Proceedings of the 43rd Joint
Propulsion Conference and Exhibit, AIAA-2007-5709, Cincinnati, OH, July 2007.
3. Aretskin-Hariton, E. D., Zinnecker, A. M., Kratz, J. L., Culley, D. E., and Thomas, G. L., “Benchmarking model
variants in development of a hardware-in-the-loop simulation system,” AIAA Science and Technology Forum and
Exposition, AIAA-2016-1425, San Diego, CA, January 2016.
4. Zinnecker, A. M., Culley, D. E., and Aretskin-Hariton, E. D., “A modular approach to modeling hardware elements
in distributed engine control systems,” AIAA Propulsion and Energy Forum and Exposition 2014: 50th
104
www.nasa.gov
NASA/CP—2018-219785
Thank you!
105
Questions?
www.nasa.gov
NASA/CP—2018-219785
Jason Whitfield
107
Project Objectives
Refactor the T-MATS block S-function code to enable code generation with
MathWorks’ Embedded Coder product
Advantages:
– Model Based Engine Control
– Support for SIL and PIL simulation mode
108
Split S-function setup code and block calculation code into two files:
Test Beds
Created test beds for each T-MATS block to ensure that functionality did not
change.
Compared old blocks against new blocks and generated code.
Used input data from T-MATS example models and old NASA test models.
116
NASA/CP—2018-219785
Algorithm Executable
Target Hardware
NASA/CP—2018-219785
118
Code
Generation
Non-real-time execution
synchronized with host at each time step
NASA/CP—2018-219785
Demo
NASA/CP—2018-219785 125