Solar panel model for design and analysis of power regulation equipment