modelWrongNumberOfArrayEquationsCorrected

Rewritten model WrongNumberOfEquations so that processing possible without array expansion

Extends from Modelica.Icons.Example.

Parameters

TypeNameDefaultDescription
Realm1.0Mass of point mass
RealL1.0Length of the pendulum
Realg9.81Gravity
Realm_small0Small mass added to degree-of-freedom

Components

TypeNameDefaultDescription
RealthetaAngle of pendulum
Realder_thetaDerivative of theta
Real[2]rPosition of mass point
Real[2]vVelocity of mass point
Real[2]fForce 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)