You can use SPICE prorammes such as LTspice, with Caverly's model, see, amongst others, Caverly and Quinn, A SPICE model for simulating the impedance-frequency characteristics of high frequency PIN switching diodes. Also models the switching behaviour of the PIN diode.