Sabyasachi
Guest
Fri Nov 13, 2009 10:16 pm
Hi all
How can I save the different iteration values of Monte carlo
Simulation ?
I am using iterVsValue( "BW_27" ) in my oceanscript to
print iteration values in UNIX prompt. ( Using ocean script from UNIX
prompt)
In Monte Carlo simulation can I define my Parameter Values as
statistical values like
W=5u
statistics{
process{ vary W dist=gauss sd=0.5U }
}
Cheers !!!!!!!!!
Sabyasachi
Andrew Beckett
Guest
Mon Nov 23, 2009 3:40 pm
Sabyasachi wrote, on 11/13/09 20:16:
Quote:
Hi all
How can I save the different iteration values of Monte carlo
Simulation ?
I am using iterVsValue( "BW_27" ) in my oceanscript to
print iteration values in UNIX prompt. ( Using ocean script from UNIX
prompt)
In Monte Carlo simulation can I define my Parameter Values as
statistical values like
W=5u
statistics{
process{ vary W dist=gauss sd=0.5U }
}
Cheers !!!!!!!!!
Sabyasachi
Hi Sabyasachi,
Are you just trying to get the iterVsValue() output to a file? If so, perhaps
you just want something like this:
procedure(ABiterVsValue(@key (output poport) @rest args)
let(((poport output))
apply('iterVsValue args)
)
)
and then use:
myOut=outfile("./myOutput.txt")
ABiterVsValue("BW_27" ?output myOut)
close(myOut)
Note I've not tried this at all - it's off the top of my head, but it's similar
to a workaround I give in the Cadence OCEAN training class.
Or look at the code (abStats.il) in Cadence Online Support solution 11026072
Regards,
Andrew.