10.06.2016 Views

eldo_user

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Running Parametric Analyses<br />

.DATA Parameter Sweeps Examples<br />

.DATA Parameter Sweeps Examples<br />

The .DATA command simultaneously defines a set of parameters. For example:<br />

.TRAN 1n 10n SWEEP DATA=datatran<br />

.DATA datatran p1 p2 p3<br />

+ 1.0 3.0 4.0<br />

+ 2.0 5.0 7.0<br />

.ENDDATA<br />

Here follow some examples of specifying multiple external files to be processed either<br />

sequentially or in parallel:<br />

.data example1 MERGE<br />

+ file=data1.inc col1=3 col2=2<br />

+ file=data2.inc colA=1 colB=3<br />

+ out=example1.inc<br />

.enddata<br />

After the first file name, the names of the columns to be created and the index where the data<br />

comes from are specified. The resulting .DATA is created using the merge of the two files:<br />

1 2 3<br />

4 5 6<br />

7 8 9<br />

10 20 30<br />

40 50 60<br />

70 80 90<br />

The specification col1=3 col2=2 and colA=1 colB=3 literally means: the first column is named<br />

col1 and its values come from the third column of merged files; the second column is named<br />

col2 and its values come from the second column of merged files. The resulting .DATA will be:<br />

.DATA example1<br />

+ col1 col2 colA colB<br />

+ 3 2 1 3<br />

+ 6 5 4 6<br />

+ 9 8 7 9<br />

+ 30 20 10 30<br />

+ 60 50 40 60<br />

+ 90 80 70 90<br />

.enddata<br />

The following example shows the LAMINATED specification for processing in parallel:<br />

.data example2 LAM<br />

+ file=data1.inc col1=3 col2=2<br />

+ file=data2.inc colA=1 colB=3<br />

+ out=example2.inc<br />

.enddata<br />

296<br />

Eldo® User's Manual, 15.3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!