Group Abstract Group Abstract

Message Boards Message Boards

0
|
9.8K Views
|
3 Replies
|
1 Total Like
View groups...
Share
Share this post:

Two identical models, one with structural singularly

Posted 5 years ago

In a futile attempt to save some hand calculation time (and get in much needed practice in system modeler), I decided to modify an already existing model,

"PistenEngine" from the PlanarMechanics example list and simply replicate it one to one in Modelica parts.

planar

The original model (with added constant angular velocity)

and my new version

modelica

I intend to extent my model with other things, however I just wanted to get this working first in what I thought would be mere minutes to be now constantly hit with errors of singularity.

Building "flywheel" as experiment "temporary-experiment" started at 13:35:35 [:0:0-0:0] Error: Model is structurally singular, the following equations do not allow to solve for required variables:

Then there is a massive list of equation errors.

There is something I am fundamentally misunderstanding? If this model is singular, why does planarmechanics have no issues?

POSTED BY: Mor Bo
3 Replies
Posted 2 years ago

Thanks for this post! I was experiencing this very problem, but I couldn't us Planar Mechanics as my application needs a third dimension. I repeated your analysis of substituting balls and then inserting a RevolutePlanarLoopConstraint and I was able to compile. Thanks again!

POSTED BY: Glen Thomas
Posted 5 years ago

Thank you very much. This has taken some time for me to get back to...in the end I ended up using the planer mechanics example to get the solution. But I will take this advice to heart. Algebraic loops were a frustrating thing to understand, I appreciate your step by step example!

POSTED BY: Mor Bo
Attachments:
POSTED BY: Jan Brugard
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard