modelWrongNumberOfArrayEquationsCorrected
Rewritten model WrongNumberOfEquations so that processing possible without array expansion
Extends from Modelica.Icons.Example.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | m | 1.0 | Mass of point mass |
| Real | L | 1.0 | Length of the pendulum |
| Real | g | 9.81 | Gravity |
| Real | m_small | 0 | Small mass added to degree-of-freedom |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | theta | Angle of pendulum | |
| Real | der_theta | Derivative of theta | |
| Real[2] | r | Position of mass point | |
| Real[2] | v | Velocity of mass point | |
| Real[2] | f | Force in the revolute joint |
Revisions
- 2025-05-02 by Martin Otter (DLR-FK): Initial version.
Copyright © 2025 Deutsches Zentrum für Luft- und Raumfahr e.V. - Institute of Vehicle Concepts .(DLR-FK)