moonharry
Newbie level 1
- Joined
- Nov 21, 2014
- Messages
- 1
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 10
Hi,
I was building an integral expression to measure power consumption in calculator depends on other expressions:
(integ((v("/Vrfp" ?result "tran") * i("/V0/PLUS" ?result "tran")) Trise_begin Trise_end) / 1e-06)
The initial value "Trise_begin" and final value "Trise_end" are defined as:
"Trise_begin": cross(v("/Din" ?result "tran") 0 -2 "either" nil nil)
"Trise_end": cross(v("/Dout" ?result "tran") 0 -2 "either" nil nil)
This works fine if I am doing one point simulation, but reports error if I do parametric analysis, that is when "Trise_begin" and "Trise_end" are scalars instead of one single number.
My guess was the funtion "integ" could not handle initial/final value as scalars.
Is there any ways I could get away with this issue and have the problem solved?
Any inputs would be greatly appreciated!
WZ
I was building an integral expression to measure power consumption in calculator depends on other expressions:
(integ((v("/Vrfp" ?result "tran") * i("/V0/PLUS" ?result "tran")) Trise_begin Trise_end) / 1e-06)
The initial value "Trise_begin" and final value "Trise_end" are defined as:
"Trise_begin": cross(v("/Din" ?result "tran") 0 -2 "either" nil nil)
"Trise_end": cross(v("/Dout" ?result "tran") 0 -2 "either" nil nil)
This works fine if I am doing one point simulation, but reports error if I do parametric analysis, that is when "Trise_begin" and "Trise_end" are scalars instead of one single number.
My guess was the funtion "integ" could not handle initial/final value as scalars.
Is there any ways I could get away with this issue and have the problem solved?
Any inputs would be greatly appreciated!
WZ