Analog HVPS logic added. Database methods updated in order to support four HVPS