a study of renewable energy resources for backup power applications