Development and evaluation of a power management system for an off-grid power system with PV generation and energy storage