Calculation Example: Area, Volume & Weight

In this example, we will take the details of the product we're producing and calculate the area, volume and weight of the product.

Available Information

AssetPropertyDesc
Paint LineThicknessThe thickness of the product we're making (m)
Paint LineWidthThe width of the product we're making (m)
Known ValuesAmountDesc
Density300The weight of 1 cubic meter of product (kg)

Initial Layout

To begin with, we have one Calculation Output node, and one ARDI Point node.

Step 1: Calculate Area

Before we can calculate the weight of our product, we need to know the area of our product.

Luckily, we're producing a rectangular slab, so it's as simple as width times height.

Get the Width

Get the Thickness

Multiply the Numbers

Step 2: Calculate Weight

To convert from a cross-sectional area to a weight, we need to know the density of the product - which in this case is 300kg for every 1 cubic metre.

The calculation module can have multiple outputs, so we can easily clone our existing output so that our calculation delivers both the area and the weight.

Create a Second Output

Multiply the Area by the Density

Step 3: Weight Rate

If needed, we could take this even further - multiplying the production speed by the new weight per meter would let us show how many tonnes per hour we're producing.

The Results

In the end, we have a chart and an API function that gives us quick access to the calculated values.