Node Description

Edit Attributes

The Edit Attributes node provides a simple way to change the value of individual Product Attributes within the Input Product Array. For example, the Edit Attributes node could be used to discount Price, trim Cost, increase Capacity, switch Location, or toggle the Inclusion of one or more Products.

Product Attributes are any Numeric, String, or Boolean value associated with a Product. Editing Attributes can help to analyze a variety of potential market strategies. For example, would it be more profitable to increase Price or decrease Cost? Should vendors invest in expanding their production Capacity? Would Customers respond favorably to smaller Products containing less Volume? How would the Market respond if a Product were to be Out-of-Stock?

Several Edit Attributes nodes can be cascaded one after the other to fine-tune the edited Product Attributes. This allows several concurrent changes to be analyzed together, such as a simultaneous change in both Price and Cost.

See Also: The ‘Edit Attributes’ node is a simplified version of the ‘Scale Products‘ node. It can be used when the set of Products to be edited is well defined and does not have a complex relationship to a Focus Product. And unlike the Scale Products node, this Edit Attributes node can also be used to change the String and Boolean Attributes of Products. The Scale Products node is better suited to analyzing complex relationships between Products, such as the discounting of Products sold by only Top Competitive Rivals.

This Community Node documentation assumes you have already downloaded the open-source KNIME analytics platform and installed the free Market Simulation (Community Edition) plugin. If not, start by returning to Getting Started.

Edit Product Attributes

This workflow upgrades the Spacely Sprockets and Cogswell Cogs Products within the Market from the “Standard” Category to a “Premium” Category. This involves doubling the Price and Cost of these Products, renaming their Category, and selecting them to be Included.

Inputs

Product Array

The set of Products, along with their Attributes, that define the Market. Each row corresponds to a Product that competes for customers in the Market. Each column correponds to an Attribute.

WTP Matrix

The Willingness To Pay (WTP) Customer Distribution matrix for each Product column in the Market by each Virtual Customer row. The total number of Virtual Available Customers is equal to the number of rows in the WTP Matrix. The Input WTP Matrix is required as the Products selected in the ‘Edit Product Set’ are drawn from the column names of the Input WTP Matrix.

Node

Configuration

Select the set of Products from the ‘Input Product Array’ to edit. Only Product names found in the ‘Input WTP Matrix’ are included in this list. The Numeric, String, and Boolean Attributes of these Products can be modified. After these Products have been selected, click on either the Numeric / String / Boolean tab within the Configuration Dialog to select the Attributes to be edited.

Numeric Attributes

Select the set of Numeric Attributes from the ‘Input Product Array’ to edit. Choose the Operator to edit the selected Numeric Attributes. The Fixed Numeric Value in the Configuration Dialog can Set the Attributes by replacing the existing Attribute values. The Fixed Value can also be used to Add or Multiply each existing Attribute value.

String Attributes

Select the set of String Attributes from the ‘Input Product Array’ to edit. Choose the Operator to edit the selected String Attributes. The Fixed String Value in the Configuration Dialog can Set the Attributes by replacing the existing Attribute values. The Fixed Value can also be Appended to the end of the existing Attribute value, or Prepended to the beginning of the existing Attribute value.

Boolean Attributes

Select the set of Boolean Attributes from the ‘Input Product Array’ to edit. Choose the Operator to edit the selected Boolean Attributes. The Fixed Boolean Value in the Configuration Dialog can Set the Attributes by replacing the existing Attribute values. The existing Attribute Value can also be Toggled.

Outputs

Product Array

The Output Product Array is based upon the Input Product Array with modified Attribute values.

WTP Matrix

The Output WTP Matrix is equivalent to the Input WTP Matrix without any changes. The WTP Matrix is simply passed through the node as a convenience.