SMS:XY Series Files: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
Line 109: Line 109:


{{Template:Navbox SMS}}
{{Template:Navbox SMS}}
[[Category:SMS File Formats|X]]

Revision as of 17:01, 4 February 2014

XY Series Files (*.xys)

The XY Series Editor is used to define x, y series data curves. These data curves can then be used to define such things as:

  • Time dependent boundary conditions
  • Rating curves

XY Series Files

XY Series files are imported and exported through the XY Series Editor.

XYS Format

Line 1  – XYS file identifier, Curve ID, Number of Points, and Curve Name.
Line 2+ – X Value, Y Value (one pair per line)

Sample File

XYS 1 5 Head
0.0 0.0
1.0 2.0
2.0 7.0
3.0 8.0
4.0 9.5

XY1 Format – Discontinued Format

Both the x and y values are listed for each point on the curve. There is no limit to the spacing or interval used between subsequent x values.

Line 1  – XY1 file identifier, Curve ID, Number of Points, Delta X (not used), Delta Y (not used), Repeat (not used), Begin X Cycle (not used), and Curve Name.
Line 2+ – X Value, Y Value (one pair per line)

Sample File

XY1 1 5 0 0 0 0 Head
0.0 0.0
1.0 2.0
2.0 7.0
3.0 8.0
4.0 9.5

XY2 Format – Discontinued Format

Identical to the XY1 card except that the number of points and the x values are assumed to be static and cannot be altered by the user.

Line 1  – XY2 file identifier, Curve ID, Number of Points, Delta X (not used), Delta Y (not used), Repeat (not used), Begin X Cycle (not used), and Curve Name.
Line 2+ – X Value, Y Value (one pair per line)

Sample File

XY2 1 5 0 0 0 0 Head
0.0 0.0
1.0 2.0
2.0 7.0
3.0 8.0
4.0 9.5

XY3 Format – Discontinued Format

The x values are defined by a beginning x value, an increment in x, and a percent change in x per increment (applied after adding the increment). Only the y values are explicitly listed. The x-values are calculated by starting with the Initial X value given and recursively adding the X Increment and then multiplying by the X Percent Change.

Line 1  – XY3 file identifier, Curve ID, Number of Points, Initial X, X Increment, X Percent Change, Delta X (not used), Delta Y  (not used), Repeat (not used), Begin X Cycle (not used), and Curve Name.
Line 2+ – X Value, Y Value (one pair per line)

Sample File

XY3 1 5 0.0 2 10.0 0 0 0 0 Head
0.0
2.0
7.0
8.0
9.5

Related Topics

File Formats