The battery_discharged and fuelcell_discharged vectors can be of size 1 from the battery model when system_use_lifetime is set to zero.
These vectors are used to calculate the production O and M costs over the analysis period.
When system_use_lifetime =0 and analysis period is greater than 1, this results in reading off the end of the vector and periodic NaN values for operating expenses and all dependent calculations.
The battery_discharged and fuelcell_discharged vectors can be of size 1 from the battery model when system_use_lifetime is set to zero.
These vectors are used to calculate the production O and M costs over the analysis period.
When system_use_lifetime =0 and analysis period is greater than 1, this results in reading off the end of the vector and periodic NaN values for operating expenses and all dependent calculations.