Solid State Transformers (SSTs) are being considered as a replacement to the classic transformers especially for renewable energy and energy storage systems mainly due to their much smaller size and controllability and regulation over the transferred power. Multi-Port SSTs share one high frequency core for the isolation between several devices and hence are even more compact and efficient but the system is complex and the control of such a system is a challenge. This paper considers a four-port, MPSST connected to a renewable source, battery, load, and the grid and discusses various scenarios and operating points. It is shown that several factors including the ratio of the renewable power to the load, battery SOC status and role of the battery in the system change the desired power flow in the system and there are several control structure needed for each mode of operation. These modes of operation and the boundary between them are recognized and eventually a MIMO control scheme is suggested that includes several switches to changes the structure of the controller to adjust the controller structure to the operating condition. Eventually, input-output linearization technique has been adopted to the system to linearize the model and achieve a better control performance.