Useful utilities related to welding 🛠️
- Simple API
- 0 dependencies
- Written in TypeScript
$ npm install welding-utils
const {heatInput} = require('welding-utils');
const options = {
voltage: 200,
amperage: 32,
efficiencyFactor: 0.8,
lenght: 20,
time: 11
}
console.log(heatInput(options)); //=> 2.8160000000000003
options
Type: Object
interface Options {
voltage: number;
amperage: number;
efficiencyFactor: number;
lenght: number;
time: number;
}
Returns heat input
options
Type: Object
interface PreheatOptions {
cet: number;
thickness: number;
heatInput: number;
hydrogenLevel: number;
}
Returns preheat
elements
Type: Object
interface Elements {
coal: number;
manganese: number;
chromium: number;
molybdenum: number;
vanadium: number;
nickel: number;
copper: number;
}
Returns equivalent carbon content (CEQ)
elements
Type: Object
interface Elements {
coal: number;
manganese: number;
chromium: number;
molybdenum: number;
vanadium: number;
nickel: number;
copper: number;
}
Returns equivalent carbon content (CET)
elements
Type: Object
interface Elements {
coal: number;
manganese: number;
chromium: number;
molybdenum: number;
vanadium: number;
nickel: number;
copper: number;
silicon: number;
}
Returns equivalent carbon content (CE AWS)
elements
Type: Object
interface Elements {
coal: number;
manganese: number;
chromium: number;
molybdenum: number;
vanadium: number;
nickel: number;
copper: number;
silicon: number;
boron: number;
}
Returns critical metal parameter (PCM)
elements
Type: Object
interface Elements {
chromium: number;
molybdenum: number;
nitrogen: number;
}
Returns pitting resistance equivalent number (PREN)
MIT © Antoni Kepinski