karolokninski / electricity-price-analysis

1 stars 1 forks source link

Backtest produkcji i zuzycia energii #3

Open konradsitarz opened 1 year ago

konradsitarz commented 1 year ago

Zadanie to można podzielić na 2 problemy:

  1. Produkcja

E hourly =Ppeak ×A×G hourly ×PR

Where:

E hourly is the estimated hourly energy production (in kilowatt-hours, kWh).

P peak is the peak power rating of the solar panels (in kilowatts, kW).

A is the total area of the solar panels (in square meters, m²).

G hourly is the solar radiation or solar irradiance during each hour (in watts per square meter, W/m²), which depends on the weather data, location, and date.

PR is the performance ratio, representing the efficiency and losses of the solar system (dimensionless), typically ranging from 0.75 to 0.95.

Najtrudniejsza część z tego równania to G hourly. Można to wyliczyć z danych pogodowych.

G hourly​ = G total​ × G clear​ G hourly, clear​​ × F cloud​ × F angle​ × F elevation​

Where:

G total​ is the total daily solar radiation incident on a horizontal surface at the location (in kWh/m²/day).

G hourly, clear​ is the hourly solar radiation on a clear day at the location (in kWh/m²/hour).

G clear​ is the total daily solar radiation on a clear day at the location (in kWh/m²/day).

F cloud​ is the cloudiness factor for the specific hour and location (dimensionless), typically ranging from 0 to 1, where 0 represents clear skies and 1 represents completely overcast conditions.

F angle​ is the angle of incidence factor, which considers the sun's angle of incidence on the solar panels based on the location's latitude, date, and time of day (dimensionless).

F elevation​ is the elevation factor that accounts for the location's altitude (dimensionless).

  1. Zużycie energii Tutaj bym dał opcje wpisania dziennie ile się zużywa albo miesięcznie i wtedy taki histogram zrobić gdzie masz różne zużycia godzinowe.

Cos takiego mozna zrobic zeby dalo sie regulowac procenty

6fdaa7b0c68042bea7cbab306bf6bb56.png

konradsitarz commented 1 year ago

Jak chcesz to sie mozemy zdzwonic to wytlumacze dokladnie o co tu chodzi.

konradsitarz commented 1 year ago

Glowne zadania:

  1. Zebrac dane pogodowe historyczne (chodzi o radiacje słoneczna i zachmurzenie dla danej lokalizacji)
  2. Stworzyć funckje do liczenia energii z fotowoltiaki na podstawie wzoru wyżej
  3. Stworzyć UI do wybrania parametrów i wyliczenia energii dla danego okresu l
  4. Stworzyć UI do zaznaczania użycia energii w danych godzinach
  5. Godzinowo odjąć zużycie od produkcji.
  6. Wynik przemnożyć przez ceny godzinowe energii (jeśli produkcja > zuzycia, jak mniejsza to mnozymy przez cene detaliczną ) i zsumowac