Skip to content

Commit

Permalink
Update sites.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ADIMANV committed Jan 30, 2025
1 parent 0759c9a commit a6e10fa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/india_api/internal/service/sites.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ def post_generation(
):
"""Get sites"""
"""
### This route is used to input actual PV or wind generation.
### This route is used to input actual PV/Wind generation.
Users will upload actual PV generation
Users will upload actual PV/Wind generation
readings in kilowatts (kW) at intervals throughout a given day.
For example: the average power in kW every 5,10,15 or 30 minutes.
Expand All @@ -83,11 +83,11 @@ def post_generation(
#### Parameters
- **site_uuid**: The unique identifier for the site.
- **pv_actual_values**: The actual PV generation values for the site.
- **generation**: The actual PV generation values for the site.
You can add one at a time or many. For example:
{
"site_uuid": "0cafe3ed-0c5c-4ef0-9a53-e3789e8c8fc9",
"pv_actual_values": [
"generation": [
{
"datetime_utc": "2024-02-09T17:19:35.986Z",
"actual_generation_kw": 1.452
Expand Down

0 comments on commit a6e10fa

Please sign in to comment.