modelFreeBodiesEnforceStatesFalse
Test whether enforceStates=false give any undesired output
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
This test case is made with the intent of verifying what choices are made by the compiler in terms of state selection when wrong indications are given, here all the bodies have the flag enforceStates=false but the bodies positions and velocities are the only possible states.
Dymola ignores the flag and uses bodies variables as states.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | animation | true | = true, if animation shall be enabled |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| MultiBody.World | world | ||
| MultiBody.Parts.FixedTranslation | bar2 | ||
| MultiBody.Forces.Spring | spring1 | ||
| MultiBody.Parts.BodyShape | bodyShape | ||
| MultiBody.Forces.Spring | spring2 | ||
| MultiBody.Parts.Body | body | ||
| MultiBody.Forces.Spring | spring3 | ||
| MultiBody.Parts.BodyBox | bodyBox | ||
| MultiBody.Forces.Spring | spring4 | ||
| MultiBody.Forces.Spring | spring5 | ||
| MultiBody.Parts.BodyCylinder | bodyCylinder | ||
| MultiBody.Parts.PointMass | pointMass | ||
| MultiBody.Forces.Spring | spring6 |