.VehicleInterfaces.Accessories.Tutorial

Information

Tutorial - Defining a new accessories model

The following process will demonstrate how to create a new accessories model using these interface definitions. This tutorial will guide you through building an accessory subsystem with a power steering pump and alternator. Both will be modelled using speed dependant torque loss maps.

  1. Create a new model that extends VehicleInterfaces.Accessories.Interfaces.Base, it should look like this:



  2. In the component browser, right click on Base and select Parameters from the context menu to produce the following parameter dialog:



  3. This dialog allows you to enable/disable the optional bearing connectors within the engineFlange by setting includeEngineBearing as required.
  4. You can now define your accessory model as required

Adding an alternator and power steering pump

The following steps demonstrate how to create a simple accessories model. The subsystem will include an alternator and power steering pump that are modelled separately but both use speed-dependant torque loss maps.

Starting from step 2 above.

  1. Add the following blocks and connections to the diagram:



  2. Next, we need to check to see if any connections to the control signal bus are required for the driveline, see a complete list of the minimum connections required. In this case we don't need to add any signals to the control signal bus.
  3. The model is now complete and should check successfully and can be used in any model compatible with the VehicleInterfaces library

Generated at 2024-11-22T19:25:38Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos