Connect a PV block model to charge a battery

6 views (last 30 days)
shihabsat
shihabsat on 13 Oct 2017
Answered: Sabin on 24 Jan 2024
Hi, I have a simulink model for charging and discharging lithium acid battery. It consists of two batteries one is working as a power source and the other working as a charging source for the other battery when it reaches below 20%. The charging and discharging model is controlled by a MATLAB function using circuit breakers. Now I want to replace the changing battery with PV block model. What are the power electronics should I use to connect it. Because when I connect it directly, some error appears such as (NaN). So how could I connect a PV block model to a battery to charge it?

Answers (1)

Sabin
Sabin on 24 Jan 2024
Simscape Electrical provides many solar examples to start with. Check the Stand-Alone Solar PV DC Power System with Battery Backup example:

Communities

More Answers in the  Power Electronics Control

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!