How to achieve year-round simulation of DC microgrids in a limited time?

조회 수: 2 (최근 30일)
Zezhi Jiang
Zezhi Jiang . 2023년 9월 25일
댓글: Zezhi Jiang . 2023년 10월 7일
I have a DC microgrid Simulink model with photovoltaic and storage system, I want to achieve a large timescale simulation by modifying the simulation step, but the error shown in the figure below will appear, is there any good solution to achieve year-round simulation?
I would be very grateful if you could help with anything.

답변 (1개)

Sabin 2023년 9월 28일
I would first check if the sample time in individual components is an integer multiple if the fixed-step size. If you have fixed-step set to 1 and some components have a sample time less than 1 it will error out. Also if you have different rates in the model you can deal with by inserting rate transitions. To allow for simulation of long periods such as years, the sample time should be as big as possible. I hope this helps.
  댓글 수: 1
Zezhi Jiang
Zezhi Jiang 2023년 10월 7일
Thank you very much for your answer, now the question is that there must be a component with a small step size in the model.

댓글을 달려면 로그인하십시오.


Help CenterFile Exchange에서 Specialized Power Systems에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by