High frequency simulation of resonant tunneling diodes