Data File Format

 

The File Read component allows you to read up to 11 data signals (columns in the data file) simultaneously.  The data file itself must conform to certain structured format.

 

An example data file is given below for a 4 signal data file (first column is time):

 

 

! The first line must be either blank OR a comment as shown here.

  0.0000000E+00  0.0000000E+00  0.0000000E+00  0.0000000E+00

  1.0000000E-03   2.828947      0.2618097      0.1476223    

  2.0000001E-03   4.408800       1.089826      0.3367114    

  3.0000000E-03   4.545383       2.462704      0.5100455    

  4.0000002E-03   3.334809       4.172538      0.6182301    

  5.0000004E-03   1.110011       5.889144      0.6278525    

  6.0000005E-03  -1.639397       7.239620      0.5262269    

  7.0000007E-03  -4.360832       7.888721      0.3224114    

  8.0000004E-03  -6.532493       7.607064      4.4689782E-02

  9.0000005E-03  -7.744767       6.317216     -0.2648376    

  1.0000001E-02  -7.759348       4.111763     -0.5575674    

  1.1000001E-02  -6.539557       1.242012     -0.7864339    

  1.2000001E-02  -4.249408      -1.919620     -0.9134614    

  1.3000001E-02  -1.223144      -4.936765     -0.9157405    

  1.4000001E-02   2.089199      -7.376456     -0.7890044    

  1.5000002E-02   5.191667      -8.876119     -0.5483486    

  1.6000001E-02   7.617365      -9.200063     -0.2260490    

  1.7000001E-02   8.997789      -8.277058      0.1331513    

  1.8000001E-02   9.116805      -6.213536      0.4785683    

  1.9000001E-02   7.941910      -3.280582      0.7609522    

  2.0000001E-02   5.628680      0.1233175      0.9396424    

 

 

NOTE:  The first data point in the file must correspond to time t = 0.0 (TIMEZERO) of the simulation.

End of File

The File Read component provides three options for what to do once the end of the data file is reached:

 

Related Topics