24-hour simulation, micro-grid

21 views (last 30 days)
Ronald Lutaaya
Ronald Lutaaya on 26 Jul 2020
Answered: Shivam Srivastva on 16 Oct 2020
I have built a SIMULINK model of a hydro generator (SIMULINK synchronous machine blocks), Battery system (modelled as negative power - three-phase dynamic load), PV (modelled as negative power - three-phase dynamic load) with a variable load (three-phase dynamic load) and base load (three-phase parallel RLC load) running in phasor solver simulation. My model is fine giving expected results but running for 500 seconds. Wish to have the simulation time of 86,400seconds(24 hours) so as to exactly correlate daily PV irradiance with power output but my model is too slow to allow that. It will probably need one week to simulate 86,400 seconds. I have seen simulations with similar components like the Simulink example model “power_V2G” with similar blocks of a diesel generator, PV and battery system equivalents and are able to simulate 86,400 seconds in a very short time, approximately 5 seconds.
I am hoping that someone can give me some insight into what I need to consider to run models over a 24-hour periods.
  1 Comment
Rub Ron
Rub Ron on 26 Jul 2020
Edited: Rub Ron on 26 Jul 2020
have it actually run in 5 seconds? for me it is taking minutes even to complete one second simulation period.
Also, according to the second answer of this post. Simulink uses ETM simulations and not RMS, can someone deny or confirm this?

Sign in to comment.

Answers (1)

Shivam Srivastva
Shivam Srivastva on 16 Oct 2020
Hi Ronald,
You can refer to the Speed Up Simulation page.

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!