/// <summary> /// Store the result of the AC simulation /// </summary> /// <param name="sender">Simulation invoking the event</param> /// <param name="data">Simulation data</param> private void StoreResult(object sender, SimulationData data) { Frequencies.Add(data.GetFrequency()); Results.Add(extractsim(data)); }