Fixed Center of Gravity (Lat, Lon)

This node can be used to calculate the optimal weighted centers of your customers based on already existing center locations. You can use this node to get an indication where to search for new warehouses hubs, distribution centers, etc. Comparing results, the analysis shows the saving potential by moving existing centers, as well.
For this node two input tables are needed. The first table should contain all location coordinates, for which a fixed center of gravity should be calculated. A location could be for example a customer, supplier, production plant or something else.The second table should contain all fixed center location coordinates, that you want to be taken into account. A location should be name and coordinates of existing center that you already have. If you don't fill fixed centers table then the standard center of gravity will be calculated.
Please specify the overall number of centers and distance unit in the configuration dialogue.
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
Center Name*
Please select the center name column
Center Latitude*
Please select the center latitude column
Center Longitude*
Please select the center longitude column
Number of Centers
Please specify the required number of centers
Distance Unit
Please select the distance unit
Log-hub API Key
Please enter here the API Key from Log-hub.

Input Ports

Icon
The customer input needs to contain the name, latitude, longitude and weight of a customer. All columns are mandatory. Please map the fields accordingly in the configuration.
Icon
The center input needs to contain the name, latitude and longitude of existing fixed centers. All columns are mandatory. Please map the fields accordingly in the configuration.

Output Ports

Icon
The assigned geocodes output contains all customer input columns plus the name, longitude and latitude of the assigned center, and the distance between the center and the customer.
Icon
The center output contains the fixed centers and the calculated location of the new centers. The output table contains the general centers information such as name, latitude, longitude, and weight. For the fixed centers there is also distance saving potential of the center.

Nodes

Extensions

Links