Center of Gravity Plus (Lat, Lon)

This node can be used to calculate the optimal weighted centers of your customers. You can adjust the importance of the three criterias: weight, volume and revenue in the parameter section. In general, the absolute height of values in a column (weight, volume, revenue) has no influence on their absolute importance (regarding the other criterias). Optimization target is to minimize the weighted distances.
You can use this node to get an indication where should search for new warehouses hubs, distribution centers etc.
For this node one input table is needed. The table should contain all location coordinates, for which a center of gravity should be calculated. A location could be for example a customer, supplier, production plant or something else. Please specify the overall number of centers, distance unit, importance weight, volume and revenue in the configuration dialogue.

In case input and output data need to be saved on the Log-hub Platform, please set save scenario flag to true, fill the workspace id for the workspace in which the scenario should be saved, and give name to the scenario. In case existing scenario should be overwritten, set the overwrite scenario flag also to true, otherwise leave to false.

To use this node you need an API Key from Log-hub Supply Chain Apps. This key you can generate with an Supply Chain Apps Pro Account. More information you can find on www.log-hub.com.

Log-hub video for API key generation:https://www.youtube.com/watch?v=FZgOn1IZ1Bk&t=255s

Options

Customer Name
Please select the customer name column
Customer Latitude*
Please select the customer latitude column
Customer Longitude*
Please select the customer longitude column
Customer Weight*
Please select the customer weight column
Customer Volume*
Please select the customer volume column
Customer Revenue*
Please select the customer revenue column
Number of Centers
Please specify the required number of centers
Importance Weight
Enter the importance of weight
Importance Volume
Enter the importance of volume
Importance Revenue
Enter the importance of revenue
Distance Unit
Please select the distance unit
Save Scenario (Save Scenario on Platform)
In order to save scenario on the Log-hub Platform, set the parameter to true
Overwrite Scenario (Save Scenario on Platform)
In order to overwrite existing scenario on Log-hub Platform, set the parameter to true
Log-hub API Key
Please enter here the API Key from Log-hub.
Workspace Id - workspace where Scenario should be saved (Save Scenario on Platform)
Please enter here the workspace id in which you want to save scenario
Scenario Name (Save Scenario on Platform)
Please enter scenario name

Input Ports

Icon
The customer input needs to contain the name, latitude, longitude, weight, volume and revenue of a customer. The mandatory fields are latitude, longitude, weight, volume and revenue. Please map the fields accordingly in the configuration.

Output Ports

Icon
The customer output contains all customer input columns plus the name, number, longitude and latitude of the assigned center, and the distance between the center and the customer.
Icon
The center output contains the calculated location of the new centers, and their weight, volume and revenue.

Nodes

Extensions

Links