I have Solar ,Battery in Discrete model but i want to run in continuous time

4 ビュー (過去 30 日間)
Supattra Songsukhon
Supattra Songsukhon 2021 年 11 月 14 日
回答済み: Steve Miller 2021 年 11 月 30 日
I tried to run in continuous time but result,power signal graph of solar and Battery changed much between when run in discrete time. Please help me

回答 (1 件)

Steve Miller
Steve Miller 2021 年 11 月 30 日
If your simulation results change when you switch from a variable-step solver to a fixed-step solver, you probably need to reduce the maximum step size of the fixed-step solver AND/OR select a different solver. If this is a Simscape model, we recommend enabling the Simscape Local Solver.
Look at this documentation page for more information:

Community Treasure Hunt

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

Start Hunting!

Translated by