4.3.1.6. WeldSpec (PV)¶
Warning
WeldSpec and nested obecjts WeldLayerSpec, WeldPassSpec are identified as Partially Validated.
4.3.1.6.1. Example WeldSpec¶
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 | {
"pdef_id": "910dd480-7aeb-4bb4-8987-e6733c32e045",
"pdef_type": "weld_spec",
"meta_data": {},
"additional_data": {},
"environment_cap": "seawater with cathodic protection",
"environment_root": "seawater with cathodic protection",
"fatigue_acceptance_criteria": {
"val": 0.8,
"unit": ""
},
"groove_angle": {
"val": 0.8,
"unit": "deg"
},
"knock_down_factor_cap": {
"val": 2.0,
"unit": ""
},
"knock_down_factor_root": {
"val": 10.0,
"unit": ""
},
"l_root": {
"val": 1.0,
"unit": "mm"
},
"l_cap": {
"val": 3.5,
"unit": "mm"
},
"max_hi_lo_cap": {
"val": 1.3,
"unit": "mm"
},
"max_hi_lo_root": {
"val": 1.3,
"unit": "mm"
},
"root_face": {
"val": 0.3,
"unit": "mm"
},
"sn_curve_cap": "C1",
"sn_curve_root": "C2",
"stress_concentration_factor_cap": {
"val": 1.175,
"unit": ""
},
"stress_concentration_factor_root": {
"val": 1.175,
"unit": ""
},
"total_elongation_max_strain": {
"val": 1.17,
"unit": "%"
},
"records_of_weld_layer_spec": [
{
"pdef_id": "307ae5bd-e2e0-4331-b8f9-aed032216d29",
"pdef_type": "weld_layer_spec",
"meta_data": {},
"additional_data": {},
"layer_name": "root",
"layer_nb": 1,
"records_of_weld_pass_spec": [
{
"pdef_id": "bb0226e9-82a6-4bbd-87aa-a2bb3a574117",
"pdef_type": "weld_pass_spec",
"meta_data": {},
"additional_data": {},
"pass_nb": 1,
"process": "SMAW",
"filler_metal_aws": "A5.9",
"filler_metal_size": {
"val": 1.0,
"unit": "mm"
},
"polarity": "AC",
"amps_min": {
"val": 75.0,
"unit": "A"
},
"amps_max": {
"val": 125.0,
"unit": "A"
},
"volt_min": {
"val": 25.0,
"unit": "V"
},
"volt_max": {
"val": 23.0,
"unit": "V"
},
"travel_speed_min": {
"val": 14.0,
"unit": "ipm"
},
"travel_speed_max": {
"val": 15.0,
"unit": "ipm"
},
"heat_input_min": {
"val": 10.0,
"unit": "kJ/in"
},
"heat_input_max": {
"val": 20.0,
"unit": "kJ/in"
},
"interpass_min": {
"val": 70.0,
"unit": "C"
},
"interpass_max": {
"val": 200.0,
"unit": "C"
},
"position": "6G",
"gas": "Ar",
"gas_flow_rate": {
"val": 11.0,
"unit": "mm.hr^-1"
},
"gas_cup_size": {
"val": 4.0,
"unit": "mm"
},
"tungsten_type": "EWP",
"tungsten_size": {
"val": 175.0,
"unit": "mm"
},
"backing": true,
"backgouging": false
},
{
"pdef_id": "b49c7ff0-b513-4a41-a28c-718cd52e8101",
"pdef_type": "weld_pass_spec",
"meta_data": {},
"additional_data": {},
"pass_nb": 2,
"process": "SMAW",
"filler_metal_aws": "A5.9",
"filler_metal_size": {
"val": 1.0,
"unit": "mm"
},
"polarity": "AC",
"amps_min": {
"val": 75.0,
"unit": "A"
},
"amps_max": {
"val": 125.0,
"unit": "A"
},
"volt_min": {
"val": 25.0,
"unit": "V"
},
"volt_max": {
"val": 23.0,
"unit": "V"
},
"travel_speed_min": {
"val": 14.0,
"unit": "ipm"
},
"travel_speed_max": {
"val": 15.0,
"unit": "ipm"
},
"heat_input_min": {
"val": 10.0,
"unit": "kJ/in"
},
"heat_input_max": {
"val": 20.0,
"unit": "kJ/in"
},
"interpass_min": {
"val": 70.0,
"unit": "C"
},
"interpass_max": {
"val": 200.0,
"unit": "C"
},
"position": "5G",
"gas": "Ar",
"gas_flow_rate": {
"val": 11.0,
"unit": "mm.hr^-1"
},
"gas_cup_size": {
"val": 4.0,
"unit": "mm"
},
"tungsten_type": "EWP",
"tungsten_size": {
"val": 175.0,
"unit": "mm"
},
"backing": true,
"backgouging": false
},
{
"pdef_id": "02487e48-6bcc-4f48-9c7a-64bbaa4a2e18",
"pdef_type": "weld_pass_spec",
"meta_data": {},
"additional_data": {},
"pass_nb": 3,
"process": "SMAW",
"filler_metal_aws": "A5.9",
"filler_metal_size": {
"val": 1.0,
"unit": "mm"
},
"polarity": "AC",
"amps_min": {
"val": 75.0,
"unit": "A"
},
"amps_max": {
"val": 125.0,
"unit": "A"
},
"volt_min": {
"val": 25.0,
"unit": "V"
},
"volt_max": {
"val": 23.0,
"unit": "V"
},
"travel_speed_min": {
"val": 14.0,
"unit": "ipm"
},
"travel_speed_max": {
"val": 15.0,
"unit": "ipm"
},
"heat_input_min": {
"val": 10.0,
"unit": "kJ/in"
},
"heat_input_max": {
"val": 20.0,
"unit": "kJ/in"
},
"interpass_min": {
"val": 70.0,
"unit": "C"
},
"interpass_max": {
"val": 200.0,
"unit": "C"
},
"position": "5G",
"gas": "Ar",
"gas_flow_rate": {
"val": 11.0,
"unit": "mm.hr^-1"
},
"gas_cup_size": {
"val": 4.0,
"unit": "mm"
},
"tungsten_type": "EWP",
"tungsten_size": {
"val": 175.0,
"unit": "mm"
},
"backing": true,
"backgouging": false
}
]
}
],
"related_bare_pipe_spec": null,
"related_assembly_single_pipe_spec": null,
"related_section_single_pipe_spec": null
}
|
4.3.1.6.2. Schema WeldSpec¶
-
pdef.model.weld_spec.
WeldSpec
WeldSpec stores data intended to gather the specified properties of Weld objects.
Show JSON schema
{ "title": "WeldSpec", "description": "`WeldSpec` stores data intended to gather the specified properties of `Weld` objects.", "type": "object", "properties": { "pdef_id": { "title": "PDEF id", "description": ":ref:`pdef_id` is the unique identifier for the object.", "example": "14474720-db23-453a-b9c0-6a9fc9b03ef3", "type": "string" }, "pdef_type": { "title": "Pdef Type", "const": "weld_spec", "type": "string" }, "meta_data": { "title": "Metadata", "description": "Optional user free structured :ref:`Metadata` object.", "example": "{'created':'2021-09-03'}", "allOf": [ { "$ref": "#/definitions/MetaData" } ] }, "additional_data": { "title": "Additional Data", "description": "Optional user free structured :ref:`Additional Data` object.", "example": "{'color':'grey'}", "allOf": [ { "$ref": "#/definitions/AdditionalData" } ] }, "environment_cap": { "title": "Cap Environment", "description": "Environmental condition for cap.", "example": "seawater with cathodic protection", "enum": [ "air", "seawater with cathodic protection", "seawater with free corrosion" ], "type": "string" }, "environment_root": { "title": "Root Environment", "description": "Environmental condition for root.", "example": "air", "enum": [ "air", "seawater with cathodic protection", "seawater with free corrosion" ], "type": "string" }, "fatigue_acceptance_criteria": { "title": "Fatigue Acceptance Criteria", "description": ":ref:`Unitless` measure of maximum allowable total accumulated damage ratio.", "example": { "val": "0.8", "unit": "" }, "allOf": [ { "$ref": "#/definitions/UnitLess" } ] }, "groove_angle": { "title": "groove angle", "description": ":ref:`Angle` measure of groove.", "example": { "val": "0.8", "unit": "deg" }, "allOf": [ { "$ref": "#/definitions/Angle" } ] }, "knock_down_factor_cap": { "title": "Knock Down Factor Cap", "description": ":ref:`Unitless` measure of knock-down factor.", "example": { "val": "10", "unit": "" }, "allOf": [ { "$ref": "#/definitions/UnitLess" } ] }, "knock_down_factor_root": { "title": "Knock Down Factor Root", "description": ":ref:`Unitless` measure of knock-down factor.", "example": { "val": "10", "unit": "" }, "allOf": [ { "$ref": "#/definitions/UnitLess" } ] }, "l_root": { "title": "Length measure of root gap ", "description": ":ref:`Length` measure root gap.", "example": { "val": "1", "unit": "mm" }, "allOf": [ { "$ref": "#/definitions/Length" } ] }, "l_cap": { "title": "Length measure of root gap ", "description": ":ref:`Length` measure of cap length/opening width.", "example": { "val": "3.5", "unit": "mm" }, "allOf": [ { "$ref": "#/definitions/Length" } ] }, "max_hi_lo_cap": { "title": "High/low on cap side", "description": ":ref:`Length` measure of maximum High/low on cap side.", "example": { "val": "1.3", "unit": "mm" }, "allOf": [ { "$ref": "#/definitions/Length" } ] }, "max_hi_lo_root": { "title": "High/low on root side", "description": ":ref:`Length` measure of maximum High/low on root side.", "example": { "val": "1.3", "unit": "mm" }, "allOf": [ { "$ref": "#/definitions/Length" } ] }, "root_face": { "title": "Length measure of thickness root face", "description": ":ref:`Length` measure of thickness root face.", "example": { "val": "0.3", "unit": "mm" }, "allOf": [ { "$ref": "#/definitions/Length" } ] }, "sn_curve_cap": { "title": "S-N Curve for cap", "description": "S-N Curve to be used for cap.", "example": "C", "enum": [ "B1", "B2", "C", "C1", "C2", "D", "E", "F", "F1", "F3", "G", "W1", "W2", "W3" ], "type": "string" }, "sn_curve_root": { "title": "S-N Curve for cap", "description": "S-N Curve to be used for cap.", "example": "C", "enum": [ "B1", "B2", "C", "C1", "C2", "D", "E", "F", "F1", "F3", "G", "W1", "W2", "W3" ], "type": "string" }, "stress_concentration_factor_cap": { "title": "Stress Concentration Factor Cap", "description": ":ref:`Unitless` measure of stress concentration factor.", "example": { "val": "1.175", "unit": "" }, "allOf": [ { "$ref": "#/definitions/UnitLess" } ] }, "stress_concentration_factor_root": { "title": "Stress Concentration Factor Root", "description": ":ref:`Unitless` measure of stress concentration factor.", "example": { "val": "1.175", "unit": "" }, "allOf": [ { "$ref": "#/definitions/UnitLess" } ] }, "total_elongation_max_strain": { "title": "Total Elongation at Maximum Strain", "description": ":ref:`Unitless` measure of total elongation at maximum strain.", "example": { "val": "1.175", "unit": "%" }, "allOf": [ { "$ref": "#/definitions/UnitLess" } ] }, "records_of_weld_layer_spec": { "title": "Records of Weld Layer Specification", "description": "Embedded records of specifications for each weld layer, :ref:`WeldLayerSpec`.", "type": "array", "items": { "$ref": "#/definitions/WeldLayerSpec" } }, "related_bare_pipe_spec": { "title": "Related Bare Pipe Spec", "type": "array", "items": { "type": "string" } }, "related_assembly_single_pipe_spec": { "title": "Related Assembly Single Pipe Spec", "type": "array", "items": { "type": "string" } }, "related_section_single_pipe_spec": { "title": "Related Section Single Pipe Spec", "type": "array", "items": { "type": "string" } } }, "additionalProperties": false, "definitions": { "MetaData": { "title": "MetaData", "description": "Optional base JSON-fragment used to report meta data. User free structure.", "type": "object", "properties": {} }, "AdditionalData": { "title": "AdditionalData", "description": "Optional base JSON-fragment used to report additional user specific data. User free structure.", "type": "object", "properties": {} }, "UnitLess": { "title": "UnitLess", "description": ":ref:`Measure` for dimensionless ratios.", "type": "object", "properties": { "val": { "title": "Value", "description": "The value taken by the Measure.", "examples": [ 1.0, -25.1, 1000000.0 ], "type": "number" }, "unit": { "title": "unit of measure", "description": "Unit of measure.", "anyOf": [ { "type": "null" }, { "enum": [ "ppb", "%", "ppm", "ppt", "ppq", "N/A", "" ], "type": "string" } ] } }, "required": [ "val", "unit" ], "additionalProperties": false }, "Angle": { "title": "Angle", "description": ":ref:`Measure` of an angle.", "type": "object", "properties": { "val": { "title": "Value", "description": "The value taken by the Measure.", "examples": [ 1.0, -25.1, 1000000.0 ], "type": "number" }, "unit": { "title": "unit of measure", "description": "Unit of measure.", "enum": [ "deg", "rad" ], "type": "string" } }, "required": [ "val", "unit" ], "additionalProperties": false }, "Length": { "title": "Length", "description": ":ref:`Measure` of a length, distance, thickness, diameter, etc", "type": "object", "properties": { "val": { "title": "Value", "description": "The value taken by the Measure.", "examples": [ 1.0, -25.1, 1000000.0 ], "type": "number" }, "unit": { "title": "unit of measure", "description": "Unit of measure.", "enum": [ "km", "hm", "dam", "m", "dm", "cm", "mm", "microm", "ft", "in" ], "type": "string" } }, "required": [ "val", "unit" ], "additionalProperties": false }, "ElectricCurrent": { "title": "ElectricCurrent", "description": ":ref:`Measure` of the intensity of an electric current.", "type": "object", "properties": { "val": { "title": "Value", "description": "The value taken by the Measure.", "examples": [ 1.0, -25.1, 1000000.0 ], "type": "number" }, "unit": { "title": "unit of measure", "description": "Unit of measure.", "enum": [ "A" ], "type": "string" } }, "required": [ "val", "unit" ], "additionalProperties": false }, "Volt": { "title": "Volt", "description": ":ref:`Measure` of a current tension", "type": "object", "properties": { "val": { "title": "Value", "description": "The value taken by the Measure.", "examples": [ 1.0, -25.1, 1000000.0 ], "type": "number" }, "unit": { "title": "unit of measure", "description": "Unit of measure.", "enum": [ "V" ], "type": "string" } }, "required": [ "val", "unit" ], "additionalProperties": false }, "Speed": { "title": "Speed", "description": ":ref:`Measure` of speed", "type": "object", "properties": { "val": { "title": "Value", "description": "The value taken by the Measure.", "examples": [ 1.0, -25.1, 1000000.0 ], "type": "number" }, "unit": { "title": "unit of measure", "description": "Unit of measure.", "enum": [ "m.s^-1", "km.hr^-1", "mm.hr^-1", "knots", "ipm" ], "type": "string" } }, "required": [ "val", "unit" ], "additionalProperties": false }, "HeatInput": { "title": "HeatInput", "description": ":ref:`Measure` of Heat Input", "type": "object", "properties": { "val": { "title": "Value", "description": "The value taken by the Measure.", "examples": [ 1.0, -25.1, 1000000.0 ], "type": "number" }, "unit": { "title": "unit of measure", "description": "Unit of measure.", "enum": [ "J/in", "J/mm", "kJ/in", "kJ/mm" ], "type": "string" } }, "required": [ "val", "unit" ], "additionalProperties": false }, "Temperature": { "title": "Temperature", "description": ":ref:`Measure` of temperature", "type": "object", "properties": { "val": { "title": "Value", "description": "The value taken by the Measure.", "examples": [ 1.0, -25.1, 1000000.0 ], "type": "number" }, "unit": { "title": "unit of measure", "description": "Unit of measure.", "enum": [ "K", "C", "F" ], "type": "string" } }, "required": [ "val", "unit" ], "additionalProperties": false }, "WeldPassSpec": { "title": "WeldPassSpec", "description": "`WeldPassSpec` object stores data related to one pass of layer's weld.", "type": "object", "properties": { "pdef_id": { "title": "PDEF id", "description": ":ref:`pdef_id` is the unique identifier for the object.", "example": "14474720-db23-453a-b9c0-6a9fc9b03ef3", "type": "string" }, "pdef_type": { "title": "Pdef Type", "const": "weld_pass_spec", "type": "string" }, "meta_data": { "title": "Metadata", "description": "Optional user free structured :ref:`Metadata` object.", "example": "{'created':'2021-09-03'}", "allOf": [ { "$ref": "#/definitions/MetaData" } ] }, "additional_data": { "title": "Additional Data", "description": "Optional user free structured :ref:`Additional Data` object.", "example": "{'color':'grey'}", "allOf": [ { "$ref": "#/definitions/AdditionalData" } ] }, "pass_nb": { "title": "Pass number", "description": "The pass. `1` corresponds to the first pass on top parent layer, and so on.", "examples": [ 1, 2 ], "type": "integer" }, "process": { "title": "welding process name", "description": "Type of welding process.", "examples": "SMAW", "enum": [ "OFW", "SMAW", "GTAW", "GMAW", "PAW", "FCAW", "SAW", "ESW", "EGW", "BRAZING", "THERMAL SPRAYING" ], "type": "string" }, "filler_metal_aws": { "title": "Americal Welding Society classification label of filler metal", "description": "Americal Welding Society classification label of filler metal.", "examples": "A5.9", "enum": [ "A5.1", "A5.2", "A5.3", "A5.4", "A5.5", "A5.6", "A5.7", "A5.8", "A5.9", "A5.10", "A5.11", "A5.12", "A5.14", "A5.15", "A5.16", "A5.17", "A5.18", "A5.19", "A5.20", "A5.21", "A5.22", "A5.23", "A5.24", "A5.25", "A5.26", "A5.28", "A5.29", "A5.30", "A5.31", "A5.32", "A5.36", "C2.25" ], "type": "string" }, "filler_metal_size": { "title": "Filler metal size", "description": ":ref:`Length` measure of filler metal diameter.", "examples": { "val": 1, "unit": "mm" }, "allOf": [ { "$ref": "#/definitions/Length" } ] }, "polarity": { "title": "Polarity", "description": "Polarity of electrical current flow used to weld.", "examples": "AC", "enum": [ "AC", "DCEP", "DCEN" ], "type": "string" }, "amps_min": { "title": "Minimum amperage for welding", "description": ":ref:`ElectricCurrent` measure of minimum amperage used to weld.", "examples": { "val": "75", "unit": "amp" }, "allOf": [ { "$ref": "#/definitions/ElectricCurrent" } ] }, "amps_max": { "title": "Maximum amperage", "description": ":ref:`ElectricCurrent` measure of maximum amperage used to weld.", "examples": { "val": "125", "unit": "A" }, "allOf": [ { "$ref": "#/definitions/ElectricCurrent" } ] }, "volt_min": { "title": "Minimum voltage ", "description": ":ref:`Volt` measure of minimum voltage used to weld.", "examples": { "val": "23", "unit": "V" }, "allOf": [ { "$ref": "#/definitions/Volt" } ] }, "volt_max": { "title": "Maximum voltage", "description": ":ref:`Volt` measure of maximum voltage used to weld.", "examples": { "val": "25", "unit": "V" }, "allOf": [ { "$ref": "#/definitions/Volt" } ] }, "travel_speed_min": { "title": "Minimum travel speed", "description": ":ref:`Speed` measure of minimum travel speed used to weld.", "examples": { "val": "14", "unit": "ipm" }, "allOf": [ { "$ref": "#/definitions/Speed" } ] }, "travel_speed_max": { "title": "Maximum travel speed", "description": ":ref:`Speed` measure of maximum travel speed used to weld.", "examples": { "val": "15", "unit": "ipm" }, "allOf": [ { "$ref": "#/definitions/Speed" } ] }, "heat_input_min": { "title": "Minimum heat input", "description": ":ref:`HeatInput` measure of minimum heat input used to weld.", "examples": { "val": "10", "unit": "kJ/in" }, "allOf": [ { "$ref": "#/definitions/HeatInput" } ] }, "heat_input_max": { "title": "Maximum heat input", "description": ":ref:`HeatInput` measure of maximum heat input used to weld.", "examples": { "val": "20", "unit": "kJ/in" }, "allOf": [ { "$ref": "#/definitions/HeatInput" } ] }, "interpass_min": { "title": "Minimum Interpass Temperature", "description": "Minimum :ref:`Temperature` measure of interpass.", "examples": { "val": "70", "unit": "C" }, "allOf": [ { "$ref": "#/definitions/Temperature" } ] }, "interpass_max": { "title": "Maximum Interpass Temperature", "description": "Maximum :ref:`Temperature` measure of interpass.", "examples": { "val": "200", "unit": "C" }, "allOf": [ { "$ref": "#/definitions/Temperature" } ] }, "position": { "title": "Type of Welding Position", "description": "Type of Welding Position, 1G, 2G, 5G, 6G.", "examples": "5G", "enum": [ "1G", "2G", "5G", "6G" ], "type": "string" }, "gas": { "title": "Type of Welding Gas ", "description": "Type of Gas used to weld.", "examples": "Argon ", "enum": [ "Ar", "CO2", "O2", "He", "N", "H" ], "type": "string" }, "gas_flow_rate": { "title": "Welding Gas Flow Rate ", "description": "Value of gas flow rate.", "examples": { "val": 1, "unit": "'mm.hr^-1'" }, "allOf": [ { "$ref": "#/definitions/Speed" } ] }, "gas_cup_size": { "title": "Gas cup size ", "description": ":ref:`Length` measure of gas cup size.", "examples": { "val": 4, "unit": "'mm" }, "allOf": [ { "$ref": "#/definitions/Length" } ] }, "tungsten_type": { "title": "Type of tungsten electrodes ", "description": "Type of tungsten electrodes. ", "examples": "EWP", "enum": [ "EWP", "EWTh-1", "EWTh-2", "EWZr", "EWCe-2", "EWLa-1" ], "type": "string" }, "tungsten_size": { "title": "Tunsgten Size ", "description": ":ref:`Length` measure of tungsten electrode size.", "examples": { "val": 175, "unit": "mm" }, "allOf": [ { "$ref": "#/definitions/Length" } ] }, "backing": { "title": "Backing used ", "description": "True or False backing used. ", "examples": true, "type": "boolean" }, "backgouging": { "title": "Backgouging process", "description": "True or False backgouging process used.", "examples": false, "type": "boolean" } } }, "WeldLayerSpec": { "title": "WeldLayerSpec", "description": "`WeldLayerSpec` object stores data related to one layer of weld.", "type": "object", "properties": { "pdef_id": { "title": "PDEF id", "description": ":ref:`pdef_id` is the unique identifier for the object.", "example": "14474720-db23-453a-b9c0-6a9fc9b03ef3", "type": "string" }, "pdef_type": { "title": "Pdef Type", "const": "weld_layer_spec", "type": "string" }, "meta_data": { "title": "Metadata", "description": "Optional user free structured :ref:`Metadata` object.", "example": "{'created':'2021-09-03'}", "allOf": [ { "$ref": "#/definitions/MetaData" } ] }, "additional_data": { "title": "Additional Data", "description": "Optional user free structured :ref:`Additional Data` object.", "example": "{'color':'grey'}", "allOf": [ { "$ref": "#/definitions/AdditionalData" } ] }, "layer_name": { "title": "Type of layer name", "description": " Name of Layer, root, hot, fill or cap", "examples": "root", "enum": [ "root", "hot", "fill", "cap" ], "type": "string" }, "layer_nb": { "title": "Layer Location", "description": "Order for the layer. `1` corresponds to the first layer at root", "examples": [ 1, 2 ], "type": "integer" }, "records_of_weld_pass_spec": { "title": "Records of Weld Pass Specification", "description": "Embedded records of specifications for each weld pass, :ref:`WeldPassSpec`.", "type": "array", "items": { "$ref": "#/definitions/WeldPassSpec" } } } } } }
- Config
extra: str = forbid
-
environment_cap
: Optional[Literal[air, seawater with cathodic protection, seawater with free corrosion]] = PydanticUndefined Environmental condition for cap.
- Constraints and examples:
example = seawater with cathodic protection
-
environment_root
: Optional[Literal[air, seawater with cathodic protection, seawater with free corrosion]] = PydanticUndefined Environmental condition for root.
- Constraints and examples:
example = air
-
fatigue_acceptance_criteria
: Optional[pdef.model.measure.UnitLess] = PydanticUndefined UnitLess measure of maximum allowable total accumulated damage ratio.
- Constraints and examples:
example = {‘val’: ‘0.8’, ‘unit’: ‘’}
-
groove_angle
: Optional[pdef.model.measure.Angle] = PydanticUndefined Angle measure of groove.
- Constraints and examples:
example = {‘val’: ‘0.8’, ‘unit’: ‘deg’}
-
knock_down_factor_cap
: Optional[pdef.model.measure.UnitLess] = PydanticUndefined UnitLess measure of knock-down factor.
- Constraints and examples:
example = {‘val’: ‘10’, ‘unit’: ‘’}
-
knock_down_factor_root
: Optional[pdef.model.measure.UnitLess] = PydanticUndefined UnitLess measure of knock-down factor.
- Constraints and examples:
example = {‘val’: ‘10’, ‘unit’: ‘’}
-
l_cap
: Optional[pdef.model.measure.Length] = PydanticUndefined Length measure of cap length/opening width.
- Constraints and examples:
example = {‘val’: ‘3.5’, ‘unit’: ‘mm’}
-
l_root
: Optional[pdef.model.measure.Length] = PydanticUndefined Length measure root gap.
- Constraints and examples:
example = {‘val’: ‘1’, ‘unit’: ‘mm’}
-
max_hi_lo_cap
: Optional[pdef.model.measure.Length] = PydanticUndefined Length measure of maximum High/low on cap side.
- Constraints and examples:
example = {‘val’: ‘1.3’, ‘unit’: ‘mm’}
-
max_hi_lo_root
: Optional[pdef.model.measure.Length] = PydanticUndefined Length measure of maximum High/low on root side.
- Constraints and examples:
example = {‘val’: ‘1.3’, ‘unit’: ‘mm’}
-
pdef_type
: str = 'weld_spec' - Constraints and examples:
const = weld_spec
-
records_of_weld_layer_spec
: Optional[List[pdef.model.weld_spec.WeldLayerSpec]] = PydanticUndefined Embedded records of specifications for each weld layer, WeldLayerSpec.
-
related_assembly_single_pipe_spec
: Optional[List[str]] = PydanticUndefined
-
related_bare_pipe_spec
: Optional[List[str]] = PydanticUndefined
-
related_section_single_pipe_spec
: Optional[List[str]] = PydanticUndefined
-
root_face
: Optional[pdef.model.measure.Length] = PydanticUndefined Length measure of thickness root face.
- Constraints and examples:
example = {‘val’: ‘0.3’, ‘unit’: ‘mm’}
-
sn_curve_cap
: Optional[Literal[B1, B2, C, C1, C2, D, E, F, F1, F3, G, W1, W2, W3]] = PydanticUndefined S-N Curve to be used for cap.
- Constraints and examples:
example = C
-
sn_curve_root
: Optional[Literal[B1, B2, C, C1, C2, D, E, F, F1, F3, G, W1, W2, W3]] = PydanticUndefined S-N Curve to be used for cap.
- Constraints and examples:
example = C
-
stress_concentration_factor_cap
: Optional[pdef.model.measure.UnitLess] = PydanticUndefined UnitLess measure of stress concentration factor.
- Constraints and examples:
example = {‘val’: ‘1.175’, ‘unit’: ‘’}
-
stress_concentration_factor_root
: Optional[pdef.model.measure.UnitLess] = PydanticUndefined UnitLess measure of stress concentration factor.
- Constraints and examples:
example = {‘val’: ‘1.175’, ‘unit’: ‘’}
-
total_elongation_max_strain
: Optional[pdef.model.measure.UnitLess] = PydanticUndefined UnitLess measure of total elongation at maximum strain.
- Constraints and examples:
example = {‘val’: ‘1.175’, ‘unit’: ‘%’}
4.3.1.6.3. List WeldSpec¶
Variable |
Type |
Description |
---|---|---|
pdef_id |
<class ‘str’> |
pdef_id is the unique identifier for the object. |
pdef_type |
<class ‘str’> |
|
meta_data |
<class ‘pdef.model.metadata.MetaData’> |
Optional user free structured MetaData object. |
additional_data |
<class ‘pdef.model.additional_data.AdditionalData’> |
Optional user free structured Additional Data object. |
environment_cap |
typing.Literal[‘air’, ‘seawater with cathodic protection’, ‘seawater with free corrosion’] |
Environmental condition for cap. |
environment_root |
typing.Literal[‘air’, ‘seawater with cathodic protection’, ‘seawater with free corrosion’] |
Environmental condition for root. |
fatigue_acceptance_criteria |
<class ‘pdef.model.measure.UnitLess’> |
UnitLess measure of maximum allowable total accumulated damage ratio. |
groove_angle |
<class ‘pdef.model.measure.Angle’> |
Angle measure of groove. |
knock_down_factor_cap |
<class ‘pdef.model.measure.UnitLess’> |
UnitLess measure of knock-down factor. |
knock_down_factor_root |
<class ‘pdef.model.measure.UnitLess’> |
UnitLess measure of knock-down factor. |
l_root |
<class ‘pdef.model.measure.Length’> |
Length measure root gap. |
l_cap |
<class ‘pdef.model.measure.Length’> |
Length measure of cap length/opening width. |
max_hi_lo_cap |
<class ‘pdef.model.measure.Length’> |
Length measure of maximum High/low on cap side. |
max_hi_lo_root |
<class ‘pdef.model.measure.Length’> |
Length measure of maximum High/low on root side. |
root_face |
<class ‘pdef.model.measure.Length’> |
Length measure of thickness root face. |
sn_curve_cap |
typing.Literal[‘B1’, ‘B2’, ‘C’, ‘C1’, ‘C2’, ‘D’, ‘E’, ‘F’, ‘F1’, ‘F3’, ‘G’, ‘W1’, ‘W2’, ‘W3’] |
S-N Curve to be used for cap. |
sn_curve_root |
typing.Literal[‘B1’, ‘B2’, ‘C’, ‘C1’, ‘C2’, ‘D’, ‘E’, ‘F’, ‘F1’, ‘F3’, ‘G’, ‘W1’, ‘W2’, ‘W3’] |
S-N Curve to be used for cap. |
stress_concentration_factor_cap |
<class ‘pdef.model.measure.UnitLess’> |
UnitLess measure of stress concentration factor. |
stress_concentration_factor_root |
<class ‘pdef.model.measure.UnitLess’> |
UnitLess measure of stress concentration factor. |
total_elongation_max_strain |
<class ‘pdef.model.measure.UnitLess’> |
UnitLess measure of total elongation at maximum strain. |
records_of_weld_layer_spec |
<class ‘pdef.model.weld_spec.WeldLayerSpec’> |
Embedded records of specifications for each weld layer, WeldLayerSpec. |
related_bare_pipe_spec |
<class ‘str’> |
|
related_assembly_single_pipe_spec |
<class ‘str’> |
|
related_section_single_pipe_spec |
<class ‘str’> |
4.3.1.6.4. WeldLayerSpec¶
4.3.1.6.4.1. Example WeldLayerSpec¶
{
"pdef_id": "307ae5bd-e2e0-4331-b8f9-aed032216d29",
"pdef_type": "weld_layer_spec",
"meta_data": {},
"additional_data": {},
"layer_name": "root",
"layer_nb": 1,
"records_of_weld_pass_spec": [
{
"pdef_id": "bb0226e9-82a6-4bbd-87aa-a2bb3a574117",
"pdef_type": "weld_pass_spec",
"meta_data": {},
"additional_data": {},
"pass_nb": 1,
"process": "SMAW",
"filler_metal_aws": "A5.9",
"filler_metal_size": {
"val": 1.0,
"unit": "mm"
},
"polarity": "AC",
"amps_min": {
"val": 75.0,
"unit": "A"
},
"amps_max": {
"val": 125.0,
"unit": "A"
},
"volt_min": {
"val": 25.0,
"unit": "V"
},
"volt_max": {
"val": 23.0,
"unit": "V"
},
"travel_speed_min": {
"val": 14.0,
"unit": "ipm"
},
"travel_speed_max": {
"val": 15.0,
"unit": "ipm"
},
"heat_input_min": {
"val": 10.0,
"unit": "kJ/in"
},
"heat_input_max": {
"val": 20.0,
"unit": "kJ/in"
},
"interpass_min": {
"val": 70.0,
"unit": "C"
},
"interpass_max": {
"val": 200.0,
"unit": "C"
},
"position": "6G",
"gas": "Ar",
"gas_flow_rate": {
"val": 11.0,
"unit": "mm.hr^-1"
},
"gas_cup_size": {
"val": 4.0,
"unit": "mm"
},
"tungsten_type": "EWP",
"tungsten_size": {
"val": 175.0,
"unit": "mm"
},
"backing": true,
"backgouging": false
},
{
"pdef_id": "b49c7ff0-b513-4a41-a28c-718cd52e8101",
"pdef_type": "weld_pass_spec",
"meta_data": {},
"additional_data": {},
"pass_nb": 2,
"process": "SMAW",
"filler_metal_aws": "A5.9",
"filler_metal_size": {
"val": 1.0,
"unit": "mm"
},
"polarity": "AC",
"amps_min": {
"val": 75.0,
"unit": "A"
},
"amps_max": {
"val": 125.0,
"unit": "A"
},
"volt_min": {
"val": 25.0,
"unit": "V"
},
"volt_max": {
"val": 23.0,
"unit": "V"
},
"travel_speed_min": {
"val": 14.0,
"unit": "ipm"
},
"travel_speed_max": {
"val": 15.0,
"unit": "ipm"
},
"heat_input_min": {
"val": 10.0,
"unit": "kJ/in"
},
"heat_input_max": {
"val": 20.0,
"unit": "kJ/in"
},
"interpass_min": {
"val": 70.0,
"unit": "C"
},
"interpass_max": {
"val": 200.0,
"unit": "C"
},
"position": "5G",
"gas": "Ar",
"gas_flow_rate": {
"val": 11.0,
"unit": "mm.hr^-1"
},
"gas_cup_size": {
"val": 4.0,
"unit": "mm"
},
"tungsten_type": "EWP",
"tungsten_size": {
"val": 175.0,
"unit": "mm"
},
"backing": true,
"backgouging": false
},
{
"pdef_id": "02487e48-6bcc-4f48-9c7a-64bbaa4a2e18",
"pdef_type": "weld_pass_spec",
"meta_data": {},
"additional_data": {},
"pass_nb": 3,
"process": "SMAW",
"filler_metal_aws": "A5.9",
"filler_metal_size": {
"val": 1.0,
"unit": "mm"
},
"polarity": "AC",
"amps_min": {
"val": 75.0,
"unit": "A"
},
"amps_max": {
"val": 125.0,
"unit": "A"
},
"volt_min": {
"val": 25.0,
"unit": "V"
},
"volt_max": {
"val": 23.0,
"unit": "V"
},
"travel_speed_min": {
"val": 14.0,
"unit": "ipm"
},
"travel_speed_max": {
"val": 15.0,
"unit": "ipm"
},
"heat_input_min": {
"val": 10.0,
"unit": "kJ/in"
},
"heat_input_max": {
"val": 20.0,
"unit": "kJ/in"
},
"interpass_min": {
"val": 70.0,
"unit": "C"
},
"interpass_max": {
"val": 200.0,
"unit": "C"
},
"position": "5G",
"gas": "Ar",
"gas_flow_rate": {
"val": 11.0,
"unit": "mm.hr^-1"
},
"gas_cup_size": {
"val": 4.0,
"unit": "mm"
},
"tungsten_type": "EWP",
"tungsten_size": {
"val": 175.0,
"unit": "mm"
},
"backing": true,
"backgouging": false
}
]
}
4.3.1.6.4.2. Documentation WeldLayerSpec¶
WeldLayerSpec stands for specification of weld layer.
The various WeldLayerSpec relevant for one weld spec are reported as an Nested Object into WeldSpec (PV).
A weld is typically made in one or more layers.
WeldLayerSpec is an Nested Object. Therefore, the order in which it is provided in the JSON array is explicitly the order of physical application for the layer. The first WeldLayerSpec in the array corresponds to the first layer to be applied at the root, and so on.
4.3.1.6.4.3. Schema WeldLayerSpec¶
-
pdef.model.weld_spec.
WeldLayerSpec
WeldLayerSpec object stores data related to one layer of weld.
Show JSON schema
{ "title": "WeldLayerSpec", "description": "`WeldLayerSpec` object stores data related to one layer of weld.", "type": "object", "properties": { "pdef_id": { "title": "PDEF id", "description": ":ref:`pdef_id` is the unique identifier for the object.", "example": "14474720-db23-453a-b9c0-6a9fc9b03ef3", "type": "string" }, "pdef_type": { "title": "Pdef Type", "const": "weld_layer_spec", "type": "string" }, "meta_data": { "title": "Metadata", "description": "Optional user free structured :ref:`Metadata` object.", "example": "{'created':'2021-09-03'}", "allOf": [ { "$ref": "#/definitions/MetaData" } ] }, "additional_data": { "title": "Additional Data", "description": "Optional user free structured :ref:`Additional Data` object.", "example": "{'color':'grey'}", "allOf": [ { "$ref": "#/definitions/AdditionalData" } ] }, "layer_name": { "title": "Type of layer name", "description": " Name of Layer, root, hot, fill or cap", "examples": "root", "enum": [ "root", "hot", "fill", "cap" ], "type": "string" }, "layer_nb": { "title": "Layer Location", "description": "Order for the layer. `1` corresponds to the first layer at root", "examples": [ 1, 2 ], "type": "integer" }, "records_of_weld_pass_spec": { "title": "Records of Weld Pass Specification", "description": "Embedded records of specifications for each weld pass, :ref:`WeldPassSpec`.", "type": "array", "items": { "$ref": "#/definitions/WeldPassSpec" } } }, "definitions": { "MetaData": { "title": "MetaData", "description": "Optional base JSON-fragment used to report meta data. User free structure.", "type": "object", "properties": {} }, "AdditionalData": { "title": "AdditionalData", "description": "Optional base JSON-fragment used to report additional user specific data. User free structure.", "type": "object", "properties": {} }, "Length": { "title": "Length", "description": ":ref:`Measure` of a length, distance, thickness, diameter, etc", "type": "object", "properties": { "val": { "title": "Value", "description": "The value taken by the Measure.", "examples": [ 1.0, -25.1, 1000000.0 ], "type": "number" }, "unit": { "title": "unit of measure", "description": "Unit of measure.", "enum": [ "km", "hm", "dam", "m", "dm", "cm", "mm", "microm", "ft", "in" ], "type": "string" } }, "required": [ "val", "unit" ], "additionalProperties": false }, "ElectricCurrent": { "title": "ElectricCurrent", "description": ":ref:`Measure` of the intensity of an electric current.", "type": "object", "properties": { "val": { "title": "Value", "description": "The value taken by the Measure.", "examples": [ 1.0, -25.1, 1000000.0 ], "type": "number" }, "unit": { "title": "unit of measure", "description": "Unit of measure.", "enum": [ "A" ], "type": "string" } }, "required": [ "val", "unit" ], "additionalProperties": false }, "Volt": { "title": "Volt", "description": ":ref:`Measure` of a current tension", "type": "object", "properties": { "val": { "title": "Value", "description": "The value taken by the Measure.", "examples": [ 1.0, -25.1, 1000000.0 ], "type": "number" }, "unit": { "title": "unit of measure", "description": "Unit of measure.", "enum": [ "V" ], "type": "string" } }, "required": [ "val", "unit" ], "additionalProperties": false }, "Speed": { "title": "Speed", "description": ":ref:`Measure` of speed", "type": "object", "properties": { "val": { "title": "Value", "description": "The value taken by the Measure.", "examples": [ 1.0, -25.1, 1000000.0 ], "type": "number" }, "unit": { "title": "unit of measure", "description": "Unit of measure.", "enum": [ "m.s^-1", "km.hr^-1", "mm.hr^-1", "knots", "ipm" ], "type": "string" } }, "required": [ "val", "unit" ], "additionalProperties": false }, "HeatInput": { "title": "HeatInput", "description": ":ref:`Measure` of Heat Input", "type": "object", "properties": { "val": { "title": "Value", "description": "The value taken by the Measure.", "examples": [ 1.0, -25.1, 1000000.0 ], "type": "number" }, "unit": { "title": "unit of measure", "description": "Unit of measure.", "enum": [ "J/in", "J/mm", "kJ/in", "kJ/mm" ], "type": "string" } }, "required": [ "val", "unit" ], "additionalProperties": false }, "Temperature": { "title": "Temperature", "description": ":ref:`Measure` of temperature", "type": "object", "properties": { "val": { "title": "Value", "description": "The value taken by the Measure.", "examples": [ 1.0, -25.1, 1000000.0 ], "type": "number" }, "unit": { "title": "unit of measure", "description": "Unit of measure.", "enum": [ "K", "C", "F" ], "type": "string" } }, "required": [ "val", "unit" ], "additionalProperties": false }, "WeldPassSpec": { "title": "WeldPassSpec", "description": "`WeldPassSpec` object stores data related to one pass of layer's weld.", "type": "object", "properties": { "pdef_id": { "title": "PDEF id", "description": ":ref:`pdef_id` is the unique identifier for the object.", "example": "14474720-db23-453a-b9c0-6a9fc9b03ef3", "type": "string" }, "pdef_type": { "title": "Pdef Type", "const": "weld_pass_spec", "type": "string" }, "meta_data": { "title": "Metadata", "description": "Optional user free structured :ref:`Metadata` object.", "example": "{'created':'2021-09-03'}", "allOf": [ { "$ref": "#/definitions/MetaData" } ] }, "additional_data": { "title": "Additional Data", "description": "Optional user free structured :ref:`Additional Data` object.", "example": "{'color':'grey'}", "allOf": [ { "$ref": "#/definitions/AdditionalData" } ] }, "pass_nb": { "title": "Pass number", "description": "The pass. `1` corresponds to the first pass on top parent layer, and so on.", "examples": [ 1, 2 ], "type": "integer" }, "process": { "title": "welding process name", "description": "Type of welding process.", "examples": "SMAW", "enum": [ "OFW", "SMAW", "GTAW", "GMAW", "PAW", "FCAW", "SAW", "ESW", "EGW", "BRAZING", "THERMAL SPRAYING" ], "type": "string" }, "filler_metal_aws": { "title": "Americal Welding Society classification label of filler metal", "description": "Americal Welding Society classification label of filler metal.", "examples": "A5.9", "enum": [ "A5.1", "A5.2", "A5.3", "A5.4", "A5.5", "A5.6", "A5.7", "A5.8", "A5.9", "A5.10", "A5.11", "A5.12", "A5.14", "A5.15", "A5.16", "A5.17", "A5.18", "A5.19", "A5.20", "A5.21", "A5.22", "A5.23", "A5.24", "A5.25", "A5.26", "A5.28", "A5.29", "A5.30", "A5.31", "A5.32", "A5.36", "C2.25" ], "type": "string" }, "filler_metal_size": { "title": "Filler metal size", "description": ":ref:`Length` measure of filler metal diameter.", "examples": { "val": 1, "unit": "mm" }, "allOf": [ { "$ref": "#/definitions/Length" } ] }, "polarity": { "title": "Polarity", "description": "Polarity of electrical current flow used to weld.", "examples": "AC", "enum": [ "AC", "DCEP", "DCEN" ], "type": "string" }, "amps_min": { "title": "Minimum amperage for welding", "description": ":ref:`ElectricCurrent` measure of minimum amperage used to weld.", "examples": { "val": "75", "unit": "amp" }, "allOf": [ { "$ref": "#/definitions/ElectricCurrent" } ] }, "amps_max": { "title": "Maximum amperage", "description": ":ref:`ElectricCurrent` measure of maximum amperage used to weld.", "examples": { "val": "125", "unit": "A" }, "allOf": [ { "$ref": "#/definitions/ElectricCurrent" } ] }, "volt_min": { "title": "Minimum voltage ", "description": ":ref:`Volt` measure of minimum voltage used to weld.", "examples": { "val": "23", "unit": "V" }, "allOf": [ { "$ref": "#/definitions/Volt" } ] }, "volt_max": { "title": "Maximum voltage", "description": ":ref:`Volt` measure of maximum voltage used to weld.", "examples": { "val": "25", "unit": "V" }, "allOf": [ { "$ref": "#/definitions/Volt" } ] }, "travel_speed_min": { "title": "Minimum travel speed", "description": ":ref:`Speed` measure of minimum travel speed used to weld.", "examples": { "val": "14", "unit": "ipm" }, "allOf": [ { "$ref": "#/definitions/Speed" } ] }, "travel_speed_max": { "title": "Maximum travel speed", "description": ":ref:`Speed` measure of maximum travel speed used to weld.", "examples": { "val": "15", "unit": "ipm" }, "allOf": [ { "$ref": "#/definitions/Speed" } ] }, "heat_input_min": { "title": "Minimum heat input", "description": ":ref:`HeatInput` measure of minimum heat input used to weld.", "examples": { "val": "10", "unit": "kJ/in" }, "allOf": [ { "$ref": "#/definitions/HeatInput" } ] }, "heat_input_max": { "title": "Maximum heat input", "description": ":ref:`HeatInput` measure of maximum heat input used to weld.", "examples": { "val": "20", "unit": "kJ/in" }, "allOf": [ { "$ref": "#/definitions/HeatInput" } ] }, "interpass_min": { "title": "Minimum Interpass Temperature", "description": "Minimum :ref:`Temperature` measure of interpass.", "examples": { "val": "70", "unit": "C" }, "allOf": [ { "$ref": "#/definitions/Temperature" } ] }, "interpass_max": { "title": "Maximum Interpass Temperature", "description": "Maximum :ref:`Temperature` measure of interpass.", "examples": { "val": "200", "unit": "C" }, "allOf": [ { "$ref": "#/definitions/Temperature" } ] }, "position": { "title": "Type of Welding Position", "description": "Type of Welding Position, 1G, 2G, 5G, 6G.", "examples": "5G", "enum": [ "1G", "2G", "5G", "6G" ], "type": "string" }, "gas": { "title": "Type of Welding Gas ", "description": "Type of Gas used to weld.", "examples": "Argon ", "enum": [ "Ar", "CO2", "O2", "He", "N", "H" ], "type": "string" }, "gas_flow_rate": { "title": "Welding Gas Flow Rate ", "description": "Value of gas flow rate.", "examples": { "val": 1, "unit": "'mm.hr^-1'" }, "allOf": [ { "$ref": "#/definitions/Speed" } ] }, "gas_cup_size": { "title": "Gas cup size ", "description": ":ref:`Length` measure of gas cup size.", "examples": { "val": 4, "unit": "'mm" }, "allOf": [ { "$ref": "#/definitions/Length" } ] }, "tungsten_type": { "title": "Type of tungsten electrodes ", "description": "Type of tungsten electrodes. ", "examples": "EWP", "enum": [ "EWP", "EWTh-1", "EWTh-2", "EWZr", "EWCe-2", "EWLa-1" ], "type": "string" }, "tungsten_size": { "title": "Tunsgten Size ", "description": ":ref:`Length` measure of tungsten electrode size.", "examples": { "val": 175, "unit": "mm" }, "allOf": [ { "$ref": "#/definitions/Length" } ] }, "backing": { "title": "Backing used ", "description": "True or False backing used. ", "examples": true, "type": "boolean" }, "backgouging": { "title": "Backgouging process", "description": "True or False backgouging process used.", "examples": false, "type": "boolean" } } } } }
-
layer_name
: Optional[Literal[root, hot, fill, cap]] = PydanticUndefined Name of Layer, root, hot, fill or cap
- Constraints and examples:
examples = root
-
layer_nb
: Optional[int] = PydanticUndefined Order for the layer. 1 corresponds to the first layer at root
- Constraints and examples:
examples = [1, 2]
-
pdef_type
: str = 'weld_layer_spec' - Constraints and examples:
const = weld_layer_spec
-
records_of_weld_pass_spec
: Optional[List[pdef.model.weld_spec.WeldPassSpec]] = PydanticUndefined Embedded records of specifications for each weld pass, WeldPassSpec.
-
4.3.1.6.4.4. List WeldLayerSpec¶
Variable |
Type |
Description |
---|---|---|
pdef_id |
<class ‘str’> |
pdef_id is the unique identifier for the object. |
pdef_type |
<class ‘str’> |
|
meta_data |
<class ‘pdef.model.metadata.MetaData’> |
Optional user free structured MetaData object. |
additional_data |
<class ‘pdef.model.additional_data.AdditionalData’> |
Optional user free structured Additional Data object. |
layer_name |
typing.Literal[‘root’, ‘hot’, ‘fill’, ‘cap’] |
|
layer_nb |
<class ‘int’> |
Order for the layer. 1 corresponds to the first layer at root |
records_of_weld_pass_spec |
<class ‘pdef.model.weld_spec.WeldPassSpec’> |
Embedded records of specifications for each weld pass, WeldPassSpec. |
4.3.1.6.4.5. WeldPassSpec¶
4.3.1.6.4.5.1. Example WeldPassSpec¶
{
"pdef_id": "bb0226e9-82a6-4bbd-87aa-a2bb3a574117",
"pdef_type": "weld_pass_spec",
"meta_data": {},
"additional_data": {},
"pass_nb": 1,
"process": "SMAW",
"filler_metal_aws": "A5.9",
"filler_metal_size": {
"val": 1.0,
"unit": "mm"
},
"polarity": "AC",
"amps_min": {
"val": 75.0,
"unit": "A"
},
"amps_max": {
"val": 125.0,
"unit": "A"
},
"volt_min": {
"val": 25.0,
"unit": "V"
},
"volt_max": {
"val": 23.0,
"unit": "V"
},
"travel_speed_min": {
"val": 14.0,
"unit": "ipm"
},
"travel_speed_max": {
"val": 15.0,
"unit": "ipm"
},
"heat_input_min": {
"val": 10.0,
"unit": "kJ/in"
},
"heat_input_max": {
"val": 20.0,
"unit": "kJ/in"
},
"interpass_min": {
"val": 70.0,
"unit": "C"
},
"interpass_max": {
"val": 200.0,
"unit": "C"
},
"position": "6G",
"gas": "Ar",
"gas_flow_rate": {
"val": 11.0,
"unit": "mm.hr^-1"
},
"gas_cup_size": {
"val": 4.0,
"unit": "mm"
},
"tungsten_type": "EWP",
"tungsten_size": {
"val": 175.0,
"unit": "mm"
},
"backing": true,
"backgouging": false
}
4.3.1.6.4.5.2. Documentation WeldLayerSpec¶
WeldPassSpec stands for specification of weld pass.
The various WeldLayerSpec relevant for one weld layer spec are reported as an Nested Object into WeldLayerSpec.
A weld layer is typically made in one or more pass.
WeldPassSpec is an Nested Object. Therefore, the order in which it is provided in the JSON array is explicitly the order of physical application for the pass. The first WeldLayerSpec in the array corresponds to the first pass to be applied, and so on.
4.3.1.6.4.5.3. Schema WeldPassSpec¶
-
pdef.model.weld_spec.
WeldPassSpec
WeldPassSpec object stores data related to one pass of layer’s weld.
Show JSON schema
{ "title": "WeldPassSpec", "description": "`WeldPassSpec` object stores data related to one pass of layer's weld.", "type": "object", "properties": { "pdef_id": { "title": "PDEF id", "description": ":ref:`pdef_id` is the unique identifier for the object.", "example": "14474720-db23-453a-b9c0-6a9fc9b03ef3", "type": "string" }, "pdef_type": { "title": "Pdef Type", "const": "weld_pass_spec", "type": "string" }, "meta_data": { "title": "Metadata", "description": "Optional user free structured :ref:`Metadata` object.", "example": "{'created':'2021-09-03'}", "allOf": [ { "$ref": "#/definitions/MetaData" } ] }, "additional_data": { "title": "Additional Data", "description": "Optional user free structured :ref:`Additional Data` object.", "example": "{'color':'grey'}", "allOf": [ { "$ref": "#/definitions/AdditionalData" } ] }, "pass_nb": { "title": "Pass number", "description": "The pass. `1` corresponds to the first pass on top parent layer, and so on.", "examples": [ 1, 2 ], "type": "integer" }, "process": { "title": "welding process name", "description": "Type of welding process.", "examples": "SMAW", "enum": [ "OFW", "SMAW", "GTAW", "GMAW", "PAW", "FCAW", "SAW", "ESW", "EGW", "BRAZING", "THERMAL SPRAYING" ], "type": "string" }, "filler_metal_aws": { "title": "Americal Welding Society classification label of filler metal", "description": "Americal Welding Society classification label of filler metal.", "examples": "A5.9", "enum": [ "A5.1", "A5.2", "A5.3", "A5.4", "A5.5", "A5.6", "A5.7", "A5.8", "A5.9", "A5.10", "A5.11", "A5.12", "A5.14", "A5.15", "A5.16", "A5.17", "A5.18", "A5.19", "A5.20", "A5.21", "A5.22", "A5.23", "A5.24", "A5.25", "A5.26", "A5.28", "A5.29", "A5.30", "A5.31", "A5.32", "A5.36", "C2.25" ], "type": "string" }, "filler_metal_size": { "title": "Filler metal size", "description": ":ref:`Length` measure of filler metal diameter.", "examples": { "val": 1, "unit": "mm" }, "allOf": [ { "$ref": "#/definitions/Length" } ] }, "polarity": { "title": "Polarity", "description": "Polarity of electrical current flow used to weld.", "examples": "AC", "enum": [ "AC", "DCEP", "DCEN" ], "type": "string" }, "amps_min": { "title": "Minimum amperage for welding", "description": ":ref:`ElectricCurrent` measure of minimum amperage used to weld.", "examples": { "val": "75", "unit": "amp" }, "allOf": [ { "$ref": "#/definitions/ElectricCurrent" } ] }, "amps_max": { "title": "Maximum amperage", "description": ":ref:`ElectricCurrent` measure of maximum amperage used to weld.", "examples": { "val": "125", "unit": "A" }, "allOf": [ { "$ref": "#/definitions/ElectricCurrent" } ] }, "volt_min": { "title": "Minimum voltage ", "description": ":ref:`Volt` measure of minimum voltage used to weld.", "examples": { "val": "23", "unit": "V" }, "allOf": [ { "$ref": "#/definitions/Volt" } ] }, "volt_max": { "title": "Maximum voltage", "description": ":ref:`Volt` measure of maximum voltage used to weld.", "examples": { "val": "25", "unit": "V" }, "allOf": [ { "$ref": "#/definitions/Volt" } ] }, "travel_speed_min": { "title": "Minimum travel speed", "description": ":ref:`Speed` measure of minimum travel speed used to weld.", "examples": { "val": "14", "unit": "ipm" }, "allOf": [ { "$ref": "#/definitions/Speed" } ] }, "travel_speed_max": { "title": "Maximum travel speed", "description": ":ref:`Speed` measure of maximum travel speed used to weld.", "examples": { "val": "15", "unit": "ipm" }, "allOf": [ { "$ref": "#/definitions/Speed" } ] }, "heat_input_min": { "title": "Minimum heat input", "description": ":ref:`HeatInput` measure of minimum heat input used to weld.", "examples": { "val": "10", "unit": "kJ/in" }, "allOf": [ { "$ref": "#/definitions/HeatInput" } ] }, "heat_input_max": { "title": "Maximum heat input", "description": ":ref:`HeatInput` measure of maximum heat input used to weld.", "examples": { "val": "20", "unit": "kJ/in" }, "allOf": [ { "$ref": "#/definitions/HeatInput" } ] }, "interpass_min": { "title": "Minimum Interpass Temperature", "description": "Minimum :ref:`Temperature` measure of interpass.", "examples": { "val": "70", "unit": "C" }, "allOf": [ { "$ref": "#/definitions/Temperature" } ] }, "interpass_max": { "title": "Maximum Interpass Temperature", "description": "Maximum :ref:`Temperature` measure of interpass.", "examples": { "val": "200", "unit": "C" }, "allOf": [ { "$ref": "#/definitions/Temperature" } ] }, "position": { "title": "Type of Welding Position", "description": "Type of Welding Position, 1G, 2G, 5G, 6G.", "examples": "5G", "enum": [ "1G", "2G", "5G", "6G" ], "type": "string" }, "gas": { "title": "Type of Welding Gas ", "description": "Type of Gas used to weld.", "examples": "Argon ", "enum": [ "Ar", "CO2", "O2", "He", "N", "H" ], "type": "string" }, "gas_flow_rate": { "title": "Welding Gas Flow Rate ", "description": "Value of gas flow rate.", "examples": { "val": 1, "unit": "'mm.hr^-1'" }, "allOf": [ { "$ref": "#/definitions/Speed" } ] }, "gas_cup_size": { "title": "Gas cup size ", "description": ":ref:`Length` measure of gas cup size.", "examples": { "val": 4, "unit": "'mm" }, "allOf": [ { "$ref": "#/definitions/Length" } ] }, "tungsten_type": { "title": "Type of tungsten electrodes ", "description": "Type of tungsten electrodes. ", "examples": "EWP", "enum": [ "EWP", "EWTh-1", "EWTh-2", "EWZr", "EWCe-2", "EWLa-1" ], "type": "string" }, "tungsten_size": { "title": "Tunsgten Size ", "description": ":ref:`Length` measure of tungsten electrode size.", "examples": { "val": 175, "unit": "mm" }, "allOf": [ { "$ref": "#/definitions/Length" } ] }, "backing": { "title": "Backing used ", "description": "True or False backing used. ", "examples": true, "type": "boolean" }, "backgouging": { "title": "Backgouging process", "description": "True or False backgouging process used.", "examples": false, "type": "boolean" } }, "definitions": { "MetaData": { "title": "MetaData", "description": "Optional base JSON-fragment used to report meta data. User free structure.", "type": "object", "properties": {} }, "AdditionalData": { "title": "AdditionalData", "description": "Optional base JSON-fragment used to report additional user specific data. User free structure.", "type": "object", "properties": {} }, "Length": { "title": "Length", "description": ":ref:`Measure` of a length, distance, thickness, diameter, etc", "type": "object", "properties": { "val": { "title": "Value", "description": "The value taken by the Measure.", "examples": [ 1.0, -25.1, 1000000.0 ], "type": "number" }, "unit": { "title": "unit of measure", "description": "Unit of measure.", "enum": [ "km", "hm", "dam", "m", "dm", "cm", "mm", "microm", "ft", "in" ], "type": "string" } }, "required": [ "val", "unit" ], "additionalProperties": false }, "ElectricCurrent": { "title": "ElectricCurrent", "description": ":ref:`Measure` of the intensity of an electric current.", "type": "object", "properties": { "val": { "title": "Value", "description": "The value taken by the Measure.", "examples": [ 1.0, -25.1, 1000000.0 ], "type": "number" }, "unit": { "title": "unit of measure", "description": "Unit of measure.", "enum": [ "A" ], "type": "string" } }, "required": [ "val", "unit" ], "additionalProperties": false }, "Volt": { "title": "Volt", "description": ":ref:`Measure` of a current tension", "type": "object", "properties": { "val": { "title": "Value", "description": "The value taken by the Measure.", "examples": [ 1.0, -25.1, 1000000.0 ], "type": "number" }, "unit": { "title": "unit of measure", "description": "Unit of measure.", "enum": [ "V" ], "type": "string" } }, "required": [ "val", "unit" ], "additionalProperties": false }, "Speed": { "title": "Speed", "description": ":ref:`Measure` of speed", "type": "object", "properties": { "val": { "title": "Value", "description": "The value taken by the Measure.", "examples": [ 1.0, -25.1, 1000000.0 ], "type": "number" }, "unit": { "title": "unit of measure", "description": "Unit of measure.", "enum": [ "m.s^-1", "km.hr^-1", "mm.hr^-1", "knots", "ipm" ], "type": "string" } }, "required": [ "val", "unit" ], "additionalProperties": false }, "HeatInput": { "title": "HeatInput", "description": ":ref:`Measure` of Heat Input", "type": "object", "properties": { "val": { "title": "Value", "description": "The value taken by the Measure.", "examples": [ 1.0, -25.1, 1000000.0 ], "type": "number" }, "unit": { "title": "unit of measure", "description": "Unit of measure.", "enum": [ "J/in", "J/mm", "kJ/in", "kJ/mm" ], "type": "string" } }, "required": [ "val", "unit" ], "additionalProperties": false }, "Temperature": { "title": "Temperature", "description": ":ref:`Measure` of temperature", "type": "object", "properties": { "val": { "title": "Value", "description": "The value taken by the Measure.", "examples": [ 1.0, -25.1, 1000000.0 ], "type": "number" }, "unit": { "title": "unit of measure", "description": "Unit of measure.", "enum": [ "K", "C", "F" ], "type": "string" } }, "required": [ "val", "unit" ], "additionalProperties": false } } }
-
amps_max
: Optional[pdef.model.measure.ElectricCurrent] = PydanticUndefined ElectricCurrent measure of maximum amperage used to weld.
- Constraints and examples:
examples = {‘val’: ‘125’, ‘unit’: ‘A’}
-
amps_min
: Optional[pdef.model.measure.ElectricCurrent] = PydanticUndefined ElectricCurrent measure of minimum amperage used to weld.
- Constraints and examples:
examples = {‘val’: ‘75’, ‘unit’: ‘amp’}
-
backgouging
: Optional[bool] = PydanticUndefined True or False backgouging process used.
- Constraints and examples:
examples = False
-
backing
: Optional[bool] = PydanticUndefined True or False backing used.
- Constraints and examples:
examples = True
-
filler_metal_aws
: Optional[Literal[A5.1, A5.2, A5.3, A5.4, A5.5, A5.6, A5.7, A5.8, A5.9, A5.10, A5.11, A5.12, A5.14, A5.15, A5.16, A5.17, A5.18, A5.19, A5.20, A5.21, A5.22, A5.23, A5.24, A5.25, A5.26, A5.28, A5.29, A5.30, A5.31, A5.32, A5.36, C2.25]] = PydanticUndefined Americal Welding Society classification label of filler metal.
- Constraints and examples:
examples = A5.9
-
filler_metal_size
: Optional[pdef.model.measure.Length] = PydanticUndefined Length measure of filler metal diameter.
- Constraints and examples:
examples = {‘val’: 1, ‘unit’: ‘mm’}
-
gas
: Optional[Literal[Ar, CO2, O2, He, N, H]] = PydanticUndefined Type of Gas used to weld.
- Constraints and examples:
examples = Argon
-
gas_cup_size
: Optional[pdef.model.measure.Length] = PydanticUndefined Length measure of gas cup size.
- Constraints and examples:
examples = {‘val’: 4, ‘unit’: “‘mm”}
-
gas_flow_rate
: Optional[pdef.model.measure.Speed] = PydanticUndefined Value of gas flow rate.
- Constraints and examples:
examples = {‘val’: 1, ‘unit’: “‘mm.hr^-1’”}
-
heat_input_max
: Optional[pdef.model.measure.HeatInput] = PydanticUndefined HeatInput measure of maximum heat input used to weld.
- Constraints and examples:
examples = {‘val’: ‘20’, ‘unit’: ‘kJ/in’}
-
heat_input_min
: Optional[pdef.model.measure.HeatInput] = PydanticUndefined HeatInput measure of minimum heat input used to weld.
- Constraints and examples:
examples = {‘val’: ‘10’, ‘unit’: ‘kJ/in’}
-
interpass_max
: Optional[pdef.model.measure.Temperature] = PydanticUndefined Maximum Temperature measure of interpass.
- Constraints and examples:
examples = {‘val’: ‘200’, ‘unit’: ‘C’}
-
interpass_min
: Optional[pdef.model.measure.Temperature] = PydanticUndefined Minimum Temperature measure of interpass.
- Constraints and examples:
examples = {‘val’: ‘70’, ‘unit’: ‘C’}
-
pass_nb
: Optional[int] = PydanticUndefined The pass. 1 corresponds to the first pass on top parent layer, and so on.
- Constraints and examples:
examples = [1, 2]
-
pdef_type
: str = 'weld_pass_spec' - Constraints and examples:
const = weld_pass_spec
-
polarity
: Optional[Literal[AC, DCEP, DCEN]] = PydanticUndefined Polarity of electrical current flow used to weld.
- Constraints and examples:
examples = AC
-
position
: Optional[Literal[1G, 2G, 5G, 6G]] = PydanticUndefined Type of Welding Position, 1G, 2G, 5G, 6G.
- Constraints and examples:
examples = 5G
-
process
: Optional[Literal[OFW, SMAW, GTAW, GMAW, PAW, FCAW, SAW, ESW, EGW, BRAZING, THERMAL SPRAYING]] = PydanticUndefined Type of welding process.
- Constraints and examples:
examples = SMAW
-
travel_speed_max
: Optional[pdef.model.measure.Speed] = PydanticUndefined Speed measure of maximum travel speed used to weld.
- Constraints and examples:
examples = {‘val’: ‘15’, ‘unit’: ‘ipm’}
-
travel_speed_min
: Optional[pdef.model.measure.Speed] = PydanticUndefined Speed measure of minimum travel speed used to weld.
- Constraints and examples:
examples = {‘val’: ‘14’, ‘unit’: ‘ipm’}
-
tungsten_size
: Optional[pdef.model.measure.Length] = PydanticUndefined Length measure of tungsten electrode size.
- Constraints and examples:
examples = {‘val’: 175, ‘unit’: ‘mm’}
-
tungsten_type
: Optional[Literal[EWP, EWTh-1, EWTh-2, EWZr, EWCe-2, EWLa-1]] = PydanticUndefined Type of tungsten electrodes.
- Constraints and examples:
examples = EWP
-
volt_max
: Optional[pdef.model.measure.Volt] = PydanticUndefined Volt measure of maximum voltage used to weld.
- Constraints and examples:
examples = {‘val’: ‘25’, ‘unit’: ‘V’}
-
volt_min
: Optional[pdef.model.measure.Volt] = PydanticUndefined Volt measure of minimum voltage used to weld.
- Constraints and examples:
examples = {‘val’: ‘23’, ‘unit’: ‘V’}
-
4.3.1.6.4.5.4. List WeldPassSpec¶
Variable |
Type |
Description |
---|---|---|
pdef_id |
<class ‘str’> |
pdef_id is the unique identifier for the object. |
pdef_type |
<class ‘str’> |
|
meta_data |
<class ‘pdef.model.metadata.MetaData’> |
Optional user free structured MetaData object. |
additional_data |
<class ‘pdef.model.additional_data.AdditionalData’> |
Optional user free structured Additional Data object. |
pass_nb |
<class ‘int’> |
The pass. 1 corresponds to the first pass on top parent layer, and so on. |
process |
typing.Literal[‘OFW’, ‘SMAW’, ‘GTAW’, ‘GMAW’, ‘PAW’, ‘FCAW’, ‘SAW’, ‘ESW’, ‘EGW’, ‘BRAZING’, ‘THERMAL SPRAYING’] |
Type of welding process. |
filler_metal_aws |
typing.Literal[‘A5.1’, ‘A5.2’, ‘A5.3’, ‘A5.4’, ‘A5.5’, ‘A5.6’, ‘A5.7’, ‘A5.8’, ‘A5.9’, ‘A5.10’, ‘A5.11’, ‘A5.12’, ‘A5.14’, ‘A5.15’, ‘A5.16’, ‘A5.17’, ‘A5.18’, ‘A5.19’, ‘A5.20’, ‘A5.21’, ‘A5.22’, ‘A5.23’, ‘A5.24’, ‘A5.25’, ‘A5.26’, ‘A5.28’, ‘A5.29’, ‘A5.30’, ‘A5.31’, ‘A5.32’, ‘A5.36’, ‘C2.25’] |
Americal Welding Society classification label of filler metal. |
filler_metal_size |
<class ‘pdef.model.measure.Length’> |
Length measure of filler metal diameter. |
polarity |
typing.Literal[‘AC’, ‘DCEP’, ‘DCEN’] |
Polarity of electrical current flow used to weld. |
amps_min |
<class ‘pdef.model.measure.ElectricCurrent’> |
ElectricCurrent measure of minimum amperage used to weld. |
amps_max |
<class ‘pdef.model.measure.ElectricCurrent’> |
ElectricCurrent measure of maximum amperage used to weld. |
volt_min |
<class ‘pdef.model.measure.Volt’> |
Volt measure of minimum voltage used to weld. |
volt_max |
<class ‘pdef.model.measure.Volt’> |
Volt measure of maximum voltage used to weld. |
travel_speed_min |
<class ‘pdef.model.measure.Speed’> |
Speed measure of minimum travel speed used to weld. |
travel_speed_max |
<class ‘pdef.model.measure.Speed’> |
Speed measure of maximum travel speed used to weld. |
heat_input_min |
<class ‘pdef.model.measure.HeatInput’> |
HeatInput measure of minimum heat input used to weld. |
heat_input_max |
<class ‘pdef.model.measure.HeatInput’> |
HeatInput measure of maximum heat input used to weld. |
interpass_min |
<class ‘pdef.model.measure.Temperature’> |
Minimum Temperature measure of interpass. |
interpass_max |
<class ‘pdef.model.measure.Temperature’> |
Maximum Temperature measure of interpass. |
position |
typing.Literal[‘1G’, ‘2G’, ‘5G’, ‘6G’] |
Type of Welding Position, 1G, 2G, 5G, 6G. |
gas |
typing.Literal[‘Ar’, ‘CO2’, ‘O2’, ‘He’, ‘N’, ‘H’] |
Type of Gas used to weld. |
gas_flow_rate |
<class ‘pdef.model.measure.Speed’> |
Value of gas flow rate. |
gas_cup_size |
<class ‘pdef.model.measure.Length’> |
Length measure of gas cup size. |
tungsten_type |
typing.Literal[‘EWP’, ‘EWTh-1’, ‘EWTh-2’, ‘EWZr’, ‘EWCe-2’, ‘EWLa-1’] |
Type of tungsten electrodes. |
tungsten_size |
<class ‘pdef.model.measure.Length’> |
Length measure of tungsten electrode size. |
backing |
<class ‘bool’> |
True or False backing used. |
backgouging |
<class ‘bool’> |
True or False backgouging process used. |