AMES is a free open source software package for agent-based modelling of wholesale electricity markets (based on DC optimal power flow analysis).

Reference: AMES