Text this: Digital Twin for a Frequency Mixer Used as a Phase Sensor