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:
Click Add Apps or Templates (
) on the left side of the MapleSim window.
Double-click the name of the custom component app or template you want to use.
If you selected a template, the template opens in Maple. If you selected an app, the app opens in the Analysis window, under the Apps tab.
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.
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.
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.
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
Download Help Document
What kind of issue would you like to report? (Optional)