Skip to content

Instantly share code, notes, and snippets.

def solar_rebates(state, electricity, PVcost, PVcapacity, PVtype)
#electricity is the total electricity produced in a year in kWh
#PVcapacity is the total power of the installation in kW
#PVtype is "residential" or "non-residential"
@tax_credit = 0.0
@rebate = 0.0
@production_credit = 0.0
@REC_sale = 0.0
@residential_rebate = 0.0