Output current formula of photovoltaic cells