Tree calculator for Ammonia Mitigation