The battery is modeled by open-circuit voltage (OCV) dependent on state of charge (SOC), a self-discharge component and an inner resistance.
Parameters are collected in parameter record cellData.
All losses are dissipated to the optional heatPort
.
For details, see concept and parameterization.
SOC > SOCmax and SOC < SOCmin triggers an error.