Tutorial - Defining a new energy storage device model
The following process will demonstrate how to create a new energy
storage device model using these interface definitions. This tutorial
will guide you through building a simple battery.
- Create a new model that extends
VehicleInterfaces.EnergyStorage.Interfaces.Base,
it should look like this:
- Unlike most of the other systems in the VehicleInterfaces package,
the energy storage device interface definition does not contain any
optional connectors.
- You can now define your energy storage device model as required
Creating a simple battery example
The following steps demonstrate how to create a simple battery model.
The battery model will have a constant voltage and an internal resistance.
Starting from step 2 above.
- Add the following blocks and connections to the diagram.
Generated at 2024-12-21T19:25:56Z
by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos