# Demo PV Forecast

Source: https://docs.evcc.io/en/tariffs/demo-pv-forecast

For demonstration purposes. Provides optimal solar production curve peaking at noon.

Supported features: Global

## Parameters

| Name | Description | Default / example | |
| --- | --- | --- | --- |
| kwp | Maximum generator power | 4.5 kWp |  |
| sunrise | Sunrise hour Hour of sunrise (0-23) | 6 h |  |
| sunset | Sunset hour Hour of sunset (0-23) | 18 h |  |

## Configuration example for evcc.yaml

```yaml
tariffs:
    solar:
      - type: template
        template: demo-solar-forecast
        kwp: 4.5 # Maximum generator power (kWp), optional
        sunrise: 6 # Sunrise hour (h), Hour of sunrise (0-23) (optional)
        sunset: 18 # Sunset hour (h), Hour of sunset (0-23) (optional)
```
