Stop Time and Sample time for best performance

3 ビュー (過去 30 日間)
Mohamadreza Golbaba
Mohamadreza Golbaba 2021 年 8 月 15 日
回答済み: Joel Van Sickel 2021 年 8 月 18 日
I create an RLC circuit in the Picosecond range, but when I started simulation its take a long time to finish the simulation.
What is the relation between sample time and stop time for simulation in this range for best performance?

回答 (1 件)

Joel Van Sickel
Joel Van Sickel 2021 年 8 月 18 日
Hello Mohamadreza,
the default stop time is 10 seconds. You can set this time to anything you want. Your stop time is directly proportional to how long your simulaiton will take. you should only simulate your system long enough to see the relevant dynamics that you need to observe. A good point to start with for stop time in a system in the picosecond range would be 1 nano second of simulation. There is no relationship to stop time and sample time, but they both affect how long it takes to finish the simulation.
Regards,
Joel

カテゴリ

Help Center および File ExchangeVariable Initialization についてさらに検索

タグ

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by