Within VehicleInterfaces rather than limiting our-selves to modelling rotating components as a simple 1D rotation we have built in the flexibility to model rotating components as MultiBody systems. This has been possible through the development of a new connector called FlangeWithBearing. This is a hierarchical connector that contains a 1D rotational connector and a conditional MultiBody connector. The use of the MultiBody connector is controlled by a parameter in the connector. This enables the FlangeWithBearing connector to model rotational effects as a purely 1D system or it can correctly include MultiBody effects.
Where this connector is used in an interface definition the parameter includeBearingConnector is linked to a parameter at the model level so that the model developer can easily activate this connector if required. These parameters are declared as protected parameters so that they are only available to the model developer as they create the subsystem model and cannot be changed when the model is used.
The use of the bearing connectors needs to carefully considered to avoid inadvertently creating mechanical loops in the model. The following example guidelines for the engine and transmission subsystems should help highlight the issues so that the model developer can determine when it is appropriate to use the bearing connectors. For the engine and transmission subsystem models: