Is it possible to connect a battery model to a solar pv system and see the charging and discharging of the battery ?

Hi .. I am doing my project on Hybrid( PV array with Fuel Cell systems) Renewable Sources with storage . When i am using a battery model I dont know how to connect it to a variable load.
How to design a variable DC load of say 1 KW to 5 KW?
How to connect two power sources delivering V+ and V- outputs together ?( I have connected in parallel for the time being)

4 comentarios

@ Sankeerth Sudhan as requested:
You can control your load by using a switch ( power electronics block)connected between two loads ( 1kW and 4kW).
As for battery SOC, there are several techniques to charge such as: Constant current , Constant voltage + Constant current
Maybe you can do a review on the techniques available for battery charging.
The simplest way is to use a constant current to charge the battery.
You can use a matlab function block to create the controller. The input of the block is the battery voltage and current. Inside the block, you may need to write a matlab script that reads the values and determine when to charge and discharge the battery. The function block output should be connected to a PID controller which will make sure it will deliver constant current to charge the battery. After the voltage is max, the controller will send a signal to a switch that will disconnect the battery from the source.
If you want to ask a different question, please open a new thread.
thanks.. hope this helps
could u create simulink model for battery
Can i get the Simulink for stand Alone system?

Iniciar sesión para comentar.

 Respuesta aceptada

Dear Sankeerth,
You must state in your questions what kind of hybrid technologies you plan to model.
I guess that you want to model standalone PV/ battery system.
You need to create a common DC bus in order to integrate both of the system together.
After that, you may want to develop a MPPT control system in order to obtain maximum powr from PV array and also to control the charging and discharging of the battery.

2 comentarios

@ReyTech
Sir , I am modeling a Hybrid Solar - Fuel cell model.
Common DC bus i have just interconnected both the solar boost converter output and fuel cell boost converter output in parallel mode so that the voltage remains almost same .
I am facing difficulties in modelling a variable dc load now .
Battery I have connected across the main load .. ( assuming a constant one for time being )
Anyone can help me with variable DC load modelling ? also a Voltage control system to have constant voltage to the DC bus ..!! ??
Any help would be appreciated
Maybe it would be easier for others to help if you can post your model (screenshot) here.

Iniciar sesión para comentar.

Más respuestas (4)

depending on the current drawn ....you need to vary the resistance vallue accoarding to it

2 comentarios

depending on the current drawn ? Load draws the current . So I want a variable load which draws different currents at different times , basically change the load from 1 KW to 5 KW .
Regards
Sankeerth
use a circuit breaker and connect a load . set the operation of circuit breaker to start after some specified time ...

Iniciar sesión para comentar.

Hi everybody, I'm trying to make it works but i couldn't get it yet, because I'm having the same trouble than the boy than wrote first the question I read your lines but I follow without understand correctly, basicly I'm constructing a model in SPS for supply DC energy than comes from a group of batteries and those batteries are charged from solar irradiation provenient of array panels but I do no see that it happens, can anyone of you give me a hand with this?.
hello i just wanted to connect pv array to battery in simulink how can i do it
Yes, it's definitely possible. By integrating a battery model with a solar PV system in simulation tools like MATLAB/Simulink, PVSyst, HOMER, or OpenDSS, you can track battery charging and discharging in real time. Here’s what you can analyze:
  • State of Charge (SOC) over time
  • Charge/discharge cycles based on solar generation and load demand
  • Peak shaving and load shifting capabilities
  • Battery sizing and optimization
  • Grid interaction or islanded mode behavior
This setup is essential for designing hybrid renewable energy systems and optimizing performance and reliability.

Comunidades de usuarios

Más respuestas en  Power Electronics Control

Preguntada:

el 3 de Dic. de 2014

Respondida:

el 28 de Ag. de 2025

Community Treasure Hunt

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

Start Hunting!

Translated by