PS Divide, Accelaration, Feedback
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello.
I´m trying to to build a model with simscape of an ASM. Instant of an constant of an Torqueload I want maki it as an feedback. For this I need to calculate the accaleration and devide it bei inertia. The problem is, when I´m using the PS Diviede-Block I get the error message:
An error occurred while running the simulation and the simulation was terminated
Caused by:
- ['AC_Phys/Solver Configuration']: At time 0.000000, one or more assertions are triggered. See causes for specific information.
- In divide, the denominator must be nonzero. The assertion comes from: Block path: AC_Phys/PS DivideAssert location: o In between line: 21, column: 15 and line: 21, column: 17 in file: C:\Program Files\MATLAB\R2018b\toolbox\physmod\simscape\library\m\+foundation\+physical_signal\+functions\divide.ssc
I´m using the equasions:
a = angular accelaration
s = angular displacement = A
w = angular velocity = W
a = w^2/s and then Torque = J * a
Anyone whocould tell where the mistake is or are there alternatives to this?
Thx
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/198218/image.png)
The equ
0 commentaires
Réponses (1)
Martin
le 22 Jan 2019
Hello Vitali,
It is possible that the rotational motion sensor is giving a value of 0 to the PS Divide block. Have you set the initial angle parameter in the sensor to a non-zero value?
Martin
0 commentaires
Voir également
Catégories
En savoir plus sur Physical Units 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!