Skip to content

Instantly share code, notes, and snippets.

@hclivess
Last active June 24, 2019 17:29
Show Gist options
  • Save hclivess/3a20dae918c089b17c8c3fc28f08480c to your computer and use it in GitHub Desktop.
Save hclivess/3a20dae918c089b17c8c3fc28f08480c to your computer and use it in GitHub Desktop.
calculates kilowatthour production in a month based on pannel wattage and solar radiation
#calculates kilowatthour production in a month based on pannel wattage and solar radiation
solar_radiation = 4.9
panel_wattage = 330
wh = solar_radiation * panel_wattage
kwh = wh / 1000
kwd_month = kwd * 28
print (f"watt_hour {wh}")
print (f"kilowatthour per month {kwd_month}")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment