Effacer les filtres
Effacer les filtres

Altering the time-step size.

2 vues (au cours des 30 derniers jours)
Manahara Manatunga
Manahara Manatunga le 1 Jan 2016
Commenté : Walter Roberson le 24 Sep 2023
Hi all,
I am trying to model an engine on Simulink. The engine has a non-uniform RPM rate, which depends on the torque and the moment of inertia of the flywheel mass.
I want to step the simulation every 0.25 degrees. Since the RPM is not constant, the time taken to crank the engine by 0.25 degrees varies. Is there any way I can define the time step size while running the simulation?
This way I can adjust the time step to always increment the crank angle by 0.25 degrees every time step.
Thanks in advance.
Manahara

Réponses (1)

kintali narendra
kintali narendra le 24 Sep 2023
use a ramp signal to with a slope of 0.25
  1 commentaire
Walter Roberson
Walter Roberson le 24 Sep 2023
That would be a constant slope, and the time taken to crank the engine by 0.25 degrees would always be the same. However, @Manahara Manatunga has a situation where the time required to turn by a fixed angle varies.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Engines & Motors dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by