UserDefinedComponents Module

module~~userdefinedcomponents~~UsesGraph module~userdefinedcomponents UserDefinedComponents module~dataglobals DataGlobals module~dataglobals->module~userdefinedcomponents module~dataruntimelanguage DataRuntimeLanguage module~dataglobals->module~dataruntimelanguage module~datawater DataWater module~dataglobals->module~datawater module~dataplant DataPlant module~dataglobals->module~dataplant module~dataloopnode DataLoopNode module~dataglobals->module~dataloopnode module~dataruntimelanguage->module~userdefinedcomponents module~datawater->module~userdefinedcomponents module~dataplant->module~userdefinedcomponents module~dataloopnode->module~userdefinedcomponents module~dataloopnode->module~dataplant module~datainterfaces DataInterfaces module~datainterfaces->module~userdefinedcomponents module~dataprecisionglobals DataPrecisionGlobals module~dataprecisionglobals->module~userdefinedcomponents module~dataprecisionglobals->module~dataglobals module~dataprecisionglobals->module~dataruntimelanguage module~dataprecisionglobals->module~datawater module~dataprecisionglobals->module~dataplant module~dataprecisionglobals->module~dataloopnode module~dataprecisionglobals->module~datainterfaces
Help

Used By

module~~userdefinedcomponents~~UsedByGraph module~userdefinedcomponents UserDefinedComponents proc~simplantequip SimPlantEquip module~userdefinedcomponents->proc~simplantequip proc~simairloopcomponent SimAirLoopComponent module~userdefinedcomponents->proc~simairloopcomponent proc~simoacomponent SimOAComponent module~userdefinedcomponents->proc~simoacomponent proc~simzoneequipment SimZoneEquipment module~userdefinedcomponents->proc~simzoneequipment proc~simzoneairloopequipment SimZoneAirLoopEquipment module~userdefinedcomponents->proc~simzoneairloopequipment
Help


Variables

TypeVisibility AttributesNameInitial
type(UserPlantComponentStruct), private, DIMENSION(:), ALLOCATABLE:: UserPlantComp
type(UserCoilComponentStruct), private, DIMENSION(:), ALLOCATABLE:: UserCoil
type(UserZoneHVACForcedAirComponentStruct), private, DIMENSION(:), ALLOCATABLE:: UserZoneAirHVAC
type(UserAirTerminalComponentStruct), private, DIMENSION(:), ALLOCATABLE:: UserAirTerminal
integer, private :: NumUserPlantComps =0
integer, private :: NumUserCoils =0
integer, private :: NumUserZoneAir =0
integer, private :: NumUserAirTerminals =0
logical, private, ALLOCATABLE, DIMENSION(:):: CheckUserPlantCompName
logical, private, ALLOCATABLE, DIMENSION(:):: CheckUserCoilName
logical, private, ALLOCATABLE, DIMENSION(:):: CheckUserZoneAirName
logical, private, ALLOCATABLE, DIMENSION(:):: CheckUserAirTerminal
logical, private :: GetInput =.TRUE.

Derived Types

type, private :: PlantConnectionStruct

Components

TypeVisibility AttributesNameInitial
integer, public :: ErlInitProgramMngr =0
integer, public :: ErlSimProgramMngr =0
integer, public :: LoopNum =0
integer, public :: LoopSideNum =0
integer, public :: BranchNum =0
integer, public :: CompNum =0
integer, public :: InletNodeNum =0
integer, public :: OutletNodeNum =0
integer, public :: FlowPriority =LoopFlowStatus_Unknown
integer, public :: HowLoadServed =HowMet_Unknown
real(kind=r64), public :: LowOutTempLimit =0.d0
real(kind=r64), public :: HiOutTempLimit =0.d0
real(kind=r64), public :: MassFlowRateRequest =0.d0
real(kind=r64), public :: MassFlowRateMin =0.d0
real(kind=r64), public :: MassFlowRateMax =0.d0
real(kind=r64), public :: DesignVolumeFlowRate =0.d0
real(kind=r64), public :: MyLoad =0.d0
real(kind=r64), public :: MinLoad =0.d0
real(kind=r64), public :: MaxLoad =0.d0
real(kind=r64), public :: OptLoad =0.d0
real(kind=r64), public :: InletRho =0.d0
real(kind=r64), public :: InletCp =0.d0
real(kind=r64), public :: InletTemp =0.d0
real(kind=r64), public :: InletMassFlowRate =0.d0
real(kind=r64), public :: OutletTemp =0.d0

type, private :: AirConnectionStruct

Components

TypeVisibility AttributesNameInitial
integer, public :: InletNodeNum =0
integer, public :: OutletNodeNum =0
real(kind=r64), public :: InletRho =0.d0
real(kind=r64), public :: InletCp =0.d0
real(kind=r64), public :: InletTemp =0.d0
real(kind=r64), public :: InletHumRat =0.d0
real(kind=r64), public :: InletMassFlowRate =0.d0
real(kind=r64), public :: OutletTemp =0.d0
real(kind=r64), public :: OutletHumRat =0.d0
real(kind=r64), public :: OutletMassFlowRate =0.d0

Components

TypeVisibility AttributesNameInitial
logical, public :: SuppliedByWaterSystem =.FALSE.
integer, public :: SupplyTankID =0
integer, public :: SupplyTankDemandARRID =0
real(kind=r64), public :: SupplyVdotRequest =0.d0
logical, public :: CollectsToWaterSystem =.FALSE.
integer, public :: CollectionTankID =0
integer, public :: CollectionTankSupplyARRID =0
real(kind=r64), public :: CollectedVdot =0.d0

type, private :: ZoneInternalGainsStruct

Components

TypeVisibility AttributesNameInitial
logical, public :: DeviceHasInternalGains =.FALSE.
integer, public :: ZoneNum =0
real(kind=r64), public :: ConvectionGainRate =0.d0
real(kind=r64), public :: ReturnAirConvectionGainRate =0.d0
real(kind=r64), public :: ThermalRadiationGainRate =0.d0
real(kind=r64), public :: LatentGainRate =0.d0
real(kind=r64), public :: ReturnAirLatentGainRate =0.d0
real(kind=r64), public :: CarbonDioxideGainRate =0.d0
real(kind=r64), public :: GenericContamGainRate =0.d0

type, private :: UserPlantComponentStruct

Components

TypeVisibility AttributesNameInitial
character(len=MaxNameLength), public :: Name =' '
integer, public :: ErlSimProgramMngr =0
integer, public :: NumPlantConnections =0
type(PlantConnectionStruct), public, DIMENSION(:), ALLOCATABLE:: Loop
type(AirConnectionStruct), public :: Air
type(WaterUseTankConnectionStruct), public :: Water
type(ZoneInternalGainsStruct), public :: Zone

type, private :: UserCoilComponentStruct

Components

TypeVisibility AttributesNameInitial
character(len=MaxNameLength), public :: Name =' '
integer, public :: ErlSimProgramMngr =0
integer, public :: ErlInitProgramMngr =0
integer, public :: NumAirConnections =0
logical, public :: PlantIsConnected =.FALSE.
type(AirConnectionStruct), public, DIMENSION(:), ALLOCATABLE:: Air
type(PlantConnectionStruct), public :: Loop
type(WaterUseTankConnectionStruct), public :: Water
type(ZoneInternalGainsStruct), public :: Zone

Components

TypeVisibility AttributesNameInitial
character(len=MaxNameLength), public :: Name =' '
integer, public :: ErlSimProgramMngr =0
integer, public :: ErlInitProgramMngr =0
type(AirConnectionStruct), public :: ZoneAir
type(AirConnectionStruct), public :: SourceAir
integer, public :: NumPlantConnections =0
type(PlantConnectionStruct), public, DIMENSION(:), ALLOCATABLE:: Loop
type(WaterUseTankConnectionStruct), public :: Water
type(ZoneInternalGainsStruct), public :: Zone
real(kind=r64), public :: RemainingOutputToHeatingSP =0.d0
real(kind=r64), public :: RemainingOutputToCoolingSP =0.d0
real(kind=r64), public :: RemainingOutputReqToHumidSP =0.d0
real(kind=r64), public :: RemainingOutputReqToDehumidSP =0.d0

Components

TypeVisibility AttributesNameInitial
character(len=MaxNameLength), public :: Name =' '
integer, public :: ActualCtrlZoneNum =0
integer, public :: ErlSimProgramMngr =0
integer, public :: ErlInitProgramMngr =0
type(AirConnectionStruct), public :: AirLoop
type(AirConnectionStruct), public :: SourceAir
integer, public :: NumPlantConnections =0
type(PlantConnectionStruct), public, DIMENSION(:), ALLOCATABLE:: Loop
type(WaterUseTankConnectionStruct), public :: Water
type(ZoneInternalGainsStruct), public :: Zone
real(kind=r64), public :: RemainingOutputToHeatingSP =0.d0
real(kind=r64), public :: RemainingOutputToCoolingSP =0.d0
real(kind=r64), public :: RemainingOutputReqToHumidSP =0.d0
real(kind=r64), public :: RemainingOutputReqToDehumidSP =0.d0

Subroutines

public subroutine SimUserDefinedPlantComponent(LoopNum, LoopSideNum, EquipType, EquipName, CompIndex, InitLoopEquip, MyLoad, MaxCap, MinCap, OptCap)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: LoopNum
integer, intent(in) :: LoopSideNum
character(len=*), intent(in) :: EquipType
character(len=*), intent(in) :: EquipName
integer, intent(inout) :: CompIndex
logical, intent(inout) :: InitLoopEquip
real(kind=r64), intent(in) :: MyLoad
real(kind=r64), intent(out) :: MaxCap
real(kind=r64), intent(out) :: MinCap
real(kind=r64), intent(out) :: OptCap

public subroutine SimCoilUserDefined(EquipName, CompIndex, AirLoopNum, HeatingActive, CoolingActive)

Arguments

Type IntentOptional AttributesName
character(len=*), intent(in) :: EquipName
integer, intent(inout) :: CompIndex
integer, intent(in) :: AirLoopNum
logical, intent(inout) :: HeatingActive
logical, intent(inout) :: CoolingActive

public subroutine SimZoneAirUserDefined(CompName, ZoneNum, SensibleOutputProvided, LatentOutputProvided, CompIndex)

Arguments

Type IntentOptional AttributesName
character(len=*), intent(in) :: CompName
integer, intent(in) :: ZoneNum
real(kind=r64), intent(out) :: SensibleOutputProvided
real(kind=r64), intent(out) :: LatentOutputProvided
integer, intent(inout) :: CompIndex

public subroutine SimAirTerminalUserDefined(CompName, FirstHVACIteration, ZoneNum, ZoneNodeNum, CompIndex)

Arguments

Type IntentOptional AttributesName
character(len=*), intent(in) :: CompName
logical, intent(in) :: FirstHVACIteration
integer, intent(in) :: ZoneNum
integer, intent(in) :: ZoneNodeNum
integer, intent(inout) :: CompIndex

private subroutine GetUserDefinedComponents()

Arguments

None

private subroutine InitPlantUserComponent(CompNum, LoopNum, MyLoad)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: CompNum
integer, intent(in) :: LoopNum
real(kind=r64), intent(in) :: MyLoad

private subroutine InitCoilUserDefined(CompNum)

Arguments

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

private subroutine InitZoneAirUserDefined(CompNum, ZoneNum)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: CompNum
integer, intent(in) :: ZoneNum

private subroutine InitAirTerminalUserDefined(CompNum, ZoneNum)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: CompNum
integer, intent(in) :: ZoneNum

private subroutine ReportPlantUserComponent(CompNum, LoopNum)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: CompNum
integer, intent(in) :: LoopNum

private subroutine ReportCoilUserDefined(CompNum)

Arguments

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

private subroutine ReportZoneAirUserDefined(CompNum)

Arguments

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

private subroutine ReportAirTerminalUserDefined(CompNum)

Arguments

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


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