How to decide time step for simulink model contains submodels with different response time ?

2 Ansichten (letzte 30 Tage)
I made a Simulink model to represent Ship performance which contains submodels. Each submodel represents a certain component of the ship system and has a different time response.
How should i decide the overall time step of my developed ship simulator ? Also how can i assign or give each submodel its corresponding time step ?

Akzeptierte Antwort

Sainath Varikuti
Sainath Varikuti am 27 Apr. 2015
You can use the rate transition block in the parent model to control the execution of each block as well as the execution of the referenced models. The example here illustrates how to use rate transition block.
  1 Kommentar
ameen
ameen am 28 Apr. 2015
Bearbeitet: ameen am 28 Apr. 2015
Thank you Sainath for your kind reply and help. If i have different sub-models with different time step, the global simulation time should be defined by the largest or the smallest time step of the used sub-models?

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Modeling finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by