TYPE GeneratorFuelSupplyDataStruct
! user input data
CHARACTER(len=MaxNameLength) :: Name = ' ' !name of this fuel supply module
INTEGER :: FuelTempMode = 0 ! temperature of fuel node
INTEGER :: FuelTypeMode = 0 ! type of fuel, gasous or liquid
CHARACTER(len=MaxNameLength) :: NodeName = ' ' !node name for temperature at input
INTEGER :: NodeNum = 0 ! node number for temperature at input
INTEGER :: SchedNum = 0 ! fuel temperature at input
INTEGER :: CompPowerCurveID = 0 ! "pointer" to compressor power cubic curve
REAL(r64) :: CompPowerLossFactor = 0.0d0
INTEGER :: NumConstituents !number of constituents in fue supply
CHARACTER(len=MaxNameLength), DIMENSION(14) :: ConstitName = ' '
REAL(r64), DIMENSION(14) :: ConstitMolalFract = 0.0d0
!calculated data (except some for generic liquid)
INTEGER, DIMENSION(14) :: GasLibID = 0 ! lookup ID in Gas Phase ThermoChemistry Structure Array
REAL(r64) :: LHV = 0.0d0 ! lower heating value of gaseous fuel (kJ/mol)
REAL(r64) :: LHVJperkg = 0.0d0 ! lower heating value of gaseous fuel (J/kg)
REAL(r64) :: LHVliquid = 0.0d0 ! userdefined lhv for generic liquid (J/kg)
REAL(r64) :: HHV = 0.0d0 ! higher heating value of fuel (J/kg)
REAL(r64) :: MW = 0.0d0 ! molecular weight g/mol
REAL(r64) :: eCO2 = 0.0d0 ! mass flow based CO2 emmissions factor for complete combustion (-)
REAL(r64) :: KmolPerSecToKgPerSec = 0.0d0 ! conversion from moles to kilograms for this fuel. (
REAL(r64) :: StoicOxygenRate = 0.0d0
REAL(r64) :: TfuelIntoCompress = 0.0d0 ! inlet fuel temperature
REAL(r64) :: TfuelIntoFCPM = 0.0d0 ! compressed fuel temp
REAL(r64) :: PfuelCompEl = 0.0d0 ! fuel compressor power
REAL(r64) :: QskinLoss = 0.0d0 ! pumping losses for zone
REAL(r64) :: CO2ProductGasCoef = 0.0d0 ! molar multiplier for stoic products of this fuel
REAL(r64) :: H20ProductGasCoef = 0.0d0 ! molar multiplier for stoic products of this fuel
END TYPE GeneratorFuelSupplyDataStruct