Hi All,
I have got a problem here which I will try to simplify as much as possible and I hope one of you will be able to help me with.
I have got a simulation which produces say a value for A. Now I have to use A in the data display file to write equations to produce value for B and then use B to evaluate C. So imagine it like this:
A (from the simulation)
B=A+1
C=B+2
Until now, no problems. Now the trick is, this simulation is being done against a swept variable Z, which is a voltage. Say there are 10 steps of Z (Z1, Z2, Z3,…….,Z10) call it in general Zx. My simulation will produce 10 results of A depending on the values of Z. I can find “AZxâ€
I have got a problem here which I will try to simplify as much as possible and I hope one of you will be able to help me with.
I have got a simulation which produces say a value for A. Now I have to use A in the data display file to write equations to produce value for B and then use B to evaluate C. So imagine it like this:
A (from the simulation)
B=A+1
C=B+2
Until now, no problems. Now the trick is, this simulation is being done against a swept variable Z, which is a voltage. Say there are 10 steps of Z (Z1, Z2, Z3,…….,Z10) call it in general Zx. My simulation will produce 10 results of A depending on the values of Z. I can find “AZxâ€
I did a simple DC simulation similar to what you describe. I have a source, which voltage is swept with a variable, Zx. Measuring voltage A in my circuit.
In the data display I list the value of A, which is an array vs Zx:
I now write two equations like this:
Listing the results:
The B & C equations are operating on each corresponding row in the array. E.g. no need to find the index for each row/voltage and write equations separately.
Isn't this what you wanted, or did I mistunderstand you?