obtain kinematic and dynamic expressions from a MapleSim/Multibody model module - MapleSim Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : MapleSim : MapleSim Application Programming Interface : Multibody : Deprecated Commands : MapleSim/Multibody/BuildExpression(deprecated)

MapleSim[Multibody][BuildExpression] - obtain kinematic and dynamic expressions from a MapleSim/Multibody model module

Calling Sequence

BuildExpression(MSimMultibodyModel)

Parameters

MSimMultibodyModel - Maple module of a system created using the BuildEQs command or retrieved from a MapleSim/Multibody store file (`.lib`) using the GetModel command.

Description

Important: The BuildExpression command has been deprecated. Use the templates in the MapleSim templates folder to analyze your model instead. For more information, see Opening MapleSim Templates.

The BuildExpression command opens a window that allows you to generate and work with frame transformation equations (based on the frame names that were used when you created the model), built-in MapleSim/Multibody functions, and functions and expressions that are specific to the model components. Note: If none of the model components have component-specific functions, this option is not available.

Interface

The BuildExpression command opens the following window. The available actions, indicated by the buttons at the bottom of the window, are described below.

Build Expression

Generates the requested expression or procedure and assigns it to the name indicated in the Expression/Procedure Details section of the window.  The expression or procedure is then available in the worksheet when the window is closed.

 

View Expression

Generates the requested expression or procedure and displays it in a new window. A sample is shown below.

 

Preview Code

Opens a new window displaying the code that is executed when you click Build Expression. You can copy and paste this code into a Maple worksheet.  Note:  MapleSim/Multibody ignores any changes made to the code displayed in this window.

 

Help

Opens this help page in the Maple help browser.

Examples

Important: The BuildExpression command has been deprecated. Use the templates in the MapleSim document folder to analyze your model instead.

The example below shows an embedded MapleSim model of a planar slider-crank mechanism. In this example, the embedded component name is Simulation0 and the model name is SliderCrank.

leArguments'InputString'=MapleSim:-Multibody:-GetMultibodyInputSimulation0,'ModelName'=SliderCrank,'KinSimpType'=Simplify,'DynSimpType'=Simplify,'AugType'=Lagrange,'MaxSmallQOrder'=1,'SaveToLib'=false,'SilentMode'=false:MapleSim:-Multibody:-BuildEQsopleArguments:

Analyzing system...

Performing constraint analysis...

The system has 1 degree(s) of freedom. It is modeled using 3 generalized coordinate(s) coupled by 2 algebraic constraint(s).

Peforming a dynamic analysis using an augmented Lagrange formulation - system variables shown below:

vQ,s_P2ttheta_R1ttheta_R5t,vP,ⅆⅆts_P2tⅆⅆttheta_R1tⅆⅆttheta_R5t,vPdot,ⅆ2ⅆt2s_P2tⅆ2ⅆt2theta_R1tⅆ2ⅆt2theta_R5t,vLambda,λ1tλ2t

Dynamic analysis complete.

(5.1)

MapleSim:-Multibody:-BuildExpressionSliderCrank:

See Also

MapleSim, MapleSim[Multibody][BuildEQs], MapleSim[Multibody][BuildPlot](deprecated), MapleSim[Multibody][GetMultibodyInput]


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam