A greenhouse cultivation system employing heat generated by a variable-frequency drive or inverter. The system comprises a greenhouse (1). Several water channels (2) and ventilation pipes (3) are arranged in parallel and buried underground in the greenhouse. Each of the water channels is secured with a heat dissipation tube (4) therein and provided with a cooling liquid inlet (21) and cooling liquid outlet (22), and the heat dissipation tube has one end fastened to the cooling liquid inlet of said water channel and the other end fastened to the cooling liquid outlet of said water channel. The cooling liquid inlets of the water channels are connected to a heat generation element (6) of a variable-frequency drive or an inverter via a cooling liquid pipe (5), and the cooling liquid outlets of the water channels are connected to an in-line pump (7) via a cooling liquid pipe. The ventilation pipes have two ends protruding from the ground and located outside of the greenhouse, and have walls extending upward to for