Choosing a simulation type

2 ビュー (過去 30 日間)
cr28
cr28 2012 年 8 月 24 日
Hi, I'm modelling an electrical network for a 24 hour period and looking at voltage swings and regulation.Continuous mode with variable step is out of the question. I read the documentation for powergui but I'm still not sure which one to pick.
Whats the best mode and solver (variable or fixed step)for this kind of simulation? A balance between accuracy and simulation time is desired!
Thanx

採用された回答

Ryan G
Ryan G 2012 年 8 月 27 日
First, you can only use the powergui if you're using SimPowersystems. In fact, it is required with those blocks.
Second, the solver choice completely depends on the model. Why can't you use a variable step solver?
If you are planning on using fixed step the ODE# indicates accuracy where 5 is more accurate than 4. Once you find an ODE solver accurate enough for your simulation you can utilize accelerator or rapid accelerator mode to speed up the simulation time.
  1 件のコメント
cr28
cr28 2012 年 9 月 1 日
the powergui block is placed in the model.
i am using type:variable & solver:discrete. i get errors when i try doing it in fixed step mode. what should i look for while choosing a solver?

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeConfigure Simulation Conditions についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by