New in Dymola 2013 – Submodel aggregation

A useful new feature in Dymola 2013 is submodel aggregation,which allows you to quickly create a new submodel from a group of components within an existing model.  This feature provides an alternative method for creating subsystem models to that described in the earlier article Creating and using subsystems.

To illustrate the submodel aggregation feature, a basic rear wheel drive model that contains three flexible shafts will be considered.  The rear wheel drive model can be simplified by grouping the three components of the flexible shaft into a submodel. The submodel can then be reused for all three flexible shafts.

Basic Rear Wheel Drive Model Diagram

To do this, the components to be moved into the submodel are selected, in this case two inertias and a spring-damper. The context menu is opened by right clicking, and the option Create Submodel… should be selected.

Context Menu

The selected components will be automatically moved to a new class; this new class will replace the components in the original model and the connections to other components will be restored.  When creating the submodel, the user is given the following options:

  • Insert in package: The submodel is stored as a separate model in the specified package; this option should be selected if the submodel is to be reused.
  • Local to current model: The submodel is stored within the original model.

After creation of the flexible shaft submodel, named FlexibleShaft, the rear wheel drive model is altered as shown below.  The FlexibleShaft submodel can now be reused to replace the components of flexible shafts 2 and 3.

Rear Wheel Drive Model with Submodel

The diagram of the FlexibleShaft submodel is given below. Note that, the required connectors were automatically added when the new class was created and the connections between components were maintained.  At this point, an icon can be added and important component parameters propagated ready for reuse of the submodel.

Flexible Shaft Submodel

 

CONTACT US

Got a question? Just fill in this form and send it to us and we'll get back to you shortly.

Sending

© Copyright 2010-2017 Claytex Services Ltd All Rights Reserved. | Designed by CMA Marketing

Log in with your credentials

Forgot your details?