Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | private, | parameter | :: | iOpSchemeBaseLoad | = | 1 | |
integer, | private, | parameter | :: | iOpSchemeDemandLimit | = | 2 | |
integer, | private, | parameter | :: | iOpSchemeTrackElectrical | = | 3 | |
integer, | private, | parameter | :: | iOpSchemeTrackSchedule | = | 4 | |
integer, | private, | parameter | :: | iOpSchemeTrackMeter | = | 5 | |
integer, | private, | parameter | :: | iOpSchemeThermalFollow | = | 6 | |
integer, | private, | parameter | :: | iOpSchemeThermalFollowLimitElectrical | = | 7 | |
integer, | private, | parameter | :: | ACBuss | = | 100 | |
integer, | private, | parameter | :: | ACBussStorage | = | 101 | |
integer, | private, | parameter | :: | DCBussInverter | = | 102 | |
integer, | private, | parameter | :: | DCBussInverterDCStorage | = | 103 | |
integer, | private, | parameter | :: | DCBussInverterACStorage | = | 104 | |
integer, | private, | parameter | :: | CECLookUpTableModel | = | 201 | |
integer, | private, | parameter | :: | CurveFuncOfPower | = | 202 | |
integer, | private, | parameter | :: | SimpleConstantEff | = | 203 | |
integer, | private, | parameter | :: | ZoneGains | = | 301 | |
integer, | private, | parameter | :: | LostToOutside | = | 302 | |
integer, | private, | parameter | :: | SimpleBucketStorage | = | 401 | |
integer, | private, | parameter | :: | KiBaMBattery | = | 402 | |
integer, | private, | parameter | :: | PowerInFromGrid | = | 501 | |
integer, | private, | parameter | :: | PowerOutFromBldg | = | 502 | |
integer, | private, | parameter | :: | LossesMethod | = | 521 | |
integer, | private, | parameter | :: | EfficiencyMethod | = | 522 | |
integer, | private, | parameter | :: | Battery_LifeCalculation_Yes | = | 1 | |
integer, | private, | parameter | :: | Battery_LifeCalculation_No | = | 2 | |
logical, | private, | SAVE | :: | GetInput | = | .TRUE. | |
integer, | private | :: | NumLoadCenters | = | 0 | ||
integer, | private | :: | NumInverters | = | 0 | ||
integer, | public | :: | NumElecStorageDevices | = | 0 | ||
integer, | private | :: | NumTransformers | = | 0 | ||
integer, | private | :: | ElecProducedCoGenIndex | = | 0 | ||
integer, | private | :: | ElecProducedPVIndex | = | 0 | ||
integer, | private | :: | ElecProducedWTIndex | = | 0 | ||
integer, | private | :: | MAXRainflowArrayBounds | = | 100 | ||
integer, | private | :: | MAXRainFlowArrayInc | = | 100 | ||
type(ElecStorageDataStruct), | public, | ALLOCATABLE, DIMENSION(:) | :: | ElecStorage | |||
type(DCtoACInverterStruct), | private, | ALLOCATABLE, DIMENSION(:) | :: | Inverter | |||
type(ElectricPowerLoadCenter), | private, | ALLOCATABLE, DIMENSION(:) | :: | ElecLoadCenter | |||
type(ElectricTransformer), | private, | ALLOCATABLE, DIMENSION(:) | :: | Transformer | |||
type(WholeBuildingElectricPowerSummary), | private, | SAVE | :: | WholeBldgElectSummary | = | WholeBuildingElectricPowerSummary('Whole Building', 0.0d0, 0.0d0, 0.0d0, 0.0d0, 0.0d0, 0.0d0, 0.0d0, 0.0d0, 0.0d0, 0.0d0, 0.0d0, 0.0d0, 0.0d0) |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
character(len=MaxNameLength), | public | :: | Name | = | ' ' | ||
character(len=MaxNameLength), | public | :: | TypeOf | = | ' ' | ||
integer, | public | :: | CompType_Num | = | 0 | ||
integer, | public | :: | GeneratorIndex | = | 0 | ||
real(kind=r64), | public | :: | MaxPowerOut | = | 0.0d0 | ||
character(len=MaxNameLength), | public | :: | AvailSched | = | ' ' | ||
integer, | public | :: | AvailSchedPtr | = | 0 | ||
real(kind=r64), | public | :: | PowerRequestThisTimestep | = | 0.0d0 | ||
logical, | public | :: | ONThisTimestep | = | .false. | ||
real(kind=r64), | public | :: | EMSPowerRequest | = | 0.0D0 | ||
logical, | public | :: | EMSRequestOn | = | .FALSE. | ||
logical, | public | :: | PlantInfoFound | = | .false. | ||
integer, | public | :: | PlantLoopNum | = | 0 | ||
integer, | public | :: | LoopSideNum | = | 0 | ||
integer, | public | :: | BranchNum | = | 0 | ||
integer, | public | :: | CompNum | = | 0 | ||
real(kind=r64), | public | :: | NominalThermElectRatio | = | 0.0d0 | ||
real(kind=r64), | public | :: | DCElectricityProd | = | 0.0d0 | ||
real(kind=r64), | public | :: | DCElectProdRate | = | 0.0d0 | ||
real(kind=r64), | public | :: | ElectricityProd | = | 0.0d0 | ||
real(kind=r64), | public | :: | ElectProdRate | = | 0.0d0 | ||
real(kind=r64), | public | :: | ThermalProd | = | 0.0d0 | ||
real(kind=r64), | public | :: | ThermalProdRate | = | 0.0d0 |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
character(len=MaxNameLength), | public | :: | Name | = | ' ' | ||
character(len=MaxNameLength), | public | :: | GeneratorList | = | ' ' | ||
integer, | public | :: | OperationScheme | = | 0 | ||
character(len=MaxNameLength), | public | :: | DemandMeterName | = | ' ' | ||
integer, | public | :: | DemandMeterPtr | = | 0 | ||
character(len=MaxNameLength), | public | :: | GenerationMeterName | = | ' ' | ||
integer, | public | :: | NumGenerators | = | 0 | ||
type(GenData), | public, | ALLOCATABLE, DIMENSION(:) | :: | ElecGen | |||
real(kind=r64), | public | :: | DemandLimit | = | 0.0d0 | ||
integer, | public | :: | TrackSchedPtr | = | 0 | ||
integer, | public | :: | BussType | = | 0 | ||
logical, | public | :: | InverterPresent | = | .FALSE. | ||
character(len=MaxNameLength), | public | :: | InverterName | = | ' ' | ||
integer, | public | :: | InverterModelNum | = | 0 | ||
real(kind=r64), | public | :: | DCElectricityProd | = | 0.0D0 | ||
real(kind=r64), | public | :: | DCElectProdRate | = | 0.0D0 | ||
real(kind=r64), | public | :: | DCpowerConditionLosses | = | 0.0D0 | ||
logical, | public | :: | StoragePresent | = | .FALSE. | ||
character(len=MaxNameLength), | public | :: | StorageName | = | ' ' | ||
integer, | public | :: | StorageModelNum | = | 0 | ||
logical, | public | :: | TransformerPresent | = | .FALSE. | ||
character(len=MaxNameLength), | public | :: | TransformerName | = | ' ' | ||
integer, | public | :: | TransformerModelNum | = | 0 | ||
real(kind=r64), | public | :: | ElectricityProd | = | 0.0d0 | ||
real(kind=r64), | public | :: | ElectProdRate | = | 0.0d0 | ||
real(kind=r64), | public | :: | ThermalProd | = | 0.0d0 | ||
real(kind=r64), | public | :: | ThermalProdRate | = | 0.0d0 | ||
real(kind=r64), | public | :: | TotalPowerRequest | = | 0.0d0 | ||
real(kind=r64), | public | :: | TotalThermalPowerRequest | = | 0.0d0 | ||
real(kind=r64), | public | :: | ElectDemand | = | 0.0d0 |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
real(kind=r64), | public | :: | NightTareLossPower | = | 0.0D0 | ||
real(kind=r64), | public | :: | NominalVoltage | = | 0.0D0 | ||
real(kind=r64), | public, | DIMENSION(6) | :: | NomVoltEfficiencyARR | = | 0.0D0 |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
character(len=MaxNameLength), | public | :: | Name | = | ' ' | ||
integer, | public | :: | ModelType | = | 0 | ||
integer, | public | :: | AvailSchedPtr | = | 0 | ||
integer, | public | :: | HeatLossesDestination | = | 0 | ||
integer, | public | :: | ZoneNum | = | 0 | ||
real(kind=r64), | public | :: | ZoneRadFract | = | 0.0D0 | ||
type(CECInverterLookUpTableData), | public | :: | LUTable | ||||
integer, | public | :: | CurveNum | = | 0 | ||
real(kind=r64), | public | :: | RatedPower | = | 0.0D0 | ||
real(kind=r64), | public | :: | MinPower | = | 0.0D0 | ||
real(kind=r64), | public | :: | MaxPower | = | 0.0D0 | ||
real(kind=r64), | public | :: | MinEfficiency | = | 0.0D0 | ||
real(kind=r64), | public | :: | MaxEfficiency | = | 0.0D0 | ||
real(kind=r64), | public | :: | StandbyPower | = | 0.0D0 | ||
real(kind=r64), | public | :: | Efficiency | = | 0.0D0 | ||
real(kind=r64), | public | :: | DCPowerIn | = | 0.0D0 | ||
real(kind=r64), | public | :: | ACPowerOut | = | 0.0D0 | ||
real(kind=r64), | public | :: | DCEnergyIn | = | 0.0D0 | ||
real(kind=r64), | public | :: | ACEnergyOut | = | 0.0D0 | ||
real(kind=r64), | public | :: | ThermLossRate | = | 0.0D0 | ||
real(kind=r64), | public | :: | ThermLossEnergy | = | 0.0D0 | ||
real(kind=r64), | public | :: | QdotconvZone | = | 0.0D0 | ||
real(kind=r64), | public | :: | QdotRadZone | = | 0.0D0 | ||
real(kind=r64), | public | :: | AncillACuseRate | = | 0.0D0 | ||
real(kind=r64), | public | :: | AncillACuseEnergy | = | 0.0D0 |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
character(len=MaxNameLength), | public | :: | Name | = | ' ' | ||
integer, | public | :: | StorageModelMode | = | 0 | ||
integer, | public | :: | AvailSchedPtr | = | 0 | ||
integer, | public | :: | HeatLossesDestination | = | 0 | ||
integer, | public | :: | ZoneNum | = | 0 | ||
real(kind=r64), | public | :: | ZoneRadFract | = | 0.0D0 | ||
real(kind=r64), | public | :: | StartingEnergyStored | = | 0.0D0 | ||
real(kind=r64), | public | :: | EnergeticEfficCharge | = | 0.0D0 | ||
real(kind=r64), | public | :: | EnergeticEfficDischarge | = | 0.0D0 | ||
real(kind=r64), | public | :: | MaxPowerDraw | = | 0.0D0 | ||
real(kind=r64), | public | :: | MaxPowerStore | = | 0.0D0 | ||
real(kind=r64), | public | :: | MaxEnergyCapacity | = | 0.0D0 | ||
integer, | public | :: | ParallelNum | = | 0 | ||
integer, | public | :: | SeriesNum | = | 0 | ||
integer, | public | :: | ChargeCurveNum | = | 0 | ||
integer, | public | :: | DischargeCurveNum | = | 0 | ||
integer, | public | :: | CycleBinNum | = | 0 | ||
real(kind=r64), | public | :: | StartingSOC | = | 0.0D0 | ||
real(kind=r64), | public | :: | MaxAhCapacity | = | 0.0D0 | ||
real(kind=r64), | public | :: | AvailableFrac | = | 0.0D0 | ||
real(kind=r64), | public | :: | ChargeConversionRate | = | 0.0D0 | ||
real(kind=r64), | public | :: | ChargedOCV | = | 0.0D0 | ||
real(kind=r64), | public | :: | DischargedOCV | = | 0.0D0 | ||
real(kind=r64), | public | :: | InternalR | = | 0.0D0 | ||
real(kind=r64), | public | :: | MaxDischargeI | = | 0.0D0 | ||
real(kind=r64), | public | :: | CutoffV | = | 0.0D0 | ||
real(kind=r64), | public | :: | MaxChargeRate | = | 0.0D0 | ||
integer, | public | :: | LifeCalculation | = | 0 | ||
integer, | public | :: | LifeCurveNum | = | 0 | ||
real(kind=r64), | public | :: | ThisTimeStepStateOfCharge | = | 0.0D0 | ||
real(kind=r64), | public | :: | LastTimeStepStateOfCharge | = | 0.0D0 | ||
real(kind=r64), | public | :: | PelNeedFromStorage | = | 0.0D0 | ||
real(kind=r64), | public | :: | PelFromStorage | = | 0.0D0 | ||
logical, | public | :: | EMSOverridePelFromStorage | = | .FALSE. | ||
real(kind=r64), | public | :: | EMSValuePelFromStorage | = | 0.0D0 | ||
real(kind=r64), | public | :: | PelIntoStorage | = | 0.0D0 | ||
logical, | public | :: | EMSOverridePelIntoStorage | = | .FALSE. | ||
real(kind=r64), | public | :: | EMSValuePelIntoStorage | = | 0.0D0 | ||
real(kind=r64), | public | :: | QdotConvZone | = | 0.0D0 | ||
real(kind=r64), | public | :: | QdotRadZone | = | 0.0D0 | ||
real(kind=r64), | public | :: | TimeElapsed | = | 0.0D0 | ||
real(kind=r64), | public | :: | ThisTimeStepAvailable | = | 0.0D0 | ||
real(kind=r64), | public | :: | ThisTimeStepBound | = | 0.0D0 | ||
real(kind=r64), | public | :: | LastTimeStepAvailable | = | 0.0D0 | ||
real(kind=r64), | public | :: | LastTimeStepBound | = | 0.0D0 | ||
real(kind=r64), | public | :: | LastTwoTimeStepAvailable | = | 0.0D0 | ||
real(kind=r64), | public | :: | LastTwoTimeStepBound | = | 0.0D0 | ||
integer, | public | :: | count0 | = | 0 | ||
real(kind=r64), | public, | DIMENSION(:), ALLOCATABLE | :: | B10 | |||
real(kind=r64), | public, | DIMENSION(:), ALLOCATABLE | :: | X0 | |||
real(kind=r64), | public, | DIMENSION(:), ALLOCATABLE | :: | Nmb0 | |||
real(kind=r64), | public, | DIMENSION(:), ALLOCATABLE | :: | OneNmb0 | |||
real(kind=r64), | public | :: | ElectEnergyinStorage | = | 0.0D0 | ||
real(kind=r64), | public | :: | StoredPower | = | 0.0D0 | ||
real(kind=r64), | public | :: | StoredEnergy | = | 0.0D0 | ||
real(kind=r64), | public | :: | DecrementedEnergyStored | = | 0.0D0 | ||
real(kind=r64), | public | :: | DrawnPower | = | 0.0D0 | ||
real(kind=r64), | public | :: | DrawnEnergy | = | 0.0D0 | ||
real(kind=r64), | public | :: | ThermLossRate | = | 0.0D0 | ||
real(kind=r64), | public | :: | ThermLossEnergy | = | 0.0D0 | ||
integer, | public | :: | StorageMode | = | 0 | ||
real(kind=r64), | public | :: | AbsoluteSOC | = | 0.0D0 | ||
real(kind=r64), | public | :: | FractionSOC | = | 0.0D0 | ||
real(kind=r64), | public | :: | BatteryCurrent | = | 0.0D0 | ||
real(kind=r64), | public | :: | BatteryVoltage | = | 0.0D0 | ||
real(kind=r64), | public | :: | BatteryDamage | = | 0.0D0 |
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 | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
character(len=MaxNameLength), | public | :: | Name | = | 'Whole Building' | ||
real(kind=r64), | public | :: | ElectricityProd | = | 0.0D0 | ||
real(kind=r64), | public | :: | ElectProdRate | = | 0.0D0 | ||
real(kind=r64), | public | :: | ElectricityPurch | = | 0.0D0 | ||
real(kind=r64), | public | :: | ElectPurchRate | = | 0.0D0 | ||
real(kind=r64), | public | :: | ElectSurplusRate | = | 0.0D0 | ||
real(kind=r64), | public | :: | ElectricitySurplus | = | 0.0D0 | ||
real(kind=r64), | public | :: | ElectricityNetRate | = | 0.0D0 | ||
real(kind=r64), | public | :: | ElectricityNet | = | 0.0D0 | ||
real(kind=r64), | public | :: | TotalBldgElecDemand | = | 0.0D0 | ||
real(kind=r64), | public | :: | TotalHVACElecDemand | = | 0.0D0 | ||
real(kind=r64), | public | :: | TotalElectricDemand | = | 0.0D0 | ||
real(kind=r64), | public | :: | ElecProducedPVRate | = | 0.0D0 | ||
real(kind=r64), | public | :: | ElecProducedWTRate | = | 0.0D0 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
logical, | intent(in) | :: | FirstHVACIteration | |||
logical, | intent(inout) | :: | SimElecCircuits | |||
logical, | intent(in) | :: | UpdateMetersOnly |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | LoadCenterNum | |||
integer, | intent(in) | :: | GenNum | |||
logical, | intent(in) | :: | FirstHVACIteration | |||
real(kind=r64), | intent(out) | :: | ElectricPowerOutput | |||
real(kind=r64), | intent(out) | :: | ThermalPowerOutput |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
logical, | intent(in) | :: | FirstHVACIteration | |||
integer, | intent(in) | :: | LoadCenterNum | |||
real(kind=r64), | intent(out) | :: | ThermalLoad |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | LoadCenterNum |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | LoadCenterNum |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | LoadCenterNum | |||
real(kind=r64), | intent(out) | :: | StorageDrawnPower | |||
real(kind=r64), | intent(out) | :: | StorageStoredPower |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer | :: | numbin | ||||
real(kind=r64) | :: | input | ||||
real(kind=r64), | DIMENSION(1:dim) | :: | B1 | |||
real(kind=r64), | DIMENSION(1:dim) | :: | X | |||
integer | :: | count | ||||
real(kind=r64), | DIMENSION(1:numbin) | :: | Nmb | |||
real(kind=r64), | DIMENSION(1:numbin) | :: | OneNmb | |||
integer | :: | dim |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r64), | DIMENSION(0:dim) | :: | A | |||
integer | :: | m | ||||
integer | :: | n | ||||
real(kind=r64), | DIMENSION(0:dim) | :: | B | |||
integer, | intent(in) | :: | dim |