File Exchange

image thumbnail

DC Microgrid Demo

version 1.0.0 (960 KB) by Chunpeng LI
This will show the fundamentals of DC microgrid control integrating distributed generators and converters.

163 Downloads

Updated 26 Oct 2018

View License

The model includes: local slack bus, PV system, batteries, and DC loads.
Local slack bus uses a simplified VSC converter connected with the AC grid.
(A detailed VSC+AC grid model decreases the running speed, if you want a detail model, please contact me.)
PV system uses a standard PV model + a boost converter.
Battery uses a standard Li-ion battery model + a dual-active-bridge converter.
Demands are connected through buck converters.
The voltage on the DC bus is controlled by the grid-interconnected VSC, "Local slack bus".

You can play with the swiches on the bus, and the control in the components to see the power flow.

Cite As

Chunpeng LI (2021). DC Microgrid Demo (https://www.mathworks.com/matlabcentral/fileexchange/69223-dc-microgrid-demo), MATLAB Central File Exchange. Retrieved .

Li, Chunpeng, et al. “Metrology Requirements of State-of-the-Art Protection Schemes for DC Microgrids.” The Journal of Engineering, vol. 2018, no. 15, Institution of Engineering and Technology (IET), Oct. 2018, pp. 987–92, doi:10.1049/joe.2018.0254.

View more styles

Comments and Ratings (36)

Areeba Hussaini

Hi! Thank you for the upload! Excellent work! I am working on making a Bidirectional EV Charger with the grid connected to an AC/DC converter, connected to a DAB and then to a battery. This includes a controller for the DAB for direction control and a controller for the AC/DC converter. I was wondering if you could let me know how I can implement that, as it seems to be similar to your function. You can email me at hs.areeba@gmail.com

xk wang

Thank you for the upload,I have spent very much time in AC-DC power flow calculation, If you have a detail model ,can you email me 'wangxk9999@gmail.com'? thank you so much.
Best regards!

YATAO LIU

YATAO LIU

Thank you very much for you share, Recently,I am learning a dual active bridge connected to a battery and an a DC-link, do you have that model ? if yes, please email it to me at yatao1984@126.com
Thank you so much!

Bharath Hombale

Thank you for the upload, I actually need a dual active bridge connected to a battery and an a DC-link, do you have that model ? if yes please email it to me at ashok.bharath25@gmail.com
Thank you so much

Sudhanshu Naik

YU CHAO CHEN

HELLO
THANKS FOR THIS VALUABLE SIMULATION.
I have a question and I will be grateful if you lead me
how can I simulate fault on this or generally on any dc microgrid in MatLab?
my email:tonies335@gmail.com

Jack chalk

HELLO
THANKS FOR THIS VALUABLE SIMULATION.
I have a question and I will be grateful if you lead me
how can I simulate fault on this or generally on any dc microgrid in MatLab?
my email:amirhossein.mersad@gmail.com

shitong wang

感谢您的模型让我学到了许多,如果您不介意的话,能否将更详细的模型发到邮箱201921002036@small.xtu.deu.cn。谢谢。

Shreyasi Sinha

I have been trying to learn more about DC microgrids for one of my power electronics courses.Is there a paperwork related to this model, since I am having trouble understanding it. If yes, can you please mail it to shreyasi.sinha242@gmail.com

lucky zeng

Thank you for the upload,
I actually need a detailed VSC+AC grid model.If so please send it to me sander,zhiweizeng525@163.com it would help me alot!
Kind regards

lucky zeng

Oleg Belyi

Thanks for uploading!

Analyzing your model "DC microgrid"
and found in it a problem with the functioning of the battery:
- the charge level graph is not displayed correctly
- after three charge / discharge cycles, the battery stops functioning.

Did you encounter these problems with the model?
In the description for the model, you wrote that you can send a more detailed model, can you see it somewhere?

Sincerely, Oleg Belyi.
olegbelyi@yandex.ru
https://www.aristoncomfortchallenge.com/

Oleg Belyi

Thank you for the upload, I actually need a DC microgrid with a DC-link, do you have that model? if yes please email it to me at waseemaltaf@live.com
Thank you so much

Majesty Qiu

Sander Martens

Hello C. Li

Thank you for sharing this model.
Do you have any related paperwork for this model?
If so please send it to me sander.martens@ugent.be, it would help me alot!

Kind regards

Gao Yang

Sairy Sairy

Wencheng Zhang

Shuren Wang

jakey bush

Mundru TanmaiBhargaV

fadhli palaha

mantap broooo

hema chandra

Amine Salhi

Thank you for the upload, I actually need a dual active bridge connected to a battery and an a DC-link, do you have that model ? if yes please email it to me at amine.salhi156@gmail.com
Thank you so much

Jinwook Kim

kamran zamani

David Kaija

Ilber Puci

Lingjie Zhang

Chunpeng LI

Thanks for Five Stars! I'll keep hard working and share more of my models.

Alex Bol

MATLAB Release Compatibility
Created with R2016b
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!

DC_microgrid_Simulink_R2016b