Application of a LiFePO4 Battery Energy Storage System to Primary Frequency Control: Simulations and Experimental Results