Nodes of different colours represent the following:
Solid arrows point from one derived type to another which extends (inherits from) it. Dashed arrows point from a derived type to another type containing it as a components, with a label listing the name(s) of said component(s). Where possible, edges connecting nodes are given different colours to make them easier to distinguish in large graphs.
Nodes of different colours represent the following:
Solid arrows point from one derived type to another which extends (inherits from) it. Dashed arrows point from a derived type to another type containing it as a components, with a label listing the name(s) of said component(s). Where possible, edges connecting nodes are given different colours to make them easier to distinguish in large graphs.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
character(len=MaxNameLength), | public | :: | Name | = | ' ' | ||
integer, | public | :: | StorageModelMode | = | 0 | ||
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 | :: | NominalVoltage | = | 0.0d0 | ||
real(kind=r64), | public | :: | NominalEnergyCapacity | = | 0.0d0 | ||
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 | :: | IdesiredDischargeCurrent | = | 0.0d0 | ||
real(kind=r64), | public | :: | PelFromStorage | = | 0.0d0 | ||
real(kind=r64), | public | :: | IfromStorage | = | 0.0d0 | ||
real(kind=r64), | public | :: | PelIntoStorage | = | 0.0d0 | ||
real(kind=r64), | public | :: | QairIntake | = | 0.0d0 | ||
type(BatteryDichargeDataStruct), | public | :: | Battery |
TYPE FCElecStorageDataStruct
!user defined variables
CHARACTER(len=MaxNameLength) :: Name = ' ' !name of this electrical storage module
INTEGER :: StorageModelMode = 0
REAL(r64) :: StartingEnergyStored = 0.0d0 !joules inside
REAL(r64) :: EnergeticEfficCharge = 0.0d0 ! for
REAL(r64) :: EnergeticEfficDischarge = 0.0d0
REAL(r64) :: MaxPowerDraw = 0.0d0 ! for simple bucket method 0
REAL(r64) :: MaxPowerStore = 0.0d0 ! for simple bucket method 0
REAL(r64) :: NominalVoltage = 0.0d0 !
REAL(r64) :: NominalEnergyCapacity = 0.0d0 ! [J]
!calculated and from elsewhere vars
REAL(r64) :: ThisTimeStepStateOfCharge =0.0d0 ! [J]
REAL(r64) :: LastTimeStepStateOfCharge =0.0d0 ! [J]
REAL(r64) :: PelNeedFromStorage =0.0d0
REAL(r64) :: IdesiredDischargeCurrent = 0.0d0 !
REAL(r64) :: PelFromStorage = 0.0d0 ! power
REAL(r64) :: IfromStorage = 0.0d0 ! current this timestepm
REAL(r64) :: PelIntoStorage = 0.0d0 !
REAL(r64) :: QairIntake =0.0d0 ! heat into intake air
!nested structures
TYPE(BatteryDichargeDataStruct) :: Battery
END TYPE FCElecStorageDataStruct