A pump is disclosed that comprises a primary control unit comprising a first processor and one or more modular pumping units removably docked to the primary control unit. Each modular pumping unit comprises a pumping mechanism and a second processor configured to control the pumping mechanism and communicate with the first processor. The modular pumping unit is configured to manipulate a portion of a fluid delivery set to pump a fluid. The first processor and the second processor are configured to exchange one or more operating parameters when the modular pumping unit is docked to the primary control unit. The modular pumping unit is configured to pump the fluid after being undocked.