Skip to content

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

L2 Checks passed 3 of 3 runsv1.0.0Tech-Realm/space-engineering-public

Install

logicpacks pack use engineering-public/ohms-law-and-wire-sizing
get_pack engineering-public/ohms-law-and-wire-sizing

The 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

  1. Total the load in watts.
  2. Run wire.py with the one-way run length.
  3. 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)

  1. python-stdlib: code/wire.py (no install).