I have a problem running an AC sim with a parameter sweep while using xvalue and yvalue equations.
I get an error:
" evaluation exception stack
006: not an appropriate dependent data vector"
Please see details below and the attached schematics
>I think I see the problem; with the parameter sweep, you have a double
>circuit dependency. It is rather obvious what you are trying to do, but
>I don't know how to do it.
>You didn't CC the list in your mail, so the best thing would be to
>forward the relevant parts (especially the schematic) to the list.
>(Feel free to include what I said.)
>Some more experienced people may be able to help you there.
>Thanks for the reply. I have attached two schematics. lcr_no_sweep.sch
>which works ok
>and lcr_sweep.sch which has a parameter sweep and gives the 006: error
>with the xvalue and yvalue equations.
>Both circuits are the same.
Soeren D. Schulze wrote:
> Mike Asker wrote:
>> If I run an AC sim of a simple circuit
>> and I have an equation v = yvalue(op.v, 1e6)
>> I can then display the result in a table,
>> and this works OK.
>> However if I try to do a parameter sweep
>> of the same circuit, the simulation runs but
>> my equation gives the following error:
>> " evaluation exception stack
>> 006: not an appropriate dependent data vector"
>> I expected to see the equation results listed in the table
>> one per sweep in the table.
>> It seems that the equation cannot reference a signal result
>> if used with a parameter sweep AC sim. Is this a bug?
>> I am using qucs v0.14 on a Windows(XP)
> I'm afraid I don't know the answer right now, but it would be helpful if
> you posted the schematic to the list.