How can I decrease runtime from my simulink model?
조회 수: 6 (최근 30일)
이전 댓글 표시
Currently I have made a simulation which binds a Grid, PV array (with inverter), BESS (with bi-directional inverter) and HVAC (used to measure required power) together using the specialised power systems toolbox, exept for the HVAC which uses simscape blocks.
My intention is to run a year of operating to see the operating yield such a system might have. However, the runtime right now is longer than real-time so I am looking for alternatives to the problem.
I have looked Into using the phasor solver, however this completely removes the ability to use the battery and PV array.
I was wondering If anyone has advice on how to get my simulation to the desired runtime.
댓글 수: 0
답변 (1개)
Prateekshya
2024년 6월 5일
Hello Wessel,
I understand that you want to optimize the simulation time for your model. With the limited information available, here are a few suggestions for the same:
You can experiment with and choose the solver that is suitable for your model. Try simplifying the model by using model references or less complex subsystems, and use the phasor solver for the parts of the model from which you can benefit.
I hope this helps!
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Electrical Sensors에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!