[ASK] is there arduino simulation that can connect 2 pieces of the wifi module?

Hi, I want to ask if there is an Arduino simulation that can connect 2 pieces of the WiFi module and create a network sensor? for example: (heat sensor-Arduino-WiFi module) -> (WiFi module-Arduino-solenoid valve), not real hardware but just simulation