Text this: Enhancing the Dynamic Performance of Hybrid Photovoltaic-Battery DC Microgrid Through Piece-Wise Affine Model-Based Controller With Mode Transition Function