Glow Rewards Estimator estimates the statistics and rewards in Glow tokens and USDC over four years for a hypothetical farm joining the Glow protocol at a given date.
The protocol fee is calculated as the present value of the electricity value over a 10-year commitment period, discounted at 11%. The formula can be expressed as:
PV = PMT * ((1 - (1 + r)^-n) / r)
Where PV is the protocol fee, PMT is the average annual old electricity value, r is the discount rate (11%), and n is the number of periods (10 years).
power_production_per_year_mwh = dc_output_kw * avg_daily_peak_sun_hours * 365.25 / 1000
annual_carbon_credits = carbon_credits_earned_per_mwh * power_production_per_week_kwh * weeks_per_year / 1000 * 0.65
weekly_glow_reward = total_weekly_glow_rewards * (protocol_fee / total_protocol_fee_per_week)
Where:
Weekly USDC rewards are calculated using a complex function that considers:
The exact calculation is:
weekly_usdc_rewards = usdc_pool_for_week * (carbon_credit_production / total_carbon_credits)
Where:
weekly_electricity_value = power_production_per_week_kwh * electricity_price_per_kwh * (1 + annual_percent_increase_in_electricity_price) ^ years_since_join_date
Where:
This calculation estimates the monetary value of the electricity produced by the solar installation each week.