T-MATS: set TsPsMN, Cantera Library Block
Set the conditions based on flow, static temperature, static pressure, and Mach number. To utilize this block a Cantera object must exist in the workspace as a global variable named fs, which may be created with the Cantera importPhase command. The fs variable must include all Species defined in the file canteraload.m.

set_TsPsMN Inputs:
set_TsPsMN InputDescription
Flow Ininput Flow, 25x1 vector consisting of:
-1- W - gas path flow [pps]
-2- s - entropy [BTU/(lbm*degR)]
-3- Tt - total temperature [degR]
-4- Pt - total pressure [psia]
-5- ht - total enthlapy [BTU/lbm]
-6- rhot - total density [lbm/ft3]
-7- gamt - total specific heat ratio
-8- Ts - static temperature [degR]
-9- Ps - static pressure [psia]
-10- hs - static enthalpy [BTU/lbm]
-11- rhos - static density [lbm/ft3]
-12- gams - static specific heat ratio
-13- Vflow - flow velocity [ft/sec]
-14- MN - Mach number
-15- A - flow area [in2]
-16to21- species array values, defined in canteraload.m
-22to25- future use
Tsnew total temperature[degR]
Psnew total pressure[psia]
MNnew Mach Number

set_TsPsMN Outputs:
set_TsPsMN OutputDescription
Flow OutFlow Data Output, 25x1 vector consisting of:
-1- W - gas path flow [pps]
-2- s - entropy [BTU/(lbm*degR)]
-3- Tt - total temperature [degR]
-4- Pt - total pressure [psia]
-5- ht - total enthlapy [BTU/lbm]
-6- rhot - total density [lbm/ft3]
-7- gamt - total specific heat ratio
-8- Ts - static temperature [degR]
-9- Ps - static pressure [psia]
-10- hs - static enthalpy [BTU/lbm]
-11- rhos - static density [lbm/ft3]
-12- gams - static specific heat ratio
-13- Vflow - flow velocity [ft/sec]
-14- MN - Mach number
-15- A - flow area [in2]
-16to21- species array values, defined in canteraload.m
-22to25- future use
sTsPsMN_DataBlock additional calculation Data, 1x1 vector including:
- 0 - future use