FREQUENCY REGULATION WITH STORAGE ON LOSSES AND PROFITS