Battery energy storage systems for primary frequency regulation in power systems