Skip to content

Cost of a build

openwaam.cost prices a build from what the plan and the thermal history already hold: the mass of wire, the arc time, the build time with its waiting, and the arc energy.

cost = wire mass x (1 + waste) x wire price
     + gas flow x arc time x gas price
     + (arc energy / source efficiency + idle power x build time) x electricity price
     + build time x (machine rate + attendance x operator rate)
     + set-up time x (machine rate + operator rate)
from openwaam.cost import CostRates, build_cost, cost_of_build, cheapest_within

c = cost_of_build(plan, model, material)          # after run_part; also in report.json and in the build record
c["total"], c["shares"], c["per_kg"]

mine = CostRates(wire_price={"Ti-6Al-4V": 160.0}, machine_rate=45.0, labour_rate=55.0,
                 attendance=0.25, currency="USD")
build_cost("Ti-6Al-4V", wire_mass=3.2, arc_time=11421, build_time=4.45 * 3600,
           arc_energy_kwh=9.0, rates=mine)

The rates are assumptions

Replace every one with your own. The default wire prices are supplier quotes of 2016 in pounds (Cunningham et al. 2018: Ti-6Al-4V 120, Inconel 718 58, 316L 12 per kg) and, for mild steel (3) and aluminium (10), values inside the ranges of Williams et al. 2016. The other defaults are a machine rate and an operator rate of 30 per hour with the operator present half the time, 15 L/min of gas at 5 per cubic metre, electricity at 0.20 per kWh, 2 % of wire wasted and half an hour of set-up. Not included: substrate, heat treatment, machining to final shape, inspection, failed builds. The result is the cost of deposition, not of a finished part.

What the parts of the documentation cost

cost

Part Alloy Wire (kg) Build (h) Wire Machine and operator Total per kg
Impeller Inconel 718 6.2 4.6 368 209 624 100
Impeller Ti-6Al-4V 3.2 4.4 390 200 638 200
Impeller 316L 5.5 4.4 68 197 312 56
Hook ER70S-6 5.8 3.8 18 171 236 40
Nozzle Inconel 718 4.9 6.9 288 310 641 132
Rib panel ER70S-6 5.1 3.0 16 135 194 38
Rib panel Al-5356 1.8 3.0 18 135 197 111
Rib panel 316L 5.2 3.0 63 135 242 47
Rib panel Inconel 718 5.8 3.0 342 135 522 90
Rib panel Ti-6Al-4V 3.0 3.0 363 135 542 183
Space frame Ti-6Al-4V 3.4 6.1 419 276 743 217

Pounds, default rates. Gas, electricity and set-up add 43 to 48 to every part.

  • In titanium and Inconel the wire is 45 to 67 % of the cost. In steel and aluminium it is 8 to 26 %, and the hours on the machine decide the cost.
  • The titanium impeller needs half the wire mass of the Inconel one at twice the price, so the two cost about the same.

Choosing settings on cost

The geometry fixes the wire mass, so the settings can only change the build time, and on these parts that means the waiting between layers. For the impeller at the tuned powers:

Interpass limit Inconel 718: score, cost Ti-6Al-4V: score, cost
100 C 0.163, 707 0.272, 698
200 C 0.163, 613 0.264, 626
300 C 0.173, 583 not run

cheapest_within(log, tolerance) takes the cheapest of the evaluated settings whose indicator score is within a tolerance of the best. With 0.02 it moves the Inconel choice from 200 C to 300 C. Whether a hotter interpass limit is acceptable for an alloy is a metallurgical question the score does not settle, and the scores are uncalibrated.

Doubling the wire price raises the Inconel and titanium impellers by about 60 % and the 316L one by 22 %; doubling the machine and operator rates raises them by 36 to 38 % and 73 %.