TYPE :: CostLineItemStruct
CHARACTER(len=MaxNameLength) :: LineName = '' ! object name (needed ?)
CHARACTER(len=MaxNameLength) :: LineType = '' ! Case statement driver?
CHARACTER(len=MaxNameLength) :: ParentObjType = '' ! parent reference to IDD object type
CHARACTER(len=MaxNameLength) :: ParentObjName = '' ! parent instance in IDF
CHARACTER(len=MaxNameLength) :: ParentObjKey = '' ! end use key for parent object
INTEGER :: ParentObjIDinList = 1 !
REAL(r64) :: PerSquareMeter = 0.0d0 ! cost per square meter
REAL(r64) :: PerEach = 0.0d0 ! cost per each
REAL(r64) :: PerKiloWattCap = 0.0d0 ! cost per kW of nominal capacity
REAL(r64) :: PerKWCapPerCOP = 0.0d0 ! cost per kW of nominal capacity per COP
REAL(r64) :: PerCubicMeter = 0.0d0 ! cost per cubic meter
REAL(r64) :: PerCubMeterPerSec = 0.0d0 ! cost per cubic meter per second
REAL(r64) :: PerUAinWattperDelK = 0.0d0 ! cost per (UA) in Watt/deltaK
! REAL(r64) :: AnnualMaintFract = 0.0d0 ! cost for annual service and non energy consumables
! REAL(r64) :: MinorOverhallFract = 0.0d0 ! cost for minor overhalls
! INTEGER :: MinorOverhallYears = 0 ! year interval for minor overhalls
! REAL(r64) :: MajorOverhallFract = 0.0d0 ! cost for major overhall
! INTEGER :: MajorOverhallYears = 0 ! year interval for major overhalls
! INTEGER :: LifeYears = 0.0 ! expected life in years
! REAL(r64) :: ValueAtReplacement = 0.0d0 ! residual value at end of life
INTEGER :: LineNumber = -1 ! number of line item in detail list
REAL(r64) :: Qty = 0.0d0 ! quantity in calculations (can be input)
Character(len=MaxNameLength) :: Units = ''! Reported units
REAL(r64) :: ValuePer = 0.0d0 ! Cost used in final calculation
REAL(r64) :: LineSubTotal = 0.0d0 ! line item total Qty * ValuePer
END TYPE CostLineItemStruct