Units for Time in Simulink
Show older comments
For a continuous model what sets the time(scale?) in a simulink model?
As an example for openExample('simulink_general/sldemo_househeatExample') the scope x axis units are in hours. What sets that?
I know this is likely a trivial question, but my real aplication is to model transients in a physical thermal system without simscape. So far, the only way I have been able to match my hand calculated estimates using
(with Q being the energy input each second) has been to use a descrete solver with a timestep of 1s but I know that I am going about things the wrong way.
(with Q being the energy input each second) has been to use a descrete solver with a timestep of 1s but I know that I am going about things the wrong way.Thank you for any guidence you can provide!
Accepted Answer
More Answers (1)
Giampiero Campa
on 29 Oct 2021
0 votes
It is not seconds, it's an "unit of time" that you can relate to time units how you want, depending on your application. See also this: https://stackoverflow.com/questions/18650928/can-simulation-stop-time-in-simulink-be-compared-with-real-time
Categories
Find more on Modeling in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!