## [Qucs-help] freq dependent elements in AC simulation

 [Qucs-help] freq dependent elements in AC simulation From: Toby - 2011-01-17 09:55:53 ```Hi, based on my past experience with tools like Agilent ADS I jumped in at the deep end. I started with an AC simulation containing frequency dependent elements. "Should be pretty easy and straight forward" ... that's what I thought at the beginning.... Now, several hours after playing with qucs and reading corresponding manuals, I have been able to come up with a solution, but it's more kind of an ugly workaround, because I couldn't figure out how to access the current simulation frequency (state) from within an EDD component directly. Is it exposed at all ? Did I miss a bit ? My current workaround utilizes an additional EDD branch, which connects to a special dummy circuit. I have a AC source driving constant current (I=1A) into an inductor with L=1/(2*pi). Probing the voltage at the inductor (v=L*I=j*freq) allows to get access to the current frequency in an EDD component. But IMHO it's a pretty cumbersome way of reaching my goal. Is there an easier, cleaner solution ? Regards, Toby ```

 [Qucs-help] freq dependent elements in AC simulation From: Toby - 2011-01-17 09:55:53 ```Hi, based on my past experience with tools like Agilent ADS I jumped in at the deep end. I started with an AC simulation containing frequency dependent elements. "Should be pretty easy and straight forward" ... that's what I thought at the beginning.... Now, several hours after playing with qucs and reading corresponding manuals, I have been able to come up with a solution, but it's more kind of an ugly workaround, because I couldn't figure out how to access the current simulation frequency (state) from within an EDD component directly. Is it exposed at all ? Did I miss a bit ? My current workaround utilizes an additional EDD branch, which connects to a special dummy circuit. I have a AC source driving constant current (I=1A) into an inductor with L=1/(2*pi). Probing the voltage at the inductor (v=L*I=j*freq) allows to get access to the current frequency in an EDD component. But IMHO it's a pretty cumbersome way of reaching my goal. Is there an easier, cleaner solution ? Regards, Toby ```
 Re: [Qucs-help] freq dependent elements in AC simulation From: Stefan Jahn - 2011-03-16 12:11:41 ```Am Mo, 17.01.2011, 10:55 schrieb Toby: > Hi, Hello! > based on my past experience with tools like Agilent ADS I jumped in at the > deep end. I started with an AC simulation > containing frequency dependent elements. "Should be pretty easy and > straight > forward" ... that's what I thought at the beginning.... > > Now, several hours after playing with qucs and reading corresponding > manuals, I have been able to come up with a solution, > but it's more kind of an ugly workaround, because I couldn't figure out > how > to access the current simulation frequency (state) > from within an EDD component directly. Is it exposed at all ? Did I miss > a > bit ? > > My current workaround utilizes an additional EDD branch, which connects to > a > special dummy circuit. > I have a AC source driving constant current (I=1A) into an inductor with > L=1/(2*pi). Probing the voltage > at the inductor (v=L*I=j*freq) allows to get access to the current > frequency > in an EDD component. > But IMHO it's a pretty cumbersome way of reaching my goal. > Is there an easier, cleaner solution ? You can use "F" (frequency) and "S" (jwF) in RF-EDD statements. best regards, Stefan. ```