This manuscript applies model prediction-based control (MPC) to accommodate the variable ac-natured load (AL) by optimally allocating fuel cell (FC), battery, solar photovoltaic (SP) power in a four-port dc/dc converter (FPDDC). The presented work considers FC, SP, and AL at first, second, third, fourth ports of FPDDC, respectively. small signaled state-space representation FPDDC has been obtai...