Graphical Function panel

Use the Graphical Function panel to define a converter or flow as a graphical function.

To view the Graphical Function panel, click the tab at the bottom of the panels. For information about using panels, see Working with panels.

Note: To view the Graphical Function panel, you must be viewing the model on the Model layer and you must select a converter or flow.

Graphical

Select this check box to transform the selected converter or flow into a graphical function.

To delete the graphical function relationship from the entity, clear the Graphical check box.

Graph tab

Use the options on the Graph tab to define the graphical function by drawing a graph of the function.

Grid

Displays the curve for the graphical function.

Tip: You can also edit the input and output values and change the curve by typing new values in the table on the Points tab.

Y-axis minimum and maximum

Specify the Y-axis minimum and maximum values in the two boxes to the left of the graphical function grid.

The values in these boxes set the maximum and minimum value for display of the output entity.

The number in the bottom box (the minimum value) must be less than the number in the top box (the maximum value).

Entity name

The name of the entity for which you are defining the graphical function appears to the left of the graphical function grid.

X-axis minimum and maximum

Specify the X-axis minimum and maximum values in the two boxes beneath the graphical function grid. The number in the box furthest to the left (the minimum value) must be less than the number in the top further to the right (the maximum value).

The values in these boxes set the input range for the graphical function.

The minimum value you enter here becomes the first entry in the left column of the table on the right side of the dialog box.

The maximum value you enter here becomes the last entry in the left column of the table on the Points tab.

Points tab

Use the table on the Points tab to define the graphical function by specifying point values for the function.

Tip: You can also edit the output values by dragging the curve in the grid on the Graph tab.

Data Points

Type the number of data points that the graphical function will contain (you must specify at least two data points). The number you enter here determines the number of points in the graph displayed in the grid on the Graph tab, and the number of rows in the table on the Points tab.

If the graphical function contains more data points than you can easily view on the Graph tab, drag the zoom slider beneath the grid to zoom in and out on the curve. Drag the slider toward the "-" sign to zoom out. Drag the slider toward the "+" sign to zoom in.

If a graphical function contains more data points than you can see at once in the table on the Points tab, scroll bars appear so you can scroll up and down in the table list.

Graph type

Click the appropriate button to select the type of graph type you want to use for the graphical function. The type you select affects the appearance of the graph on the Graphical Function panel. It also tells the software how to calculate values in the function that are not specified by the data points (that is, how to calculate values that are off the graph):

The following picture shows the difference between the same curve graphed as a continuous and as a step graph.

Apply To All

This check box appears if the selected flow or converter has been defined as an arrayed entity.

Note: To create an arrayed flow or converter, select the Arrayed check box on the Array panel for either the stock connected to the flow that you are defining as a graphical function, or for the converter you are defining as a graphical function and selecting one or more dimensions to add to the arrayed entity. To define a graphical function for the arrayed entity select the Graphical check box on the Graphical Function panel.

Selecting the Apply To All check box allows you to define a single graphical relationship that will be applied to all elements within the array. If you clear the Apply to All check box, you must define an individual curve for each element in the arrayed entity.

For more information about defining graphical functions for arrayed entities, see Defining graphical functions.

Concept Link IconSee Also