Hi,
I am simulating an AGC circuit with ADS. I have modelled the pin diode as a resistor whose value depends on a variable.
The value of the resistor depends on the output voltage of a op-amp, set as a comparator.
I am having some problems when relating that variable to the op-amp output...