there are 10 kWt solar panels in Wroclaw region.
Calculate by month how many will they produce?
ahah, really "usefull" one :)
To calculate monthly production, multiply the 10 kWp capacity by the average monthly solar radiation (kWh/m²/day) for Wroclaw, then multiply by system efficiency losses.
def calculate_monthly_yield(capacity_kwp, monthly_sun_hours_per_day, efficiency=0.8):
days_in_month = 30
return capacity_kwp * monthly_sun_hours_per_day * days_in_month * efficiency