T-MATS: Valve Library Block
This block simulates the performance of a valve using basic thermodynamic equations, properties, and table lookups.

Valve Inputs:
Valve InputDescription
ByGasPthCharInGas Path Characteristics of the Bypass, 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]
ValvePosValve Position[frac] 0 - full closed command, 1 - full open command
MFPGasPthCharInGas Path Characteristics of the Main Flow Path, 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]
Nmechshaft speed [rpm]

Valve Outputs:
Valve OutputDescription
ByGasPthCharOutGas Path Characteristics of the Bypass, 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]
MFPGasPthCharOutGas Path Characteristics of the Main Flow Path, 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]
V_DataValve internal calculation Data

Valve Mask Variables:
Valve Mask VariableDescription
VFO_MValve fully open Value[frac], mechanical valve limit
VDZ_MValve dead zone Value[frac], mechanical requirement
before valve begins to move off fully closed
VAe_MValve Active Area[in^2], size of valve opening
X_VPRVec_MValve Pressure Ratio Vector (x-axis)
T_VWArray_MValve Flow Array (W=f(PR))

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