Charge Control for a Battery Combined with a Solar PV System
Random number generators output electrical consumption vs. PV generation (to be replaced by actual data).
When solar PV generation is greater than the demand, the ideal switch is closed allowing the battery to charge and store the theoretical excess PV generation. Otherwise (demand is greater) the switch opens to stop charging the battery. The battery will stop charging as it approaches 100 % SOC.
Cite As
Dylan Bardy (2024). Charge Control for a Battery Combined with a Solar PV System (https://www.mathworks.com/matlabcentral/fileexchange/50432-charge-control-for-a-battery-combined-with-a-solar-pv-system), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Industries > Energy Production > Solar Power >
- Physical Modeling > Simscape Electrical > Electrical Block Libraries > Sources >
Tags
Communities
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.