T-MATS: Ambient Library Block
This block translates environmental condition to gas characteristics: Alt, dTamb, Air purity, and MN to Pressure, Temperature, FAR, and Velocity.

Ambient Inputs:
Ambient InputDescription
Wgas path flow[pps]
AltAltitude(ft)
dTambDelta Temperature from Ambient [degF]
MNMach Number [frac]

Ambient Outputs:
Ambient OutputDescription
GasPthCharOutGas Path Characteristics Output, 5x1 vector consisting of:
- W - gas path flow [pps]
- ht - enthalpy [BTU/lbm]
- Tt - Total Temperature [degR]
- Pt - Total Pressure [psia]
- FARc - Combusted Fuel to Air Ratio [frac]
PambAmbient Static Pressure [psia]
A_DataAmbient additional calculation Data (3x1 vector):
- Ts - Static Temperature [degR]
- Ps - Static Pressure [psia]
- Veng - Engine Velocity [ft/sec]

Ambient Mask Variables:
Ambient Mask VariableDescription
X_A_AltVec_MAmbient Altitude Vector (mx1)
T_A_TsVec_MAmbient Static Temperature Table Vector (Ts = f(Alt)) (mx1)
T_A_PsVec_MAmbient Static Pressure Table Vector (Ps = f(Alt)) (mx1)
AFARc_MAmbient air quality (combusted Fuel to Air Ratio) [frac]
X_A_FARVec_MFuel to Air Ratio Vector(fx1)
T_A_RtArray_MGas Constant, R, Array (R = f(FAR))(fx1)
Y_A_TVec_MTemperature Vector(tx1)
T_A_gammaArray_MGamma Array (Gamma = f(T,FAR))(txf)

Note: Vectors are the x and/or y axis to a table made of another vector.