The document presents a design for a Model Reference Adaptive PID Control (MRAPIDC) algorithm aimed at stabilizing a two-tank liquid level system subject to significant parameter variations and external disturbances. The new adaptive PID controller incorporates a unique structure with a reference model and additional gain adjustments to enhance robustness and maintain stability, outperforming conventional PI controllers in various simulations. The results indicate that this adaptive controller effectively limits overshoot and recovery time, demonstrating advantages over existing control methods.