The document presents a mathematical model for solar modules using a single diode model implemented in MATLAB/Simulink, which simulates the current-voltage (I-V) and power-voltage (P-V) characteristics under varying temperature and irradiance conditions. Validation of the model is achieved through comparison with experimental data from a 20W solar panel, indicating that the model tends to underestimate power output during high sunlight conditions. Key findings highlight the impacts of temperature and series resistance on power output, with future research planned to incorporate additional environmental variables.