The only thing I can represent the contactor and condenser electronically is to use a TRIAC with some components around it. I attach a concept drawing and calculation to represent the circuit. This module has been around since 1980 and TRIAC already been developed since 1970 as an electronic switch. In my calculation I tried to use 4.3k and 240 Ohms resistor for the 5V divider. That means when you measure the resistance between the pin and ground is equal to (4.3k + 0.24) is equal to 4.54k. I don't know what's the actual resistance of the module. It maybe different from my chosen values.