Viewing and Entering Supply Chain Data

This chapter provides an overview of viewing and entering supply chain data and discusses how to:

Click to jump to parent topicUnderstanding Viewing and Entering Supply Chain Data

This section discusses:

Click to jump to top of pageClick to jump to parent topicSupply Chain Data Fields

Nodes and arcs contain data fields. Data fields provide information about your supply chain, such as:

The solver uses data in nodes and arcs to determine optimal model solutions.

Data fields can have different values in each period of a model. For example, the amount of product demand can be higher in one period than in another.

To view data in a supply chain model, you can query nodes and arcs. You can query nodes and arc data in a single period or in multiple periods simultaneously. You can also display bar charts for node and arc data fields. When you perform a query on a node or arc, a properties window opens.

You can open up to 20 properties windows at a time. In properties windows, data field names followed by a colon indicate that the solver calculates the data field value. In properties windows, fields that are non-editable appear in gray shading. In single-period and multi-period properties, an asterisk (*) appears in any data field with a value of infinity.

Click to jump to top of pageClick to jump to parent topicSingle-Period Properties Windows

Single-period properties windows display data field values for selected nodes and arcs for one period at a time. When you open a single-period properties window, it displays data for the current time period in the model. You can view data for another period by:

Click to jump to top of pageClick to jump to parent topicMulti-Period Properties Windows

Multi-period properties windows display data field values for selected nodes and arcs for multiple periods in one window. Unless you select specific periods, multi-period properties windows display data field values for all periods in a model. A multi-period properties window shows data values for each period in a separate column.

Multi-period properties windows for Process, Separator, and Blender nodes are different than other multi-period properties windows, and show values for a single commodity for all time periods in the model. You can change the commodity in the properties window to view data for another commodity.

Click to jump to top of pageClick to jump to parent topicBar Chart Properties Windows

Bar chart properties windows display values for one data field for a selected node or arc for all time periods in a model.

You can open bar chart properties windows for selected nodes and arcs. Bar chart properties windows display a bar chart for one data field in a node or arc at a time, as shown in the following example. To view data for a different field, you can change the data field in the bar chart properties window.

Controller Multi-Period Barchart properties window

A blue line in a bar chart properties shows minimum, maximum, or safety values for the field. The color of each bar indicates whether the data value violates minimum, maximum, or safety values:

Click to jump to top of pageClick to jump to parent topicSupply Chain Data Entry

To change data in individual nodes and arcs, you can enter numbers and expressions in properties windows. To change data in multiple nodes and arcs, you can enter numbers and expressions in Replace windows. You can also copy data from one period to another.

To enter or change large amounts of data in a model, it might be easier to import the data.

Click to jump to top of pageClick to jump to parent topicData Entry in Individual Nodes or Arcs

To change data in a node or arc, you can query the node or arc and enter numbers or expressions in the properties window. In single-period, multi-period, and bar chart properties windows, you can change data in fields that have a white background. Data in fields that have a gray background cannot be edited.

Click to jump to top of pageClick to jump to parent topicData Entry in Multiple Nodes and Arcs

You can change the data for many nodes and arcs simultaneously using Replace windows. Replace windows contain all of the data fields you can edit for arcs or nodes. You can enter values, functions, expressions, and wildcard characters into a Replace window and apply the changes to all arcs, all nodes, or a specific kind of node. The system applies the changes to the fields where you entered data; values in other fields remain unchanged.

You can use the Name field to temporarily assign the same name to more than one node. However, because you cannot save a model if more than one node has the same name. You must assign different names or revert to previous node names before you finish working with the model.

Names are predefined if you use a User-Defined Data Association Table.

See Also

Changing Multiple Node Names

Click to jump to top of pageClick to jump to parent topicUsing Expressions to Enter Data

Besides entering numbers in node and arc data fields and Replace windows, you can enter expressions. You can also use comparison symbols, such as =, <, >, AND, OR, and XOR.

In properties windows, you can start expressions with comparison symbols. The left-hand side is the implied field name.

When you enter an expression, Strategic Network Optimization immediately calculates, displays, and saves the result; it does not save the expression. Expressions can include any of the following components:

Click to jump to top of pageClick to jump to parent topicData Usage from a Different Time Period

In your expressions, you can specify the period that you want to use relative to the current period. For example, you might want to perform calculations on the data that is two periods ahead of the current period. The following table shows how to use relative periods:

Period

Syntax

Explanation

Current

fieldname:

The usual method; the expression works with the data in the current period.

Previous (relative)

fieldname:-n

The number of periods previous, relative to the current period. For example, Min:-3 means to use the value from the Min field that is three periods before the current period.

Future (relative)

fieldname:n

The number of periods in the future, relative to the current period. For example, Min:3 means to use the value from the Min field that is three periods after the current period.

Specific (absolute)

fieldname:#n

The specific periods to use, regardless of the current period. For example, Min:#3 means to use the value from the Min field in the third period (the first period in your model is numbered 1).

You can also use comparison symbols, such as =, <, >, AND, OR, and XOR.

In match and properties windows, you can start an expression with a comparison symbol. The left side is the implied field name.

If an expression uses data from a period before the first period, it uses the data from the first period. If it specifies to use data from a period after the last period in the model, it uses the data in the last period.

You can also do range substitution in Find and Report patterns. Consider these examples:

This example finds periods 3 to the end of the horizon:

This example finds relative periods 4 and 5, periods 1 to 3, and relative periods 7 to 9:

Period: 'Period:4,5,#1..3,7..9'

See Also

Viewing Models in Flow View

Click to jump to parent topicOpening Data in Selected Nodes and Arcs

This section discusses how to:

Click to jump to top of pageClick to jump to parent topicWindows Used to Open Data in Selected Nodes and Arcs

Window Name

Navigation

Usage

Single-Period Properties

Query, Single-Period Properties

Display data field values for selected nodes and arcs for one period at a time.

Multi-Period Properties

Query, Multi-Period Properties

Display data field values for selected nodes and arcs for multiple periods in a one window.

Bar Chart Properties

Query, Bar Chart Properties

Display data field values for a selected node or arc for all time periods in a bar chart format.

Sets

Tools, Sets

Query a set of nodes and arcs.

View Options

Options, View

Change view options for properties windows, such as the number of decimal places.

Node Browser

Query, Node Browser

View a node's data field values.

Click to jump to top of pageClick to jump to parent topicOpening Single-Period Properties Windows

Access the Single-Period Properties window.

To open a single-period properties window:

  1. Select one of the following:

  2. To view data for another period, select a period tab at the bottom of the properties window.

    Note. Period tabs appear only for Process, Blender, and Separator nodes that have attach points.

Click to jump to top of pageClick to jump to parent topicOpening Multi-Period Properties Windows

Access the Multi-Period Properties window.

To open a multi-period properties window, select one of the following:

If you queried a Process, Separator, or Blender node, you can view data for another commodity in the Multi-Period Properties window by clicking a commodity tab at the bottom of the window.

Click to jump to top of pageClick to jump to parent topicOpening Bar Chart Properties Windows

Access the Bar Chart Properties window.

To open a bar chart properties window, select one of the following:

To change the field displayed in the bar chart, click Display Field and select a field from the drop-down list box.

Click to jump to top of pageClick to jump to parent topicClosing All Properties Windows

To close all properties windows, from the Query menu, select Close All Properties.

Click to jump to top of pageClick to jump to parent topicQuerying Sets of Nodes and Arcs

Access the Sets window.

Instead of querying selected nodes and arcs, you can query sets of nodes and arcs. You can open single-period, multi-period, and multi-period bar chart queries for nodes, arcs, or all elements in a set. Querying sets can be useful for viewing Over, Under, Over or Under, Backorder, or Infeasible sets created during a solve.

To query sets of nodes and arcs:

  1. Click a Set type and select a set type from the drop-down list box.

  2. In the Sets area, select a set.

  3. From the Query Set menu, select a single-period, multi-period, or multi-period bar chart query.

Click to jump to top of pageClick to jump to parent topicChanging Properties Window Options

In properties windows, you can specify the number of decimal places shown for data, set distances to be displayed in miles or kilometers, and change commodity labels.

This section discusses how to:

Changing the Number of Decimal Places

Access the View Options window.

You can specify the number of decimal places shown for data in properties windows. The number of decimal places is called the display precision. The display precision is saved routinely when you save a model. Changing the display precision does not change the actual data values saved in a model.

The display precision can affect results when you match data. For example, if the display precision is 2, a Machine node Utilization field with a value of 133.333333 displays 133.33. If you try to match Machine nodes with a Utilization field value of 133.33, the Machine node in this example is not matched because its actual value is 133.333333.

To change the number of decimal places:

  1. Select the Display tab.

  2. On the Display tab, enter the number of decimal points you want to view in the Display Precision field.

  3. Click Apply.

Viewing Distances Between Nodes

Strategic Network Optimization automatically calculates distances between facilities based on the Longitude and Latitude values of nodes. The system calculates direct distances between nodes and does not take into account actual travel routes between facilities.

The distance between nodes on a geographic map appears in the Distance field of the arc that connects two nodes. By default, the distance appears in kilometers in properties windows. You can also display arc distance in miles.

To view the distance between nodes:

  1. Select the arc connecting the nodes that you want to determine the distance between.

  2. Access the Single-Period Properties window.

  3. Click Arcs.

    In the Arc Single-Period window, the Distance field displays the distance between the facilities. By default, the distance is displayed in kilometers.

Displaying Arc Distance in Miles

Access the View Options window.

To display arc distance in miles:

  1. Click the Arcs tab.

  2. On the Arcs tab, select the Arc Distance in Miles option.

  3. Click Apply.

Changing Commodity Labels

Access the View Options window.

You can specify whether to display commodity names, descriptions, or families in Commodity fields in properties windows. Your commodity label choice is in effect only until you open another model. At that time, it resets to the default: Name only. When you save a model, the system does not save the option that you select, and the commodity label option is not part of views.

To change commodity labels:

  1. Select the Display tab.

  2. On the Display tab, select the Commodities Display field and select an option from the drop-down list box.

  3. Click Apply.

Browsing Node Data

Access the Node Browser.

To quickly view a node's data field values, you can browse the node. You cannot browse arc data.

To browse node data, point to the node for which you want to see data.

The node data field names and values appear in the Node Browser.

Click to jump to parent topicEntering Supply Chain Data

This section provides an overview of supply chain data entry and discusses how to:

Click to jump to top of pageClick to jump to parent topicWindows Used to Enter Supply Chain Data

Window Name

Navigation

Usage

Single-Period Properties

Query, Single-Period Properties

Display data field values for selected nodes and arcs for one period at a time.

Multi-Period Properties

Query, Multi-Period Properties

Display data field values for selected nodes and arcs for multiple periods in a one window.

Bar Chart Properties

Query, Bar Chart Properties

Display data field values for a selected node or arc for all time periods in a bar chart format.

Sets

Tools, Sets

Query a set of nodes and arcs.

Replace

Edit, Replace

Replace data in a set.

Periods

Tools, Periods

Copy data from one period to another.

Click to jump to top of pageClick to jump to parent topicEntering Data in a Node or Arc

To enter data in a node or arc:

  1. In the drawing space, select the node or arc for which you want to enter data.

  2. From the Query menu, select single period, multi period, or bar chart properties.

  3. Enter the data field value that you want to change:

  4. If the field is a fix field, select Yes or No from the shortcut menu.

  5. If the field is a name or numeric field, enter a number or expression.

    The system saves the value when you move the pointer out of the field.

Click to jump to top of pageClick to jump to parent topicReplacing Data in Selected or Found Nodes and Arcs

Access the Replace window.

To replace data in selected or found nodes and arcs:

  1. Select a change option.

  2. Select the numbers or expressions in the fields that you want to change.

  3. In the Period(s) area of the Replace window, select either All or Current.

  4. In the Replace in area of the Replace window, select Selected Nodes.

  5. Click Replace.

Click to jump to top of pageClick to jump to parent topicChanging Multiple Node Names

Access the Replace window.

You can change the names of multiple nodes in a model using the Substitute command in Replace windows. The Substitute command replaces a name or part of a name with new characters. For example, if node names begin with the letters ZZ, you can change them to start with the letters YY by typing the following command in the Name field of a Replace window:

s/ZZ/YY/

When you apply this change, the system finds all Machine nodes with the pattern ZZ and changes them to YY.

If some node names end with the pattern _123, you could remove the _123 by typing the following command in the Name field of a Replace window:

s/_*//

The command finds all of the nodes with names containing an underscore followed by other characters, and replaces the underscore and the following characters with nothing. In effect, this action deletes the underscore and characters.

To replace multiple node names for selected nodes:

  1. Select or find the nodes or arcs that you want to replace.

  2. Do one of the following:

  3. Enter the following command in the Name field:

    s/pattern/new_pattern/

    where

  4. In the Replace in area of the Replace window, select Selected Nodes.

  5. Click the Replace button.

To replace multiple node names for all node types in the model:

  1. From the Edit menu, select Replace, and then select Node (all Types).

  2. Enter the following command in the Name field:

    s/pattern/new_pattern/

    where

  3. In the Replace in area of the Replace window, select Model.

  4. Click the Replace button.

Click to jump to top of pageClick to jump to parent topicCopying Data from One Period to Another

You can copy data in selected nodes and arcs in one time period to the same nodes and arcs in another time period. When you copy data to nodes and arcs in a period, all existing data in the nodes and arcs is overwritten.

To copy data from one period to another:

  1. Select the nodes and arcs with data that you want to copy.

  2. Access the Periods window.

  3. Click the Copy Selected Data button.

  4. In the Copy Selected Data window, select the period with data that you want to copy in the From Period area.

  5. In the To Period area, select the period or periods with data that you want to overwrite.

  6. Click Copy.

Click to jump to parent topicHiding and Showing Fields in Properties Windows

This section provides an overview of hiding and showing fields in properties windows and discusses how to:

Click to jump to top of pageClick to jump to parent topicUnderstanding Hiding and Showing Fields in Properties Windows

You can use the Show/Hide Fields window to hide or show fields in properties windows for all node types, arcs, and periods. If you display all of the data fields when you query nodes and arcs, finding the information that you want can be difficult. By choosing which fields to display in properties windows, you can hide fields that you do not use in the model and display only the information that is relevant to the model.

After you specify which fields to hide, the properties windows that you open display only those fields that you want to view. Any properties windows that were open before you specify the fields to hide automatically update once you apply your changes.

The changes that you make in the Show/Hide Fields window also affect the Find and Replace templates. Fields that you hide using the Show/Hide Fields window are not displayed in the Find and Replace templates. However, all fields remain displayed in report queries.

You can select which periods to display in multi-period properties and bar charts by using the Periods tab, and you can select to hide all but one period. Hiding periods has no impact on the model itself or in single-period properties.

Once you have defined the periods and fields that you want to display, you can save customized queries as views using the User Defined option under the View menu. When you save the model, the views that you have defined are saved as well. When you save a view showing selected fields, only these fields are displayed the next time that you open the model.

Click to jump to top of pageClick to jump to parent topicWindow Used to Hide and Show Fields in Properties Windows

Window Name

Navigation

Usage

Show/Hide Fields

Query, Show/Hide Fields

or by clicking the Show/Hide Fields button on any properties window.

Hide or show fields in properties windows.

Click to jump to top of pageClick to jump to parent topicHiding Fields in Node Properties Windows

Access the Show/Hide Fields window.

You can use the Show/Hide Fields window to hide fields that you do not use in the model.

To hide fields in node properties windows:

  1. Select the Nodes tab to display nodes used in the model.

  2. On the Nodes tab, select a node type from the Node Type drop-down list box.

    Only the nodes that are used in the model appear in the Node Type drop-down list.

  3. In the list of shown fields, select the fields that you want to hide, and click the -> button.

    The fields move to the list of hidden fields.

  4. Click OK.

  5. To select multiple fields, press Ctrl or Shift while clicking fields.

    Note. When using the Show/Hide Fields window, period dependent fields in Controller and ControllerSingle nodes are linked. For example, if you hide the Periods to Delay field in the Controller node, Periods to Delay are also hidden in the ControllerSingle node.

Click to jump to top of pageClick to jump to parent topicShowing Fields That Are Currently Hidden

Access the Show/Hide Fields window.

To show fields that are currently hidden:

  1. Select the Nodes tab.

  2. On the Nodes tab, select a node type from the Node Type drop-down list box.

    Only the nodes that are used in the model appear in the Node Type drop-down list.

  3. Select the fields that you want to show from the list of hidden fields, and click the <- button.

    The fields move to the list of shown fields.

  4. Click OK.

    Note. You cannot display the Revenue and Cost fields in properties windows at the same time, although you can select to hide both of these fields at the same time.

    By default, the Revenue and Revenue in Currency fields appear in the list of hidden fields.

  5. To show the Revenue and Revenue in Currency fields, select the Cost and Cost in Currency fields from the list of shown fields and click the -> button.

  6. To select the Revenue and Revenue in Currency fields from the list of hidden fields, and then click the <- button.

  7. Click OK.

Click to jump to top of pageClick to jump to parent topicHiding Fields in Arc Properties Windows

Access the Show/Hide Fields window.

To hide fields in arc properties windows:

  1. Select the Arcs tab.

  2. On the Arcs tab, select the field or fields that you want to hide from the list of shown fields, and click the -> button.

    The fields move to the list of hidden fields.

  3. To select multiple fields, press Ctrl or Shift while clicking fields.

    Note. In arcs, you must display at least one of the following fields: Name, Commodity, From, To, Distance, Map Arc Color, Currency.

  4. Click OK.

Click to jump to top of pageClick to jump to parent topicShowing Fields in the Arc Properties Windows

Access the Show/Hide Fields window.

To show fields in the arc properties windows:

  1. Select the Arcs tab.

  2. Select the fields that you want to show from the list of hidden fields, and click the <- button.

    The fields move to the list of shown fields.

  3. Click OK.

    Note. You cannot display the Revenue and Cost fields in properties windows at the same time, although you can select to hide both of these fields at the same time.

    By default, the Revenue and Revenue in Currency fields appear in the list of hidden fields.

  4. To show the Revenue and Revenue in Currency fields, select the Cost and Cost in Currency fields from the list of shown fields and click the -> button.

  5. To select the Revenue and Revenue in Currency fields from the list of hidden fields, and then click the <- button.

  6. Click OK.

Click to jump to top of pageClick to jump to parent topicHiding Periods in Multi-Period and Bar Chart Properties Windows

Access the Show/Hide Fields window.

To hide periods in multi-period properties windows:

  1. Select the Periods tab.

  2. On the Periods tab, select the periods that you want to hide from the list of shown periods, and click the -> button.

    The periods move to the list of hidden periods.

  3. To select multiple periods, press Ctrl or Shift while clicking periods.

    Note. You cannot hide all periods. At least one period must remain in the list of visible periods. The periods are hidden in the multi-period query and bar chart, but not in the model itself or in single-period queries.

  4. Click OK.

Click to jump to top of pageClick to jump to parent topicShowing Periods in Properties Windows

Access the Show/Hide Fields window.

To show periods in properties windows:

  1. Select the Periods tab.

  2. Select the period or periods that you want to show from the list of hidden periods, and click the <- button.

    The periods move to the list of displayed periods.

  3. Click OK.