The San Diego transit agency will use the $2 million grant to install solar power in a variety of facilities.