Powertac-ev-customer is a project mainly written in Groovy, it's free.
PowerTAC EV Customer Model
Electic Vehicle Customer Model for Power TAC