Skip to main content

FMI open pv forecast package

Current version: 0.1.5 - License: MIT

The main functionality of this package is the PV forecasting tool which is a combination of the FMI PV model and weather forecasts from FMI open data. The resulting PV forecasting tool generates hourly weather-aware PV forecasts for a 66-hour period. These forecasts take panel orientation, panel surface reflections, panel temperature, and other factors into account, resulting in generally accurate modeling of PV output when weather forecasts align with actual experienced weather.

The forecasting package has in-built functionality for using clear sky radiation estimates from PVlib. These clear sky forecasts can be used for testing purposes, system monitoring or in cases when internet access is not available.

The PV model can also be used with external data sources by feeding it dataframes with the required radiation components.

Full package documentation, examples and source code available on github at: https://github.com/fmidev/fmi-open-pv-forecast-packaged

Version history:

  • 0.1.5 (2026-10-27) Users can now easily do reflection, temperature and efficiency model adjustments and check model parameters. Default parameters used by the models are now for monocrystalline roof mounted panels.

  • 0.1.4 (2026-10-13) Quickfix. The package had lost time shifting in an important data retrieval function. Also one important function had fixed geolocations, which caused issues with forecasts further from Finland.

  • 0.1.3 (2026-09-08) New FMI open data retrieval code. Also updates to tests. Now the project should be fully MIT compliant.

  • 0.1.2 (2026-08-18) License switched from GPL 3.0 to MIT.

  • 0.1.1 (2026-06-02) Added bifaciality and Marion -based snow sliding.

  • 0.1.0 Initial PV Model with monofacial modeling features.

Usage example

This minimal example shows how to use the forecasting tool by computing a forecast for a 4kw system.

import fmi_pv_forecaster as pvfc

pvfc.set_angles(25, 180)
pvfc.set_location(60.1576, 24.8762)
pvfc.set_nominal_power_kw(4)

data = pvfc.get_default_fmi_forecast()

print("Forecast:")
print(data)

Resulting print:

Forecast:
                        T  wind  module_temp     output
Time                                                   
2026-01-20 10:30:00  -0.8  0.79    -0.800000   0.000000
2026-01-20 11:30:00  -0.6  1.33    -0.048916  38.589095
2026-01-20 12:30:00  -0.5  1.78    -0.136189  25.854990
2026-01-20 13:30:00  -0.7  2.30    -0.627352   5.316707
2026-01-20 14:30:00  -1.0  2.37    -0.999996   0.000000
...                   ...   ...          ...        ...
2026-01-23 01:30:00 -15.2  0.73   -15.200000   0.000000
2026-01-23 02:30:00 -15.6  0.73   -15.600000   0.000000
2026-01-23 03:30:00   NaN   NaN          NaN   0.000000
2026-01-23 04:30:00   NaN   NaN          NaN   0.000000
2026-01-23 05:30:00   NaN   NaN          NaN   0.000000

Authors and acknowledgements

Timo Salola.

Additional help from: Viivi Kallio, William Wandji, Anders Lindfors, Juha Karhu.

This package relies on Pandas, Numpy, PVlib and FMI open data API.

Metadata

Release files for fmi-pv-forecaster 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for fmi-pv-forecaster 0.1.5
File Interpreter ABI Platform Actions
fmi_pv_forecaster-0.1.5-py3-none-any.whl Python 3 none any Details for fmi_pv_forecaster-0.1.5-py3-none-any.whl

Release files / fmi_pv_forecaster-0.1.5-py3-none-any.whl

Download URL fmi_pv_forecaster-0.1.5-py3-none-any.whl
Size 30.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c40cebcc5828ff4a41e493eb494d6847bd82e4626c9f665547c545ebac4bd945
BLAKE2b-256 checksum
How to use checksums
a43513eb4098f1273e01cd9109b94430cd7c07791cfd64a9fa8389431bb9c6a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Security for fmi-pv-forecaster 0.1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page