Skip to content
SunYield Calc Calculator
Settings
PDF report

Methodology

The data, formulas, and starting assumptions behind the forecast, annual estimate, and savings calculator.

Last updated

Data sources

The seven-day forecast requests hourly tilted irradiance, air temperature at 2 m, and cloud cover from Open-Meteo. The request uses the selected location and panel angles, with the local time zone. Open-Meteo defines tilted irradiance as the mean over the preceding hour.

Annual and monthly production normally come from the European Commission Joint Research Centre's PVGIS PVcalc API. The application currently requests version 5.2. Annual results describe a modeled annual yield, rather than the weather expected over the coming year.

Address search uses Photon. Map layers use OpenStreetMap and Esri imagery. A map marker or image does not establish a roof's condition, shading, or usable area.

Market pages list the references used for their starting electricity prices. Other currency defaults are rough planning values. The calculator does not retrieve your tariff, an installer quote, or live exchange rates. Replace these inputs with your own figures.

Hourly and daily production

Let K be installed capacity in kWp, G the tilted irradiance in W/m², and T the air temperature in °C. The forecast uses this approximation:

Cell temperature = T + 0.03 × G
Temperature factor = 1 − 0.0035 × (cell temperature − 25)
Hourly power (kW) = max(0, K × G / 1000 × temperature factor × 0.86)
Daily energy (kWh) = sum of hourly power × 1 hour

For one hourly interval, 1 kW of mean power corresponds to 1 kWh. Desktop charts show power in kW; mobile readouts show energy for the hourly interval in kWh. The date and hour follow the weather provider's local time stamps.

The provider has already projected irradiance onto the panel plane. Cloud cover supplies the sky label; the application does not apply a second cloud-cover reduction to this energy calculation.

The interface uses compass bearings: 0° north, 90° east, 180° south, and 270° west. Requests convert those bearings to the providers' convention, where 0° is south. When automatic angles cannot be obtained, the forecast uses a tilt equal to absolute latitude, capped at 60°, and points toward the equator.

Annual output and fallback estimates

Annual energy (kWh/year) = capacity (kWp) × specific yield (kWh/kWp/year)

The application requests a 1 kWp reference system and scales annual and monthly output to the installed capacity. PVGIS receives a 14% loss parameter. Its own model handles other production effects; the forecast's temperature formula is not applied again to a PVGIS annual result.

Annual results can be cached for 30 days. An older saved result may be used if a request fails. The annual endpoint also has weather-based and latitude-based fallback estimates. These are rougher than the primary PVGIS calculation. The current client does not consistently distinguish these providers in its labels, so a PVGIS label alone does not establish which provider returned a result.

If no annual result is available, the browser's last-resort estimate is 1,600 kWh/kWp/year through absolute latitude 35°. Above that latitude, it subtracts 35 kWh/kWp/year per degree, with a floor of 700. This rule cannot describe local climate or roof conditions. The savings page also lets you enter a specific-yield override.

Energy value, savings, and CO₂

In the forecast and savings model, electricity used on site and electricity exported can have different values. With self-use fraction s, retail price p, and export price e:

Value per kWh = s × p + (1 − s) × e
Energy value = production × value per kWh

The annual page's headline energy value uses all generation at the selected retail price. It is a gross comparison figure. The separate self-consumption results and savings model account for how much electricity is used or exported.

The savings model calculates each year separately:

Gross cost = capacity × installation cost per kWp
Net cost = gross cost × (1 − incentive fraction)
Production in year y = first-year production × (1 − degradation)^(y − 1)
Value in year y = production × [s × p × (1 + escalation)^(y − 1) + (1 − s) × e]
Annual cash flow = energy value − gross cost × maintenance fraction

Export prices stay constant in this model. Payback is the first crossing of cumulative cash flow above the initial net cost, interpolated within that year. IRR uses the initial cost and annual cash flows. LCOE divides the initial net cost plus discounted maintenance by discounted generation, using the selected discount rate. The 25-year period is a modeling choice, not a warranty.

For diesel comparisons, the assumed fuel use is 0.3 litres per kWh, multiplied by the entered diesel price per litre. CO₂ estimates multiply production by 0.45 kg/kWh for grid electricity or 0.85 kg/kWh for diesel. Those factors are illustrative and do not track local generation or include a full solar lifecycle assessment.

Starting assumptions

Your saved settings can replace these values. A starting location may come from the browser's region and is not a detected roof location.

New system
3 kWp, 30° tilt, 180° compass bearing (south); automatic angles off. Saved settings take precedence.
Forecast losses and temperature
14% fixed loss; cell temperature approximation adds 0.03 × irradiance to air temperature; temperature coefficient −0.35% per °C relative to 25°C.
PVGIS request
1 kWp reference system, 14% system loss, manual angles or optimal angles through the annual endpoint. Results scale to your system size.
Self-use and exports
80% self-use and zero export price initially; both are editable.
Financial period
25 years, 0.5% annual degradation, 3% annual retail-price escalation, 5% discount rate.
Costs and incentives
Annual maintenance is 1% of gross installation cost; the initial incentive is 0%. Equipment prices and energy prices depend on the selected market and currency.
CO₂ factors
0.45 kg/kWh for grid electricity; 0.85 kg/kWh for diesel. These are fixed illustrative factors, not local grid measurements.
Battery planning
90% usable capacity and 90% round-trip efficiency; monthly generation and household profile assumptions, without hourly battery dispatch.

Where no market preset applies, the generic price inputs start from 0.25 per kWh, 1.35 per litre of diesel, and 1,100 per kWp of installed capacity, adjusted by a fixed currency scale. These scales are not live exchange rates.

Worked example

Suppose a 6 kWp system has a specific yield of 1,100 kWh/kWp/year. Use €0.25/kWh for purchased electricity, 80% self-use, zero export payment, and €1,100/kWp installation cost. These are example inputs, not a forecast for a particular location.

  1. Annual production: 6 × 1,100 = 6,600 kWh.
  2. The annual page's gross retail-value figure: 6,600 × €0.25 = €1,650.
  3. Value at 80% self-use: 6,600 × (0.8 × €0.25 + 0.2 × €0) = €1,320 in year one.
  4. Installation cost with no incentive: 6 × €1,100 = €6,600.
  5. Maintenance at 1% of that cost: €66 per year. First-year cash flow is €1,320 − €66 = €1,254.
  6. Illustrative grid CO₂ figure: 6,600 × 0.45 = 2,970 kg.

Later cash flows change with degradation and price escalation. Dividing €6,600 by €1,254 does not reproduce the calculator's multi-year payback calculation.

Limitations

  • Weather forecasts change. Confidence labels usually follow the number of days ahead, unless the data includes a spread; they are not calibrated probabilities.
  • The tool does not survey nearby trees, chimneys, roof geometry, snow, soiling, or equipment condition. The forecast has no equipment-specific inverter clipping model.
  • The battery estimate distributes monthly production over average days, with assumed daytime demand and solar overlap. It does not dispatch a battery hour by hour or model battery purchase and replacement costs.
  • Financing, taxes, changing tariff rules, and time-of-use electricity prices are outside the savings model.
  • Annual fallback estimates and cached data can differ from a fresh PVGIS result. The annual endpoint rounds coordinates to 0.01° for shared requests, so nearby addresses can receive the same reference result.

Use measurements, an electricity bill, and a site assessment to check a scenario before relying on it. Report a calculation or documentation error if the figures do not match these rules.

Methodology changelog

: Rewrote this explanation against the current code. Corrected the forecast's irradiance inputs, documented the two value calculations, and added defaults, fallback limits, and the worked example. This documentation update does not change the calculations.