Workflow Overview
The workflowĀ BB-122 introduced Meta-Nodes and Flow Variables, as well as showed how inner-loops work with outer-loops. But the results from workflowĀ BB-122 were uninteresting because of the unrealistic commodity Product sold by both Competitors.
The results from this workflow are more interesting because:
- Orthogonal Products: Spacely Sprockets and Cogswell Cogs are each selling a highly unique and differentiated Product.
- Different Goals: The two Competitors are working towards different goals. Spacely Sprockets is trying to maximize Revenue, while Cogswell Cogs is trying to maximize Profit.
This Building Blocks example 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.
Downloads
Revenue vs. Profit
The outer-loop starts by optimizing the first Competitor, Spacely Sprockets, then moves on to optimize the second Competitor, Cogswell Cogs.
The inner-loops work to find a short-term optimization point for each Competitor.
For Spacely Sprockets, the inner-loop checks whether raising or lowering the Price by 5% will increase Revenue. The Loop continues until no further improvement is possible.
For Cogswell Cogs, the inner-loop similarly checks whether raising or lowering the Price by 5% will increase Profit.
The Prices from both inner-loops are then pushed out into the Market. The outer-loop continues the process for 10 iterations until steady-state Market conditions are found.

Product

Differentiation
Configuration
The WTP Customer Distributions for both Spacely Sprockets and Cogswell Cogs can be plotted on overlapping histograms.
Histograms
Spacely Sprockets is the green histogram. Cogswell Cogs is the blue histogram with the same average WTP. The red histogram equals the difference between the two (green minus blue).

Simulate Market
Starting Conditions
The Simulate Market node calculates the starting Quantity, Revenue, and Profitability of both Products.

Outer Loop
Next Iteration
It takes the outer-loop 4 iterations to find steady-state Prices for both Competitors.

Meta-Node #1
Inner Loop #1
The Spacely Sprockets Meta-Node contains the same loop from the workflow BB-121 Monopoly Optimization Loop.

Quick-Form
Adjustment
This Quick-Form allows the user to set theĀ number of ‘Inner Loop Iterations’. It is set to 5 iterations by default, requiring a minimum of 1 iteration and a maximum of 100 iterations.
View
The value of Flow Variables can be seen in the ‘Flow Variables’ tab from within any output table. The two Quick-Forms set the Price Experiment Adjustment Flow VariableĀ and the Inner Loop Iterations Flow Variable.

Optimize What?

Alternative

Meta-Node #2
Inner Loop #2
The Cogswell Cogs Meta-Node also contains nearly the same loop from the workflow BB-121 Monopoly Optimization Loop.
Trends

Demand Curves
Strategy #1
Spacely Sprockets is maximizing Revenue but the Price they set of $77.00 is well below their Profit Maximizing Price.
Strategy #2
Cogswell Cogs has reacted to Spacely Sprockets Price and has settled on a Profit Maximizing Price of $99.51.