https://nl.mathworks.com/help/sps/ug/automotive-alternator-charging-a-battery.html
Automotive Alternator Charging a Battery - MATLAB & Simulink
This example shows how alternator behavior can be abstracted to a DC model that simulates efficiently.
alternator chargingautomotivebatterymatlabsimulink