.MEASURE

59 views
Skip to first unread message

Roshni Uppala

unread,
Jun 4, 2014, 11:38:17 AM6/4/14
to xyce-...@googlegroups.com
Is there a way to measure the voltage at a particular time instant ?

Like using FIND and AT ? I tried using when  - it doesnot give the value but returns the time as stated in the manual; find and at- returns '-1' and this is not specified in the manual. 

Also is -1  a default value for .MEASURE in xyce ?

Roshni Uppala

unread,
Jun 4, 2014, 12:10:43 PM6/4/14
to XYCE, xyce-...@googlegroups.com
Yup that works when I donot use e- powers !

This works .MEASURE TRAN myResult EQN {V(1)} FROM=99n TO=100n

Thank you.


On Wed, Jun 4, 2014 at 11:49 AM, XYCE <XY...@sandia.gov> wrote:

Roshni,

The return value of “-1” is the default value and it indicates that the conditions for finding a given value were not found during the simulation.  The default value is settable by the user with the option "DEFAULT_VAL=xxx” on the measure line.

As for finding a value at a specific time, that’s a good question.  You should be able to do this:

.measure tran myResult EQN {v(the_node_you_want_to_measure)} from=time_of_Interest to=time_of_interest_some_some_small_dt

as in

.measure tran myResult EQN (v(1) from=1.0e-3 to=1.1e-3.

Good Luck

Is there a way to measure the voltage at a particular time instant ?

Like using FIND and AT ? I tried using when  - it doesnot give the value but returns the time as stated in the manual; find and at- returns '-1' and this is not specified in the manual. 

Also is -1  a default value for .MEASURE in xyce ?


--
You received this message because you are subscribed to the Google Groups "xyce-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xyce-users+...@googlegroups.com.

To post to this group, send email to xyce-...@googlegroups.com.
Visit this group at http://groups.google.com/group/xyce-users.
For more options, visit https://groups.google.com/d/optout.


Roshni Uppala

unread,
Jun 19, 2014, 8:06:38 PM6/19/14
to xyce-...@googlegroups.com, XY...@sandia.gov

When I use the above .MEASURE statement and use FROM =65n TO=70n , does it mean that Xyce will measure the highest value obtained in that time ? Or what value does it produce ?

I am trying to measure the output of a comparator !

Thanks


On Wednesday, June 4, 2014 12:10:43 PM UTC-4, Roshni Uppala wrote:
Yup that works when I donot use e- powers !

This works .MEASURE TRAN myResult EQN {V(1)} FROM=99n TO=100n

Thank you.
On Wed, Jun 4, 2014 at 11:49 AM, XYCE <XY...@sandia.gov> wrote:
Roshni,

The return value of “-1” is the default value and it indicates that the conditions for finding a given value were not found during the simulation.  The default value is settable by the user with the option "DEFAULT_VAL=xxx” on the measure line.

As for finding a value at a specific time, that’s a good question.  You should be able to do this:

.measure tran myResult EQN {v(the_node_you_want_to_measure)} from=time_of_Interest to=time_of_interest_some_some_small_dt

as in

.measure tran myResult EQN (v(1) from=1.0e-3 to=1.1e-3.

Good Luck

Is there a way to measure the voltage at a particular time instant ?

Like using FIND and AT ? I tried using when  - it doesnot give the value but returns the time as stated in the manual; find and at- returns '-1' and this is not specified in the manual. 

Also is -1  a default value for .MEASURE in xyce ?


--
You received this message because you are subscribed to the Google Groups "xyce-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xyce-users+unsubscribe@googlegroups.com.

XYCE

unread,
Jun 23, 2014, 11:20:09 AM6/23/14
to Roshni Uppala, xyce-...@googlegroups.com

Roshni,


When I use the above .MEASURE statement and use FROM =65n TO=70n , does it mean that Xyce will measure the highest value obtained in that time ? Or what value does it produce ?


Yes, the “FROM” and “TO” qualifiers limit the time window where Xyce will attempt to complete a measure function.  If the simulation does not get to the that time window, then the measure function will not complete and it will have the default value (which is “-1”).   So, some care must be taken in setting the FROM / TO qualifiers.

Thanks

Xyce-Team
Reply all
Reply to author
Forward
0 new messages