Creating a Custom Component from a Template or App - MapleSim Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : MapleSim : Using MapleSim : Building a Model : Creating Customized Modeling Components : Creating a Custom Component from a Template or App

Creating a Custom Component from a Template or App

MapleSim comes with specialized templates for creating custom components. For instance, you could create a custom component from a set of differential algebraic equations (DAEs) or from C code/libraries. In addition, other MapleSim Add-on products may provide their own templates or apps for creating custom components. These instructions are a general overview of how to create a custom component from any template or app.

Specific information on how to configure a custom component using a template or app is usually embedded in the template or app.

To create a custom component from a template or app:

1. 

Do one of the following:

• 

To select from the available apps, in the main toolbar, click Show Apps Manager ( ).  Select from the apps under Component Creation.  Double-click to open an app.  The app opens in the Apps Manager.

• 

To select from the available templates, in the main toolbar, click Load a Maple Worksheet ( ).  Select from the available templates.  The templates open in Maple.

2. 

Configure your custom component.
Tip: Help on how to configure the custom component is normally embedded in the template or app. Click the help ( ) icons in the document to show/hide the help.

3. 

Generate the custom component.

  

 Tip: Generating the custom component is usually done by clicking the Generate or similarly named button in the template or app.

4. 

Save your MapleSim model.

The custom component can be found under the Local Components tab ( ), in the Components palettes. Drag the custom component onto the Model Workspace to use it in your model. For custom components based on a template, the template is attached to your model in the Custom Components palette under the Attached Files tab ( ).  If the Custom Component is based on an app, your app data configuration will be attached to your model under App Data.

Tip: Examples and tutorials on how to configure a custom component using a template can be found in the following sections of the MapleSim User's Guide:

• 

Chapter 3, Section 3.5: Creating a Nonlinear Spring-Damper Custom Component.

• 

Chapter 6, Section 6.5: Using the Custom Component Template.

• 

Chapter 6, Section 6.6: Using the External C Code/DLL Custom Component App.

See Also

Custom Components

Using the MapleSim DAE Custom Component Template

Creating a Modelica Custom Component

Editing a Custom Component

Creating a Hierarchy for a Model in the Local Components Tab

Opening Templates and Scripting Worksheets

Using Apps

Trademark Attributions