PS Divide, Accelaration, Feedback
조회 수: 5 (최근 30일)
이전 댓글 표시
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
The equ
댓글 수: 0
답변 (1개)
Martin
2019년 1월 22일
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
참고 항목
카테고리
Help Center 및 File Exchange에서 Physical Units에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!