FuelCellElectricGenerator Module

module~~fuelcellelectricgenerator~~UsesGraph module~fuelcellelectricgenerator FuelCellElectricGenerator module~generatorfuelsupply GeneratorFuelSupply module~generatorfuelsupply->module~fuelcellelectricgenerator module~generatordynamicsmanager GeneratorDynamicsManager module~generatordynamicsmanager->module~fuelcellelectricgenerator module~dataglobals DataGlobals module~dataglobals->module~fuelcellelectricgenerator module~dataglobals->module~generatorfuelsupply module~dataglobals->module~generatordynamicsmanager module~datagenerators DataGenerators module~dataglobals->module~datagenerators module~dataloopnode DataLoopNode module~dataglobals->module~dataloopnode module~datagenerators->module~fuelcellelectricgenerator module~datagenerators->module~generatorfuelsupply module~datagenerators->module~generatordynamicsmanager module~dataglobalconstants DataGlobalConstants module~dataglobalconstants->module~fuelcellelectricgenerator module~dataloopnode->module~fuelcellelectricgenerator module~datainterfaces DataInterfaces module~datainterfaces->module~fuelcellelectricgenerator module~datainterfaces->module~generatorfuelsupply module~datainterfaces->module~generatordynamicsmanager module~dataprecisionglobals DataPrecisionGlobals module~dataprecisionglobals->module~generatorfuelsupply module~dataprecisionglobals->module~dataglobals module~dataprecisionglobals->module~datagenerators module~dataprecisionglobals->module~dataloopnode module~dataprecisionglobals->module~datainterfaces
Help

Used By

module~~fuelcellelectricgenerator~~UsedByGraph module~fuelcellelectricgenerator FuelCellElectricGenerator proc~simplantequip SimPlantEquip module~fuelcellelectricgenerator->proc~simplantequip proc~initinternalheatgains InitInternalHeatGains module~fuelcellelectricgenerator->proc~initinternalheatgains proc~generatorpoweroutput GeneratorPowerOutput module~fuelcellelectricgenerator->proc~generatorpoweroutput
Help


Variables

TypeVisibility AttributesNameInitial
logical, private :: GetFuelCellInput =.TRUE.
logical, private, ALLOCATABLE, DIMENSION(:):: CheckEquipName

Functions

private function FuelCellProductGasEnthResidual(TprodGas, Par) result(Residuum)

Arguments

Type IntentOptional AttributesName
real(kind=r64), intent(in) :: TprodGas
real(kind=r64), intent(in), optional Dimension(:):: Par

Return Value real(kind=r64)


Subroutines

public subroutine SimFuelCellGenerator(GeneratorType, GeneratorName, GeneratorIndex, RunFlag, MyLoad, FirstHVACIteration)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: GeneratorType
character(len=*), intent(in) :: GeneratorName
integer, intent(inout) :: GeneratorIndex
logical, intent(in) :: RunFlag
real(kind=r64), intent(in) :: MyLoad
logical, intent(in) :: FirstHVACIteration

private subroutine GetFuelCellGeneratorInput()

CR9240?

Arguments

None

private subroutine CalcFuelCellGeneratorModel(GeneratorNum, RunFlag, myload, FirstHVACIteration)

BEGIN SEQUENTIAL SUBSTITUTION to handle a lot of inter-related calcs

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: GeneratorNum
logical, intent(in) :: RunFlag
real(kind=r64), intent(in) :: myload
logical, intent(in) :: FirstHVACIteration

private subroutine ManageElectStorInteractions(Num, Pdemand, PpcuLosses, Constrained, Pstorage, PgridOverage)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: Num
real(kind=r64), intent(in) :: Pdemand
real(kind=r64), intent(in) :: PpcuLosses
logical, intent(out) :: Constrained
real(kind=r64), intent(out) :: Pstorage
real(kind=r64), intent(out) :: PgridOverage

private subroutine FigureAirHeatCap(GeneratorNum, FluidTemp, Cp)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: GeneratorNum
real(kind=r64), intent(in) :: FluidTemp
real(kind=r64), intent(out) :: Cp

private subroutine FigureAirEnthalpy(GeneratorNum, FluidTemp, Hair)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: GeneratorNum
real(kind=r64), intent(in) :: FluidTemp
real(kind=r64), intent(out) :: Hair

private subroutine FigureFuelHeatCap(GeneratorNum, FluidTemp, Cp)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: GeneratorNum
real(kind=r64), intent(in) :: FluidTemp
real(kind=r64), intent(out) :: Cp

private subroutine FigureFuelEnthalpy(GeneratorNum, FluidTemp, Hfuel)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: GeneratorNum
real(kind=r64), intent(in) :: FluidTemp
real(kind=r64), intent(out) :: Hfuel

private subroutine FigureProductGasesEnthalpy(GeneratorNum, FluidTemp, HProdGases)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: GeneratorNum
real(kind=r64), intent(in) :: FluidTemp
real(kind=r64), intent(out) :: HProdGases

private subroutine FigureProductGasHeatCap(GeneratorNum, FluidTemp, Cp)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: GeneratorNum
real(kind=r64), intent(in) :: FluidTemp
real(kind=r64), intent(out) :: Cp

private subroutine FigureAuxilHeatGasHeatCap(GeneratorNum, FluidTemp, Cp)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: GeneratorNum
real(kind=r64), intent(in) :: FluidTemp
real(kind=r64), intent(out) :: Cp

private subroutine FigureHXleavingGasHeatCap(GeneratorNum, FluidTemp, Cp)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: GeneratorNum
real(kind=r64), intent(in) :: FluidTemp
real(kind=r64), intent(out) :: Cp

private subroutine FigureGaseousWaterEnthalpy(FluidTemp, HGasWater)

Arguments

Type IntentOptional AttributesName
real(kind=r64), intent(in) :: FluidTemp
real(kind=r64), intent(out) :: HGasWater

private subroutine FigureLiquidWaterEnthalpy(FluidTemp, HLiqWater)

Arguments

Type IntentOptional AttributesName
real(kind=r64), intent(in) :: FluidTemp
real(kind=r64), intent(out) :: HLiqWater

private subroutine FigureLiquidWaterHeatCap(FluidTemp, Cp)

Arguments

Type IntentOptional AttributesName
real(kind=r64), intent(in) :: FluidTemp
real(kind=r64), intent(out) :: Cp

private subroutine FigureLHVofFuel(Num, NdotFuel, NdotCO2, NdotH20, LHV)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: Num
real(kind=r64), intent(in) :: NdotFuel
real(kind=r64), intent(in) :: NdotCO2
real(kind=r64), intent(in) :: NdotH20
real(kind=r64), intent(out) :: LHV

private subroutine FigureACAncillaries(GeneratorNum, PacAncill)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: GeneratorNum
real(kind=r64), intent(out) :: PacAncill

private subroutine FigurePowerConditioningLosses(GeneratorNum, Pdemand, PpcuLosses)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: GeneratorNum
real(kind=r64), intent(in) :: Pdemand
real(kind=r64), intent(out) :: PpcuLosses

private subroutine FigureTransientConstraints(GeneratorNum, Pel, Constrained, PelDiff)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: GeneratorNum
real(kind=r64), intent(inout) :: Pel
logical, intent(out) :: Constrained
real(kind=r64), intent(out) :: PelDiff

private subroutine CalcFuelCellAuxHeater(Num)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: Num

private subroutine CalcFuelCellGenHeatRecovery(Num)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: Num

public subroutine SimFuelCellPlantHeatRecovery(CompType, CompName, CompTypeNum, CompNum, RunFlag, InitLoopEquip, MyLoad, MaxCap, MinCap, OptCap, FirstHVACIteration)

Arguments

Type IntentOptional AttributesName
character(len=*), intent(in) :: CompType
character(len=*), intent(in) :: CompName
integer, intent(in) :: CompTypeNum
integer, intent(inout) :: CompNum
logical, intent(in) :: RunFlag
logical, intent(inout) :: InitLoopEquip
real(kind=r64), intent(inout) :: MyLoad
real(kind=r64), intent(out) :: MaxCap
real(kind=r64), intent(out) :: MinCap
real(kind=r64), intent(out) :: OptCap
logical, intent(in) :: FirstHVACIteration

private subroutine InitFuelCellGenerators(FCnum)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: FCnum

public subroutine FigureFuelCellZoneGains()

Arguments

None

private subroutine UpdateExhaustAirFlows(Num)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: Num

private subroutine CalcUpdateHeatRecovery(Num, FirstHVACIteration)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: Num
logical, intent(in) :: FirstHVACIteration

private subroutine UpdateFuelCellGeneratorRecords(RunFlag, Num)

Arguments

Type IntentOptional AttributesName
logical, intent(in) :: RunFlag
integer, intent(in) :: Num

public subroutine GetFuelCellGeneratorResults(GeneratorType, GeneratorIndex, GeneratorPower, GeneratorEnergy, ThermalPower, ThermalEnergy)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: GeneratorType
integer, intent(in) :: GeneratorIndex
real(kind=r64), intent(out) :: GeneratorPower
real(kind=r64), intent(out) :: GeneratorEnergy
real(kind=r64), intent(out) :: ThermalPower
real(kind=r64), intent(out) :: ThermalEnergy


AirflowNetworkBalanceManager AirflowNetworkSolver BaseboardElectric BaseboardRadiator Boilers BoilerSteam BranchInputManager BranchNodeConnections ChillerAbsorption ChillerElectricEIR ChillerExhaustAbsorption ChillerGasAbsorption ChillerIndirectAbsorption ChillerReformulatedEIR CondenserLoopTowers ConductionTransferFunctionCalc ConvectionCoefficients CoolTower CostEstimateManager CrossVentMgr CTElectricGenerator CurveManager DataAirflowNetwork DataAirLoop DataAirSystems DataBranchAirLoopPlant DataBranchNodeConnections DataBSDFWindow DataComplexFenestration DataContaminantBalance DataConvergParams DataConversions DataCostEstimate DataDaylighting DataDaylightingDevices DataDefineEquip DataDElight DataEnvironment DataErrorTracking DataGenerators DataGlobalConstants DataGlobals DataHeatBalance DataHeatBalFanSys DataHeatBalSurface DataHVACControllers DataHVACGlobals DataInterfaces DataIPShortCuts DataLoopNode DataMoistureBalance DataMoistureBalanceEMPD DataOutputs DataPhotovoltaics DataPlant DataPlantPipingSystems DataPrecisionGlobals DataReportingFlags DataRoomAirModel DataRootFinder DataRuntimeLanguage DataShadowingCombinations DataSizing DataStringGlobals DataSurfaceColors DataSurfaceLists DataSurfaces DataSystemVariables DataTimings DataUCSDSharedData DataVectorTypes DataViewFactorInformation DataWater DataWindowEquivalentLayer DataZoneControls DataZoneEnergyDemands DataZoneEquipment DaylightingDevices DaylightingManager DELIGHTMANAGERF DELIGHTMANAGERF DemandManager DesiccantDehumidifiers DirectAirManager DisplacementVentMgr DualDuct DXCoils DXFEarClipping EarthTube EconomicLifeCycleCost EconomicTariff EcoRoofManager ElectricBaseboardRadiator EMSManager EvaporativeCoolers EvaporativeFluidCoolers ExteriorEnergyUse ExternalInterface FanCoilUnits Fans FaultsManager FluidCoolers FluidProperties FuelCellElectricGenerator Furnaces General GeneratorDynamicsManager GeneratorFuelSupply GlobalNames GroundHeatExchangers HeatBalanceAirManager HeatBalanceHAMTManager HeatBalanceIntRadExchange HeatBalanceManager HeatBalanceMovableInsulation HeatBalanceSurfaceManager HeatBalFiniteDiffManager HeatingCoils HeatPumpWaterToWaterCOOLING HeatPumpWaterToWaterHEATING HeatPumpWaterToWaterSimple HeatRecovery HighTempRadiantSystem Humidifiers HVACControllers HVACCooledBeam HVACDuct HVACDXHeatPumpSystem HVACDXSystem HVACHXAssistedCoolingCoil HVACInterfaceManager HVACManager HVACMultiSpeedHeatPump HVACSingleDuctInduc HVACStandAloneERV HVACUnitaryBypassVAV HVACUnitarySystem HVACVariableRefrigerantFlow HWBaseboardRadiator ICEngineElectricGenerator IceThermalStorage InputProcessor InternalHeatGains ISO_C_FUNCTION_BINDING ISO_C_FUNCTION_BINDING LowTempRadiantSystem ManageElectricPower MatrixDataManager MicroCHPElectricGenerator MicroturbineElectricGenerator MixedAir MixerComponent MoistureBalanceEMPDManager MundtSimMgr NodeInputManager NonZoneEquipmentManager OutAirNodeManager OutdoorAirUnit OutputProcessor OutputReportPredefined OutputReportTabular OutsideEnergySources PackagedTerminalHeatPump PackagedThermalStorageCoil Photovoltaics PhotovoltaicThermalCollectors PipeHeatTransfer Pipes PlantCentralGSHP PlantChillers PlantComponentTemperatureSources PlantCondLoopOperation PlantHeatExchangerFluidToFluid PlantLoadProfile PlantLoopEquip PlantLoopSolver PlantManager PlantPipingSystemsManager PlantPressureSystem PlantUtilities PlantValves PollutionModule PondGroundHeatExchanger PoweredInductionUnits Psychrometrics Pumps PurchasedAirManager RefrigeratedCase ReportSizingManager ReturnAirPathManager RoomAirModelManager RoomAirModelUserTempPattern RootFinder RuntimeLanguageProcessor ScheduleManager SetPointManager SimAirServingZones SimulationManager SingleDuct SizingManager SolarCollectors SolarReflectionManager SolarShading SortAndStringUtilities SplitterComponent SQLiteProcedures SQLiteProcedures StandardRatings SteamBaseboardRadiator SteamCoils SurfaceGeometry SurfaceGroundHeatExchanger SystemAvailabilityManager SystemReports TARCOGArgs TARCOGCommon TARCOGDeflection TARCOGGasses90 TARCOGGassesParams TARCOGMain TARCOGOutput TARCOGParams TarcogShading ThermalChimney ThermalComfort ThermalEN673Calc ThermalISO15099Calc TranspiredCollector UFADManager UnitHeater UnitVentilator UserDefinedComponents VariableSpeedCoils vectors VentilatedSlab WaterCoils WaterManager WaterThermalTanks WatertoAirHeatPump WatertoAirHeatPumpSimple WaterUse WeatherManager WindowAC WindowComplexManager WindowEquivalentLayer WindowManager WindTurbine ZoneAirLoopEquipmentManager ZoneContaminantPredictorCorrector ZoneDehumidifier ZoneEquipmentManager ZonePlenum ZoneTempPredictorCorrector