Using Diagnostics - MapleSim Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : MapleSim : Using MapleSim : Simulating a Model : tasks/simulating/usingDiagnostics

Using Diagnostics

Diagnostics lets you test and troubleshoot your model for proper design and construction by providing real-time feedback for your 2-D or 3-D simulations as you build a model. Diagnostics is a two stage process consisting of a pre-test and a simulation of the constructed model.

A preliminary analysis or pre-test of the constructed model informs you of ‘construction’ errors, such as unconnected lines or subsystems having identical content but not linked to subsystem definitions (for more information see Best Practices: Laying Out and Creating Subsystems).

The second stage involves running a simulation to reveal any errors uncovered by the simulation engine.

Warning and error messages appear in the debugging pane as you build your model identifying the subsystem in which the issue is located.  Clicking the message in the debugging pane highlights problem components.  Right-clicking displays potential options to help you to resolve the issue.  A second click on the message removes the highlight.

To run a pre-test:

1. 

In the Model Workspace build your model.

2. 

Click Diagnostic Information ( ) at the bottom of the MapleSim window to display the debugging console.

3. 

Click Run Diagnostics ( ) below the debugging pane or from the Edit menu, select Check Model.  MapleSim verifies your constructed model for missing links and improper connections.

4. 

Right-click (Control-click for Macintosh) the message in the debugging pane to display suggestions on how to correct any errors.

To run a full test:

1. 

In the Model Workspace build your model.

2. 

In the Main Toolbar, click Run Simulation ( ). If you are using a snapshot this icon changes to ( ).  Alternatively, from the File menu, select Simulate.  MapleSim verifies your constructed model for functional design.

3. 

Click the message in the debugging pane to highlight problem components.

4. 

Right-click (Control-click for Macintosh) the message in the debugging pane to display suggestions on how to correct any errors.

Note:  Clicking Run Diagnostics ( ) only runs UI tests and never engine tests.  The full test is run as part of the simulation process.

See Also

Debugging Console in Chapter 2 of the MapleSim User's Guide

Pruning a Model

 


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