image thumbnail

Battery Energy Storage System Model

version 1.0.2 (120 KB) by Rodney Tan
BESS are commonly used for load leveling, peak shaving, load shifting applications and etc.

3.9K Downloads

Updated 06 Jan 2020

View License

BESS are commonly used for load leveling, peak shaving, load shifting applications and etc.

This BESS Block takes hourly Load Profile (kW) input from workspace and compute the Grid and Battery usage output to workspace.

The load profile has to be prepared in two column format, where the first column is time starting from 0 hour of the day. The second column is power consumption in kW unit. (For example, load the SampleLoadProfile.mat into workspace).

The simulation run time is in hourly unit starting from 0 hour of the day. For example to simulate a 24 hours load profile, the simulation run time is set to 23, one week run time is set to 167, one month 30 days run time is set to 719 and 31 days run time set to 743.

In model configuration parameters under Solver options, set to fixed-step type and set the fixed-step size (fundamental sample time) to 1 and run the simulation.

The details explanation of the model can be found in the published paper below
http://www.ijsgce.com/uploadfile/2019/1206/20191206110426819.pdf
http://www.ijsgce.com/index.php?m=content&c=index&a=show&catid=86&id=572

Cite As

Rodney Tan (2021). Battery Energy Storage System Model (https://www.mathworks.com/matlabcentral/fileexchange/69512-battery-energy-storage-system-model), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2018a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Communities

Community Treasure Hunt

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

Start Hunting!