=== Running Frequency Sweep Simulations in EM.Libera ===
[[Image:wire_pic24.png|thumb|360px450px| EM.Libera's Frequency Settings dialog.]]
In a frequency sweep simulation, the operating frequency of the project is varied during the simulation, and the frequency response of your structure is computed at each frequency sample. EM.Libera offers two types of frequency sweep: uniform and adaptive. In a uniform sweep, equally spaced frequency samples are generated between the start and end frequencies. In the case of an adaptive sweep, you must specify the '''Maximum Number of Iterations''' as well as the '''Error'''. An adaptive sweep simulation starts with a few initial frequency samples, where the Wire MoM engine is initially run. Then, the intermediate frequency samples are calculated and inserted in a progressive manner. At each iteration, the frequency samples are used to calculate a rational approximation of the scattering parameter response over the specified frequency range. The process stops when the specified error criterion is met in a mean-square sense. The adaptive sweep simulation results are always continuous and smooth. This is due to the fact that a rational function curve is fitted through the discrete frequency data points. This usually captures frequency response characteristics such as resonances with much fewer calculated data points. However, you have to make sure that the process converges. Otherwise, you might get an entirely wrong, but still perfectly smooth, curve at the end of the simulation.