Effacer les filtres
Effacer les filtres

Unable to reduce the step size without violating minimum step

9 vues (au cours des 30 derniers jours)
Raphael Gabor
Raphael Gabor le 29 Juil 2022
Commenté : Yifeng Tang le 1 Fév 2023
Currently trying to build up a model wich is representing a two-sided cylinder meant for compressing gas.
The model is atteched to the question (algebraic_loop.slx) and consists of three basic systems:
  • Thermal liquid system: Pump pushing fluid into the liquid piston and a 2-way-directional valve controlling the direction of liquid flow, as well as some check valves avoiding backflow
  • Gas system: Using a gas piston (driven by the liquid piston) to compress air into a gas tank, a gas source and some valves controlling the gas flow
  • Controll system: Controlling liquid pump, directional valves depending on the position of the piston rod. The components are controlled in a way to let the rod move between an upper and a lower bound specified by the relay inside the controller
When trying to simulate the model two warnings are displayed:
"algebraic loop" and "Solver is encountering difficulty in simulating [..] Caused by: Solver was unable to reduce the step size without violating minimum step size of 2.35762E-14 for 1 consecutive times at time 6.636 "
Fixing the alegrbaic loop by adding a transfer fctn (avoid_algebraic_loop.slx)as suggested in
does not solve the second warning and causes the solver to stall at T=6.636
  1 commentaire
Yifeng Tang
Yifeng Tang le 1 Fév 2023
downloaded your file but the model asks for "simparams.mat" for parameters. could you please update?

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Gas Library dans Help Center et File Exchange

Produits


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by