KNIME Nodes

Data Generation with Flow Variables

It is typical for most Market Simulation workflows to generate input data in a single pass.

While the Matrix Distributions node can only generate correlated Normal Distributions, the Customer Distributions node can generate many different, albeit uncorrelated, Distributions. Both nodes can simultaneously generate many columns of data, and both can be directly used as the Input Willingness To Pay (WTP) Matrix.

But even more complicated and exotic Customer Distributions can be generated using a KNIME Loop and Flow Variables.

In this workflow, seven (7) Sub-Distributions are defined in a list. Each of these Sub-Distributions is then generated, one-by-one, in a loop. Finally, all Sub-Distributions are concatenated vertically in a column as a single Customer Distribution.

This KNIME Node Use Case provides an example of a useful KNIME workflow. These workflows do not depend upon Market Simulation but can supplement a Market Simulation workflow. If you have not yet installed KNIME, go to Getting Started.

Exotic Distribution

This workflow demonstrates how complicated and exotic Customer Distributions can be generated with a Loop and Flow Variables. Here, seven (7) Sub-Distributions are defined in a list and then generated one-by-one in a loop. Each Sub-Distribution is then concatenated together into a single Customer Distribution.

Table Creator

Create a list of 7 Sub-Distributions – each generating 500 to 2000 rows.

Chuck Loop Start

Each Sub-Distribution row is taken one-by-one by the Loop Start.

Flow Variables

The Sub-Distribution row is then converted into a set of Flow Variables.

Customer Distributions

Flow Variables override the settings in the Customer Distributions node.

Name Column

The Constant Value node also uses a Flow Variable to set the row Name.

Data Generated

The Loop End node concatenates the results from each Loop Iteration.

Final Customer Distributions

The seven (7) Sub-Distributions combine to form an exotic Customer Distribution.