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

3 views (last 30 days)
Supattra Songsukhon
Supattra Songsukhon on 14 Nov 2021
Answered: Steve Miller on 30 Nov 2021
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

Answers (1)

Steve Miller
Steve Miller on 30 Nov 2021
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