Skip to content

mm^2 to AWG conversion is wrong defined #463

Description

@NoTwixD

orginal source wv_helper.py in master branch is

awg_equiv_table = {
"0.09": "28",
"0.14": "26",
"0.25": "24",
"0.34": "22",
"0.5": "21",
"0.75": "20",
"1": "18",
"1.5": "16",
"2.5": "14",
"4": "12",
"6": "10",
"10": "8",
"16": "6",
"25": "4",
"35": "2",
"50": "1",
}

as we know its wrong becouse 0.5mm^2 is not 21 awg
also 0.34mm^2 was adjusted to easy to buy 0.35mm^2 that is only aviable size in metrics, the same to awg 21 , 0.4mm^2 and its not 0.5mm^2
the same for awg 20 as its not 0.75 , add awg 17 as its true 1mm^2

Image

it should be :

awg_equiv_table = {
"0.05": "30",
"0.08": "28",
"0.10": "27",
"0.14": "26",
"0.25": "24",
"0.35": "22",
"0.4": "21",
"0.5": "20",
"0.75": "18",
"1": "17",
"1.5": "16",
"2.5": "14",
"4": "12",
"6": "10",
"10": "8",
"16": "6",
"25": "4",
"35": "2",
"50": "1",
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions