In V2004 the I used the FREQ variable to create a frequency dependent array. See example formula below.
ZL1=2*pi*FREQ*L1
This would return an array giving me the reactance of L1 over the swept frequency band.
In V2006.07 I get a value of 0. It does not return an array. How do I fix this in V2006.07?
ZL1=2*pi*FREQ*L1
This would return an array giving me the reactance of L1 over the swept frequency band.
In V2006.07 I get a value of 0. It does not return an array. How do I fix this in V2006.07?
It depends a little on the context. In GENESYS 2004 the FREQ array was actually the union of all frequencies used by linear analyses. This was, at best, unwieldy. In GENESYS 2005/6 that array is replaced by the individual F vectors in each dataset (so you get one FREQ array per simulation - reflecting the frequencies that were swept for the simulation).
So, because Linear Analysis uses a data variable named "F" as the array, you would use
or just
Now, if you want to graph ZL1 versus Frequency you'll need to tell GENESY that ZL1 has the right independent. You can do this by adding a little additional code.
or
Hope this helps. You might look at the (moderately slow) "Datasets" tutorial video where I walk through dataset contents.
By the way, I would recommend you put the L1 definition in a different equation block so that your input equation set is isolated from output failures.
Mark