T-MATS: Valve_Phy Library Block
This block simulates the performance of a valve using basic thermodynamic equations, properties, and table lookups. This Valve block takes a more physics based modeling approach then the Valve block.

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
s_V_AeVLV_MValve area [in^2]
s_V_AeBYP_MValve bypass area [in^2]
s_V_AeTH_MValve throat area [in^2]
X_V_FARVec_MFuel to Air ratio (x-axis)[frac]
T_V_RtVec_MR Array(Rt = f(FAR))
Y_V_TtVec_MTotal Temperature Vector (y - axis)[degR]
Y_T_V_gammaArray_MGamma Array (Gamma = f(FAR, Tt))

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