Monte Carlo help
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web cadforums.net
Monte Carlo help

 
Post new topic   Reply to topic    CADForums.net Forum Index -> Cadence
Author Message
James
Guest





Posted: Thu Dec 01, 2005 1:10 am    Post subject: Monte Carlo help Reply with quote

Greetings,

I am running into some trouble running a Monte Carlo simulation. In my
ADE window I have an expression like:
Itot=I1+I2
which depends on expressions I1 and I2:
I1=IT("/n1/D")
I2=IT("/n2/D")
When running a single simulation from the ADE, everything works great.

When I set up a Monte Carlo, the simulations run but I get the
following message (or similar, I am away from my workstation right
now:)
Error evaluating expression xxx

Saving the script, the monteCarlo.ocn file contains lines like:

monteExpr("I1" "(I1=(IT(\"/n1/D\")")))

etc.

It seems like ocean doesn't like these. So my question is, how do I
create a monteExpr that depends on other expressions? The example I
have here is simple and I can put everything in one expressions but my
real problem requires a humongous expression, so this isn't an option.

Any help will be appreciated.

Back to top
Andrew Beckett
Guest





Posted: Thu Dec 01, 2005 1:10 pm    Post subject: Re: Monte Carlo help Reply with quote

Two things:

1. Use i("/n1/D" ?result 'tran) instead of IT(). You should really stick to
OCEAN functions with monte carlo rather than using Artist functions (yes, I know
they _ought_ to work - but in some cases they don't. There's a PCR to make the
older Artist calculator functions like IT, VT, IF, VF etc use OCEAN underneath).
2. These are going to produce waveform data - so I suspect you have specified
them as producing scalar output by mistake. Anything that ends up in the export
statements in the netlist needs to produce a scalar expression - so that it can
record the single value and then produce histogram type information afterwards.
If you want to capture entire waveforms, then you'd need to ask it to "save
family data between runs", and then plot the expressions afterwards.
Only scalar expressions should end up as monteExpr() in OCEAN.

Regards,

Andrew.
Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> Cadence All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server DSP VoIP Electronics New Topics
Contact Us
Powered by phpBB