When defining a steady state function from file, the Steady State Function Definition form has the following areas:
Function name edit box. Specify the name of the function.
Function File area. Click on the Browse button to display the Pick Function Data File form and select the name of the text file that includes the steady-state function data. The name of the selected file will appear in the File Name display box. Click the View File button to display the selected file in text format in WordPad.
Typically, the program does not import the file into its database. It simply maintains a link to the file location. Thus, if the steady-state function file or the .SDB file is moved to another location, the program may be unable to locate the function file. If you click the Convert to User Defined button, the program imports the function into its database file and the data will always be available to your model. Do not click the Convert to User Defined button until all information in the Function File, Values are and Format type areas has been specified.
Header Lines to Skip edit box, Prefix Characters per Line to Skip edit box, and Number of Points per Line edit box. Note that when reading the function file, the program skips the number of lines at the top of the file indicated in the Header Lines to Skip edit box. It also skips the number of characters at the beginning of each line specified in the Prefix Characters per Line to Skip edit box. The Number of Points per Line edit box tells the program how many function values or pairs of frequency and function values are specified on each line. Additional data on each line will be ignored. Thus, the program reads the file as follows:
First, the program skips the specified number of header lines.
Next, the program checks to see if a line has a $ symbol as the first character. If it does, the program skips to the next line.
If a $ symbol is not the first character on the line, the program reads the information on the line, skipping the specified number of characters at the beginning of the line.
If the line is blank or if the end of the file is reached, the program stops reading and closes the file.
Values are area. Specify that the text file contains pairs of Frequency and Function Values or Values at Equal Intervals of (i.e., only function values that are spaced at equal frequency intervals). If the Values at Equal Intervals of option is selected, use the edit box to specify the equal frequency interval.
Format type options. The format type can be specified as Free Format or Fixed Format. In free format, items on the lines can be separated by spaces or tabs. If the fixed format type is chosen, also specify the number of characters per item. Each item on a line is assigned the same number of character spaces. The program begins counting the spaces after it skips the number of prefix characters specified in the Function File area.
Frequency Units options. Choose that the frequency data in the file be given in Hz (cycles per second) or RPM (cycles per minute). Internally, the program always uses Hz, and results are reported in Hz.
Function graph area. This area displays a graph of the function. First specify all of the data in the Function File, Values are and Format Type areas. Then click the Display Graph button in the Function Graph area of the form to display the graph of the function.
Run the mouse pointer over the function graph and a dot appears along the line representing the function. The coordinates of the dot are reported in the box just below the graph.
Access the Steady State Function Definition form for a Function from File as follows:
Click the Define menu > Functions > Define Power Steady State command to display the Define Steady State Functions form. Then do one of the following:
|