This is handled by the inverter and charging modules, some use FPGA chips others use dedicated ASICs, but it doesn’t require anything wild in terms of raw compute power, mostly up to having good algorithms to handle the situations correctly. Nothing more than a modern ICE engine which needs to very precisely manage intake and exhaust cam phasing, ignition timing, intake pressure, and multiple injections per cylinder/cycle along with monitoring a multitude of sensors to keep everything in tolerance. In terms of simplicity, the first automobiles at the turn of the century were electric before the ICE caught on thanks to the advent of the electric starter and limitations in battery technology at the time.
This is handled by the inverter and charging modules, some use FPGA chips others use dedicated ASICs, but it doesn’t require anything wild in terms of raw compute power, mostly up to having good algorithms to handle the situations correctly. Nothing more than a modern ICE engine which needs to very precisely manage intake and exhaust cam phasing, ignition timing, intake pressure, and multiple injections per cylinder/cycle along with monitoring a multitude of sensors to keep everything in tolerance. In terms of simplicity, the first automobiles at the turn of the century were electric before the ICE caught on thanks to the advent of the electric starter and limitations in battery technology at the time.