Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
character(len=MaxNameLength), | public | :: | Name | = | ' ' | ||
integer, | public | :: | AvailSchedPtr | = | 0 | ||
integer, | public | :: | UsageMode | = | 0 | ||
integer, | public | :: | HeatLossesDestination | = | 0 | ||
integer, | public | :: | ZoneNum | = | 0 | ||
real(kind=r64), | public | :: | ZoneRadFrac | = | 0.0D0 | ||
real(kind=r64), | public | :: | RatedCapacity | = | 0.0D0 | ||
integer, | public | :: | Phase | = | 0 | ||
real(kind=r64), | public | :: | FactorTempCoeff | = | 0.0D0 | ||
real(kind=r64), | public | :: | TempRise | = | 0.0D0 | ||
real(kind=r64), | public | :: | EddyFrac | = | 0.0D0 | ||
integer, | public | :: | PerformanceInputMode | = | 0 | ||
real(kind=r64), | public | :: | RatedEfficiency | = | 0.0D0 | ||
real(kind=r64), | public | :: | RatedPUL | = | 0.0D0 | ||
real(kind=r64), | public | :: | RatedTemp | = | 0.0D0 | ||
real(kind=r64), | public | :: | MaxPUL | = | 0.0D0 | ||
logical, | public | :: | ConsiderLosses | = | .TRUE. | ||
character(len=MaxNameLength), | public, | ALLOCATABLE, DIMENSION(:) | :: | WiredMeterNames | |||
integer, | public, | ALLOCATABLE, DIMENSION(:) | :: | WiredMeterPtrs | |||
logical, | public, | ALLOCATABLE, DIMENSION(:) | :: | SpecialMeter | |||
real(kind=r64), | public | :: | RatedNL | = | 0.0D0 | ||
real(kind=r64), | public | :: | RatedLL | = | 0.0D0 | ||
integer, | public | :: | LoadCenterNum | = | 0 | ||
integer, | public, | ALLOCATABLE, DIMENSION(:) | :: | LoadCenterIndexes | |||
integer, | public | :: | OverloadErrorIndex | = | 0 | ||
real(kind=r64), | public | :: | Efficiency | = | 0.0D0 | ||
real(kind=r64), | public | :: | PowerIn | = | 0.0D0 | ||
real(kind=r64), | public | :: | EnergyIn | = | 0.0D0 | ||
real(kind=r64), | public | :: | PowerOut | = | 0.0D0 | ||
real(kind=r64), | public | :: | EnergyOut | = | 0.0D0 | ||
real(kind=r64), | public | :: | NoLoadLossRate | = | 0.0D0 | ||
real(kind=r64), | public | :: | NoLoadLossEnergy | = | 0.0D0 | ||
real(kind=r64), | public | :: | LoadLossRate | = | 0.0D0 | ||
real(kind=r64), | public | :: | LoadLossEnergy | = | 0.0D0 | ||
real(kind=r64), | public | :: | ThermalLossRate | = | 0.0D0 | ||
real(kind=r64), | public | :: | ThermalLossEnergy | = | 0.0D0 | ||
real(kind=r64), | public | :: | ElecUseUtility | = | 0.0D0 | ||
real(kind=r64), | public | :: | ElecProducedCoGen | = | 0.0D0 | ||
real(kind=r64), | public | :: | QdotconvZone | = | 0.0D0 | ||
real(kind=r64), | public | :: | QdotRadZone | = | 0.0D0 |
TYPE ElectricTransformer
! user defined variables
CHARACTER(len=MaxNameLength) :: Name = ' ' ! user identifier
INTEGER :: AvailSchedPtr = 0 ! availability schedule index.
INTEGER :: UsageMode = 0 ! mode for transformer usage
INTEGER :: HeatLossesDestination = 0 ! mode for where thermal losses go
INTEGER :: ZoneNum = 0 ! destination zone for heat losses from inverter.
REAL(r64) :: ZoneRadFrac = 0.0D0 ! radiative fraction for thermal losses to zone
REAL(r64) :: RatedCapacity = 0.0D0 ! rated capacity [VA]
INTEGER :: Phase = 0 ! phase
REAL(r64) :: FactorTempCoeff = 0.0D0 ! thermal coefficient of resistance for winding material
REAL(r64) :: TempRise = 0.0D0 ! full load temperature rise [C]
REAL(r64) :: EddyFrac = 0.0D0 ! fraction of eddy current losses []
INTEGER :: PerformanceInputMode = 0 ! performance input method
REAL(r64) :: RatedEfficiency = 0.0D0 ! nameplate efficiency []
REAL(r64) :: RatedPUL = 0.0D0 ! per unit load for nameplate efficiency []
REAL(r64) :: RatedTemp = 0.0D0 ! reference temperature for nameplate efficiency [C]
REAL(r64) :: MaxPUL = 0.0D0 ! per unit load for maximum efficiency []
LOGICAL :: ConsiderLosses = .TRUE. ! if true, consider transformer lossses in metering
CHARACTER(len=MaxNameLength), ALLOCATABLE, DIMENSION(:) :: WiredMeterNames ! names of the meters wired to transformer
INTEGER, ALLOCATABLE, DIMENSION(:) :: WiredMeterPtrs ! array of "pointers" to meters wired to transformer
LOGICAL, ALLOCATABLE, DIMENSION(:) :: SpecialMeter ! indicates whether a meter needs special consideration
! Electricity:Facility and Electricity:HVAC are two special
! meters because tranformer loss is part of them
!calculated and from elsewhere vars
REAL(r64) :: RatedNL = 0.0D0 ! rated no load losses, user input or calculated [W]
REAL(r64) :: RatedLL = 0.0D0 ! rated load losses, user input or calculated [W]
INTEGER :: LoadCenterNum = 0 ! number of load centers served by the transformer
Integer, ALLOCATABLE, DIMENSION(:) :: LoadCenterIndexes ! index array of load centers served by the transformer
INTEGER :: OverloadErrorIndex = 0 ! used for warning message when transformer is overloaded
!results and reporting
REAL(r64) :: Efficiency = 0.0D0 ! transformer efficiency
REAL(r64) :: PowerIn = 0.0D0 ! [W]
REAL(r64) :: EnergyIn = 0.0D0 ! [J]
REAL(r64) :: PowerOut = 0.0D0 ! [W]
REAL(r64) :: EnergyOut = 0.0D0 ! [J]
REAL(r64) :: NoLoadLossRate = 0.0D0 ! [W]
REAL(r64) :: NoLoadLossEnergy = 0.0D0 ! [J]
REAL(r64) :: LoadLossRate = 0.0D0 ! [W]
REAL(r64) :: LoadLossEnergy = 0.0D0 ! [J]
REAL(r64) :: ThermalLossRate = 0.0D0 ! [W]
REAL(r64) :: ThermalLossEnergy= 0.0D0 ! [J]
REAL(r64) :: ElecUseUtility = 0.0D0 ! [J] Energy consumption for a utility transformer (power in)
! Positive values
REAL(r64) :: ElecProducedCoGen= 0.0D0 ! [J] Energy consumption for a cogeneration transformer (power out)
! Negative values
REAL(r64) :: QdotconvZone = 0.0D0 ! [W]
REAL(r64) :: QdotRadZone = 0.0D0 ! [W]
END TYPE ElectricTransformer