In this paper, a cogeneration system based on Uehara cycle and compression refrigeration cycle is proposed to generate electricity by using temperature difference energy (OTEC). The surface warm seawater of 29℃ is used as the heat source, and the deep cold seawater of 8℃ is used as the cold source. The system can be used to generate electricity and refrigeration for fishing boats, provide fresh-keeping technology for seafood, and can control the refrigeration capacity according to demand. Ammonia and tetrafluoroethane (R134a) are used as the working fluid of Uehara cycle and compression refrigeration cycle, with mass flow rates of 2.06kg/s and 2.7kg/s, respectively. The ASPEN PLUS V11 is used to conduct performance simulation study on co-production cycle system. The results show that the intermediate extraction rate of the steam turbine, the inlet temperature of the steam turbine, the ammonia concentration, and the mass flow rate of R134a all have a certain influence on the exergy efficiency, the primary energy saving rate, the primary energy utilization rate and the Coefficient Of Performance of the refrigeration cycle. From an energy-saving perspective, the system has better energy-saving effects than a single Uehara cycle. From an energy perspective, the primary energy utilization rate is higher than that of a single Uehara cycle.