.BikeTrailer.Drives.Battery

Simple battery model

Information

A simple battery model: SOC (state of charge) is tracked by measuring the current and integrating to achieve charge. For simplicity reasons the prescribed open-circuit voltage depends linearly on state of charge between Voc at SOC=1 and Vmin at SOCmin. Additionally the internal resistance (computed from short-circuit current Isc at SOC=1) is taken into account.


Generated at 2025-07-13T18:20:56Z by OpenModelicaOpenModelica 1.25.1 using GenerateDoc.mos