Enabling IoT with Electromagnetic Simulation