Tools › Building Systems › Energy › Solar PV and Battery Sizing


Solar PV and Battery Sizing

Sizing of a photovoltaic array with or without a battery, from the solar resource to the cash flow. Resource: twelve monthly values entered as peak sun hours on the array (the NREL PVWatts and NSRDB values are entered by the analyst), as horizontal irradiation or as a clearness index; for the last two the tool computes the declination, sunset hour angle, day length and extraterrestrial daily irradiation of each month's average day, the diffuse share by the Erbs monthly correlation or as entered, and the Liu and Jordan isotropic-sky irradiation on the tilted array for any azimuth, with the best fixed tilt by a scan. Grid-tied array: the ten PVWatts loss categories multiplied into one system loss, inverter efficiency, the DC to AC ratio with a clipping check, monthly cell temperature and the power temperature coefficient, the array power for a target share of the load or an entered power, module count and area, monthly production against the load, performance ratio, capacity factor and specific yield. String sizing by the temperature-coefficient method: modules per string from the open-circuit voltage at the record low against the inverter maximum and from the maximum-power voltage at the hot cell temperature against the tracker minimum, strings per input by current, and the conductor current of 1.56 times the short-circuit current. Backup battery: energy and power for a critical load and an outage duration. Economics: installed cost, a percentage incentive, energy rate with escalation, module degradation, operation and maintenance, net metering or net billing, simple payback, net present value, internal rate of return, levelized cost of energy and a yearly cash-flow table. Stand-alone systems are sized by the Sandia National Laboratories worksheets: daily load in ampere-hours, design current for the design month, battery capacity for the days of autonomy with depth-of-discharge, temperature and ageing factors, batteries and modules in series and parallel, charge-controller current, the array-to-load ratio and generator charging hours. The default is an illustrative 7.2 kW residential array at latitude 35 degrees north with a 13.5 kWh backup battery; the stand-alone default is the AC/DC residence of the Sandia handbook.

  • Resource: monthly peak sun hours, or horizontal irradiation or clearness index moved to the array tilt and azimuth (extraterrestrial irradiation, Erbs diffuse share, Liu and Jordan isotropic sky), best fixed tilt

  • Grid-tied array: PVWatts loss categories, cell temperature, array power for a share of the load, module count and area, monthly production, performance ratio, capacity factor, specific yield

  • String sizing by temperature coefficient, backup battery energy and power for an outage

  • Economics: payback, net present value, internal rate of return, levelized cost of energy, yearly cash flow

  • Stand-alone: Sandia worksheet sizing of the load, battery, array and charge controller

Solar PV and Battery Sizing


Unit System: /

System


Site and Array (angles in degrees)




Solar Resource (twelve monthly values, January to December, separated by spaces or commas)










Temperatures (°C in both unit systems)







Module (data-sheet values at standard test conditions)










System Losses (percent, the PVWatts categories) and Inverter













Grid-Tied Array and Load (kWh)





String Sizing (inverter data sheet)







Backup Battery











Economics (one currency; no tax advice)

















Stand-Alone Loads (watts per unit, hours per day, days per week, quantity; AC or DC)

1
2
3
4
5
6
7
8

Stand-Alone Battery, Array and Generator


















×

Solar PV and Battery Sizing

Solar PV and Battery Sizing

The tool sizes a photovoltaic array from the monthly solar resource, in two forms chosen by the System select. A grid-tied array is sized for a share of the load or checked at an entered power, arranged in strings, given a backup battery check and a cash flow. A stand-alone array with a battery is sized by the worksheets of the Sandia National Laboratories handbook. Both use the same site, resource, temperature and module inputs. Every method here works on monthly means, which is the level of a first sizing; an hourly simulation (the NREL PVWatts calculator and System Advisor Model do one) is the next step for clipping, shading and self-consumption. Values owned by a code, a standard or a maker (the National Electrical Code voltage table, inverter limits, module coefficients, battery ratings) are entered inputs. The default array and its costs are illustrative.

Solar resource

The resource is twelve monthly means of the daily irradiation in kWh/m², which is the same number as the peak sun hours (hours at 1,000 W/m²). It can be entered three ways. Peak sun hours in the plane of the array are used as entered; the monthly solar radiation printed by the NREL PVWatts calculator for the chosen tilt and azimuth, and National Solar Radiation Database values already at the tilt, are of this kind. Horizontal irradiation H, or a clearness index KT, is moved to the array plane by the tool.

Each month is represented by its average day, the day whose declination is closest to the month's mean (Klein): 17 January, 16 February, 16 March, 15 April, 15 May, 11 June, 17 July, 16 August, 15 September, 15 October, 14 November and 10 December. For day n of the year the declination is Cooper's δ = 23.45° sin[360° (284 + n) / 365], the sunset hour angle is ωs = arccos(−tan φ tan δ) at latitude φ, the day length is 2 ωs / 15° hours, and the extraterrestrial irradiation on a horizontal surface over the day is

H0 = (24 / π) Gsc [1 + 0.033 cos(360° n / 365)] (cos φ cos δ sin ωs + ωs sin φ sin δ),

with ωs in radians and the solar constant Gsc entered (1,367 W/m² in the cited method; recent measurements give about 1,361). The clearness index is KT = H / H0. The diffuse part Hd is either an entered fraction of H or the monthly correlation of Erbs, Klein and Duffie: Hd / H = 1.391 − 3.560 KT + 4.189 KT² − 2.137 KT³ when ωs is at most 81.4°, and 1.311 − 3.022 KT + 3.427 KT² − 1.821 KT³ when it is larger. The correlation was fitted for KT from 0.3 to 0.8; outside that range the tool holds KT at the limit for this step and says so.

The irradiation on the array of tilt β is the isotropic-sky sum of Liu and Jordan, HT = (H − Hd) Rb + Hd (1 + cos β) / 2 + H ρ (1 − cos β) / 2, where ρ is the ground reflectance. Rb is the ratio of the day's beam irradiation on the array to that on the horizontal, taken outside the atmosphere as Liu and Jordan proposed. The cosine of the incidence angle on a fixed surface has the form A + B cos ω + C sin ω in the hour angle ω, so the tool integrates it exactly over the hours when the sun is above the horizon and in front of the array, for any azimuth; for an array facing the equator this reduces to the closed form of the textbooks. The isotropic sky leaves out the brighter sky around the sun and near the horizon, so it is slightly conservative for tilted arrays facing the equator. The best fixed tilt, for the year and for the poorest month, is found by repeating the calculation for every degree from 0 to 90.

The results section does not print the time-of-day geometry, but the library holds it and the test script checks it: the equation of time and declination series published by NOAA, the hour angle, zenith, azimuth, the incidence angle on a tilted surface and sunrise and sunset with the 90.833° horizon. Against the printed example of the NREL Solar Position Algorithm (17 October 2003, Golden, Colorado) this simple geometry is off by 0.35° in declination, 0.32° in zenith, 0.15° in azimuth, 0.22° in incidence and about one minute at sunrise. That is adequate for sizing and not for tracking or instrument work.

Cell temperature

The monthly mean cell temperature follows Evans' relation as used by RETScreen: Tc = Ta + Cf (219 + 832 KT) (NOCT − 20) / 800, with the monthly mean ambient Ta, the module's nominal operating cell temperature NOCT, and Cf = 1 − 1.17 × 10−4 (sM − β)² for a tilt away from the optimum sM = φ − δ. When peak sun hours are entered there is no clearness index, and the bracket is replaced by an entered operating irradiance. The hot cell temperature for the string voltage and the peak power is taken at the design high ambient and 1,000 W/m², either from the NOCT definition, Tc = Ta + (NOCT − 20) G / 800, or from the Sandia model Tm = G exp(a + b v) + Ta, Tc = Tm + (G / 1000) ΔT with the coefficients of King, Boyson and Kratochvil for the mounting chosen and the wind speed v at 10 m.

Grid-tied array

The losses that are not modeled one by one are the categories of the PVWatts Version 5 manual (soiling 2, shading 3, snow 0, mismatch 2, wiring 2, connections 0.5, light-induced degradation 1.5, nameplate 1, age 0, availability 3 percent). They are multiplied, not added: L = 100 [1 − Π (1 − Li / 100)], which gives 14.08 percent for the defaults, printed as 14 percent in the manual. The DC power follows the manual's module model, Pdc = Pdc0 (G / 1000) [1 + γ (Tc − 25)], with the power temperature coefficient γ from the data sheet (the manual uses −0.47, −0.35 and −0.20 percent per °C for standard, premium and thin-film modules). On monthly means this becomes the monthly performance ratio PR = (1 − L / 100) [1 + γ (Tc − 25) / 100] ηinv and the monthly energy E = Pdc0 × peak sun hours × days × PR.

The array power for a share f of the annual load is P = f Eload / Y1, where Y1 is the year's energy of 1 kW (the specific yield, kWh per kW). The module count is rounded up, and to whole strings when string sizing is on. The page prints the annual performance ratio E / (Pdc HT,year), the capacity factor E / (8,760 P) on the DC and the AC rating, and the monthly production against the load. The inverter is taken as Pdc over the DC to AC ratio; the page compares the array's AC output at 1,000 W/m² with that rating and says whether the inverter clips. The energy lost to clipping, and the inverter's part-load efficiency curve, need hourly data and are not estimated.

String sizing

The method is the temperature-coefficient one. The module open-circuit voltage at the record low ambient is Voc [1 + β (Tlow − 25) / 100] with the data-sheet coefficient β in percent per °C, the cells being at ambient at dawn; the longest string is the inverter's maximum input voltage over it, rounded down. The maximum-power voltage at the hot cell temperature, moved by the same coefficient, sets the shortest string against the lower end of the tracker window, rounded up; the cold maximum-power voltage is checked against the upper end. The maximum circuit current of a string is 1.25 Isc, which limits the strings on a tracker input, and conductors and overcurrent devices are rated a further 1.25 above it, 1.56 Isc, before the conditions-of-use factors. The National Electrical Code (Article 690) allows this coefficient calculation and also gives a table of correction factors for crystalline silicon when no coefficient is available; the table is not reproduced here. Among the string lengths that pass, the tool takes the arrangement with the fewest modules that covers the requirement.

Backup battery

The energy a battery delivers to the critical loads is units × nominal energy × depth of discharge × ageing factor × discharge efficiency. Makers quote a round-trip efficiency; the tool takes the discharge leg as its square root, which splits the loss evenly between charging and discharging. The energy is compared with the critical daily energy over the outage, and the continuous power with the critical peak. The array's average daily production in its poorest month is then set against the critical daily energy, first directly and then with all of it passing through the battery, to say whether an outage can be carried on average days. Motor starting surges and the power available on a cloudy day are outside this check.

Economics

The installed cost is the cost per watt times the DC rating plus the battery; an entered percentage is deducted as the incentive (the tool gives no tax advice). In year t the production is E1 (1 − d)t−1 with the degradation rate d; Jordan and Kurtz found a median of 0.5 percent per year in nearly 2,000 published rates. With net metering the production up to the annual load is worth the retail rate and any surplus the export rate. With net billing the self-consumed share is worth the retail rate and the exported rest the export (avoided-cost) rate; that share depends on the hourly load and the battery and is an entered value. The yearly cash flow is the saving less operation and maintenance and one replacement. The page gives the simple payback (net cost over the year-1 cash flow), the year in which the cumulative cash flow turns positive, the net present value, the internal rate of return, and two levelized costs: the life-cycle form LCOE = [net cost + Σ costst / (1 + d)t] / Σ Et / (1 + d)t of the NREL economic evaluation manual, and NREL's simple form (net cost × CRF + year-1 operation and maintenance) / E1 with the capital recovery factor CRF = d (1 + d)N / [(1 + d)N − 1]. The two agree when production and costs are level. Financing, taxes on the savings and salvage value are not modeled.

Stand-alone systems: the Sandia worksheets

Worksheet 1 lists the loads. Each load's daily ampere-hours at the system voltage are watts × quantity × hours per day × (days per week / 7) / conversion efficiency / Vsys, with the inverter efficiency for AC loads (handbook default 0.85) and 1 for DC loads. The total is divided by the wire efficiency (0.98) and the battery efficiency (0.9) to give the corrected load. Worksheet 2 divides the corrected load by each month's peak sun hours on the array; the largest quotient is the design current and its month the design month. The handbook repeats this for tilts of latitude − 15°, latitude and latitude + 15° and takes the tilt with the smallest design current; here the tilt scan of the resource section serves that purpose.

Worksheet 3 sizes the battery: required capacity = corrected load × days of autonomy / (maximum depth of discharge × temperature derate), to which the tool adds an optional ageing derate. Batteries in series are the system voltage over the battery voltage, and in parallel the required capacity over the battery capacity. Worksheet 4 sizes the array: the design current over the module derate factor (0.9 for crystalline modules) is the array current; modules in parallel are that current over the module's maximum-power current; modules in series are the voltage required to charge the batteries, 1.20 × battery voltage × batteries in series, over the module voltage at the highest expected temperature. Worksheet 5 forms the array-to-load ratio, the derated design current times the system voltage over the daily watt-hours, which the handbook plots against the daily load to suggest a generator hybrid; that chart is not reproduced.

The worksheets say to round the parallel counts up; the handbook's designers round down for noncritical loads, so the tool offers both. Added to the worksheets: the discharge rate with every load running against an entered limit, the charge-controller rating of 1.25 times the array short-circuit current, the array size by energy balance for a maximum-power-point-tracking controller (the worksheets assume a controller that holds the array at the battery voltage), the monthly supply of the installed array against the load, and the generator running hours for an entered charger. The stand-alone default is the handbook's AC/DC residence; with the handbook's module (3.0 A, 15.9 V, 14.4 V hot) and rounding to the nearest, the page reproduces its worksheets: 72.9 and 82.7 Ah/day, 17.5 A, 709 Ah, eight 350 Ah batteries, twelve modules.

Checks

The library is tested against the handbook's residential and navigation-beacon worksheets, the PVWatts loss table, the printed example of the Solar Position Algorithm, the monthly average days and declinations tabulated by NASA, the levelized-cost examples of the NREL manual, numerical integration of the extraterrestrial irradiation and of Rb, and an independent numpy and scipy implementation on the default case and twenty seeded systems.




References

Dobos, A. P. (2014). PVWatts Version 5 Manual. NREL/TP-6A20-62641, National Renewable Energy Laboratory, Golden, CO.

Sandia National Laboratories (1995). Stand-Alone Photovoltaic Systems: A Handbook of Recommended Design Practices. SAND87-7023, updated March 1995, Photovoltaic Design Assistance Center, Albuquerque, NM.

Reda, I., and Andreas, A. (2008). Solar Position Algorithm for Solar Radiation Applications. NREL/TP-560-34302, revised January 2008, National Renewable Energy Laboratory, Golden, CO.

National Oceanic and Atmospheric Administration (n.d.). General Solar Position Calculations. Global Monitoring Division, Boulder, CO.

King, D. L., Boyson, W. E., and Kratochvil, J. A. (2004). Photovoltaic Array Performance Model. SAND2004-3535, Sandia National Laboratories, Albuquerque, NM.

Short, W., Packey, D. J., and Holt, T. (1995). A Manual for the Economic Evaluation of Energy Efficiency and Renewable Energy Technologies. NREL/TP-462-5173, National Renewable Energy Laboratory, Golden, CO.

Jordan, D. C., and Kurtz, S. R. (2012). Photovoltaic Degradation Rates: An Analytical Review. NREL/JA-5200-51664, National Renewable Energy Laboratory, Golden, CO.

Stackhouse, P. W., Chandler, W. S., Zhang, T., Westberg, D., Barnett, A. J., and Hoell, J. M. (2016). Surface Meteorology and Solar Energy (SSE) Release 6.0 Methodology, Version 3.2.0. NASA Langley Research Center, Hampton, VA.

Natural Resources Canada (2004). "Photovoltaic Project Analysis." In Clean Energy Project Analysis: RETScreen Engineering and Cases Textbook, Minister of Natural Resources Canada, Varennes, QC.

Erbs, D. G., Klein, S. A., and Duffie, J. A. (1982). "Estimation of the Diffuse Radiation Fraction for Hourly, Daily and Monthly-Average Global Radiation." Solar Energy, Vol. 28, No. 4, pp. 293–302.

Klein, S. A. (1977). "Calculation of Monthly Average Insolation on Tilted Surfaces." Solar Energy, Vol. 19, No. 4, pp. 325–329.

Liu, B. Y. H., and Jordan, R. C. (1963). "The Long-Term Average Performance of Flat-Plate Solar-Energy Collectors." Solar Energy, Vol. 7, No. 2, pp. 53–74.

Evans, D. L. (1981). "Simplified Method for Predicting Photovoltaic Array Output." Solar Energy, Vol. 27, No. 6, pp. 555–560.

Duffie, J. A., and Beckman, W. A. (2013). Solar Engineering of Thermal Processes, 4th ed. Wiley, Hoboken, NJ.

National Fire Protection Association (2023). NFPA 70: National Electrical Code. NFPA, Quincy, MA.

Worked Examples

Published examples this tool reproduces; each page lists the inputs to enter and the printed answers.

All worked examples


DISCLAIMER: The methods and calculation on aNOWysis.com are provided as means to educate the reader. There is no warranty, expessed or implied, as to the relevance or accuracy of the methods or calculations. All calculations should be checked by a qualified analyst for appropriateness and accuracy. We will not be held liable for any damages, injuries or deaths caused by using methods or calculations from this site.