The present invention is to improve the efficiency of the agricultural cooling and heating system by storing and reusing the surplus electricity of the solar power generation device, and to continuously drive the cooling and heating system in an eco-friendly state. The heat pump system 20 used for cooling and heating of a greenhouse or low-temperature warehouse uses electricity produced by the photovoltaic device 10 as a power source, and the heat pump system 20 is a compressor 21 that compresses a refrigerant. ), a condenser 22 for condensing the refrigerant compressed in the compressor 21, an expansion valve 25 for decompressing the refrigerant condensed in the condenser 22, and the refrigerant reduced by the expansion valve 25. Consisting of an evaporator 23 and a four-way valve 24 for switching the flow of refrigerant during cooling/heating, the solar panel of the photovoltaic device 10 is a rectangular plate-shaped upper panel 110a and a lower part. The panel 110b, the hinge 120 connecting the upper panel 110a and the lower panel 110b in a foldable state, the inclined plate 133 fixed to the ground in an inclined state, and the inclined plate 133 The cylinder 131 is fixed to the upper surface, has a hollow cylindrical shape, and hydraulic pressure is formed therein, and one side is fixed to the bottom of the upper panel 110a and the lower panel 110b, and the other side is able to appear in the cylinder 131 It includes a rod 132 coupled to each other and a pressure sensor (S1) provided on the upper and lower surfaces of the upper panel (110a) or the lower panel (110b) to detect wind pressure, and a surplus electricity utilization device (200) is further included. Do it; The surplus electricity utilization device 200 generates a water electrolysis reaction by receiving the surplus electricity generated from the photovoltaic device 10, and a hydrogen generator 210 that generates hydrogen and oxygen as a result of the water electrolysis reaction, and hydrogen A hydr