The HSWF version has rather higher gate capacitance; depending on the gate drive circuit, that may cause the switching to be slow and result in rather more heat dissipation & a loss of efficiency.
From the list you link to, the OST75N65HM2F would be a better choice if possible as it has lower capacitance than the original.
Thanks for the info. I installed OST75N65HSW and the inverter does not display the error code 09 as it did before but now it doesn't detect solar panels. I checked the voltage at the fuse (before and after) and at the end of the cable. In all cases, it read 400 V. But Immediately after connecting the cables to the inverter, the voltage dropped to 0 V. Other parts of the inverter are working: it detects the battery and mains.