Detailed tutorial on solar energy storage regulation system