Packs / engineering-public
ohms-law-and-wire-sizing
compute current, power and copper-wire voltage drop for a DC run and pick the smallest wire under a drop limit
Install
logicpacks pack use engineering-public/ohms-law-and-wire-sizingget_pack engineering-public/ohms-law-and-wire-sizingThe second line is the MCP tool call for the LogicPacks connector (Claude Code, Codex, Claude.ai and others). The first run of a pack someone else wrote asks for your yes.
Keys it needs (names only)
None.
Playbooks included
- Spec:
spec/SPEC.md(goal, steps, edge cases, don’ts) - Routes:
python-stdlib - Checks: 1 in
outcome/checks.yaml - Code:
wire.py - Tools: python3
Usage, last 8 weeks
New: no recorded use yet.
Purpose (from spec/SPEC.md)
Goal
Compute current, power and copper-wire voltage drop for a DC run and pick the smallest wire under a drop limit.
Steps
- Total the load in watts.
- Run wire.py with the one-way run length.
- Pick the larger of the drop-based size and the ampacity-table size; fuse at the source.
Edge cases
- AC mains circuits follow local wiring codes; this is for low-voltage DC.
- High ambient temperature lowers ampacity.
Don'ts
- Don't work on mains wiring without a licensed electrician.
Routes (free first)
python-stdlib:code/wire.py(no install).