A model created using MapleSim and the MapleSim Battery Library provides accurate battery voltage and state of charge during robot operation.