oltc-selector 1.2.5 → 1.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +3 -3
  2. package/bin/oltc.js +41 -2
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  填工况,给出 2025 目录里**最低满足**的型号。网页和 `oltc` CLI 共用同一份 `selectOltc` 引擎。
4
4
 
5
- **CLI(无报价):** `npm i -g oltc-selector`,命令是 `oltc`。Agent 技能包:`skills/huaming-oltc-selector/`(站点 `/agents/` 可下载 zip)。
5
+ **CLI(无报价):** `npx -y oltc-selector@1.2.7`,命令是 `oltc`。Agent 技能包在独立仓库 [`erict16/huaming-oltc-selector`](https://github.com/erict16/huaming-oltc-selector)。
6
6
  **网页:** [oltc-selector.vercel.app](https://oltc-selector.vercel.app/) · [GitHub Pages](https://erict16.github.io/oltc-selector/)
7
7
 
8
8
  私人辅助,不是厂家官网。型号是起点,出 OS 前要工程确认。
@@ -46,10 +46,10 @@ oltc --mva 25 --kv 110 --conn Y --reg W --pm 8
46
46
 
47
47
  ## Selection rules
48
48
 
49
- 1. **Minimum-adequate, not SHZV-by-default.** Rank **CV2 → CM2 → SHZV → SHZVG**. Prefer one three-phase unit over `3×` singles when a brochure III type exists.
49
+ 1. **Minimum-adequate, not SHZV-by-default.** Rank **CV2 → CM2 → SHZV → SDZV → SHZVG**. SDZV (dual-break, Ust 6000 V) only when SHZV step voltage or step capacity is short. Prefer one three-phase unit over `3×` singles when a brochure III type exists.
50
50
  2. **OLTC existence comes from brochure / catalogue axes** (`lib/catalog.ts`), **not price-list Y/D twins**. A 2025 list row that prices `CM2III-…D` the same as Y does **not** make `CM2III-…D` a type.
51
51
  3. **No CV2-500.** CV2 III currents are 350 and 600 only.
52
- 4. **No combined III-D.** CM / CM2 / CMD / SHZV / SHZVG three-phase strings are star-point Y. Cover delta with `3x…I-` when that I type exists. Compound **CV / CV2 / SV** and on-tank **HWV** III-D **do** exist.
52
+ 4. **No combined III-D.** CM / CM2 / CMD / SHZV / SDZV / SHZVG three-phase strings are star-point Y. Cover delta with `3x…I-` when that I type exists. Compound **CV / CV2 / SV** and on-tank **HWV** III-D **do** exist. No SDZV II, I-1200/1500, or III-1300.
53
53
  5. **Compound has no selector grade letter.** No `CV2III-350Y/40.5B-…`. Combined in-tank may have B/C/D/DE after Um.
54
54
  6. **WSL / WDL existence is 2025-list row keys without prices** (`lib/listIndex.data.json`). Missing rows (no `WSLIV-2000D/126`, no `7x6E` @ 72.5) are not emitted.
55
55
  7. **WSG** is catalogue axes only (no 2025 list sheet in the index).
package/bin/oltc.js CHANGED
@@ -361,7 +361,10 @@ var STEP_VOLTAGE_OPTIONS_V = [
361
361
  2500,
362
362
  3e3,
363
363
  3300,
364
- 4e3
364
+ 4e3,
365
+ 4500,
366
+ 5e3,
367
+ 6e3
365
368
  ];
366
369
  var STEP_VOLTAGE_MENU = catalogueMenu(
367
370
  STEP_VOLTAGE_OPTIONS_V,
@@ -442,6 +445,8 @@ var FAMILY_MIN_RANK = {
442
445
  sv: 19,
443
446
  cm2: 25,
444
447
  shzv: 40,
448
+ sdzv: 42,
449
+ // dual-break vacuum; only when SHZV Ust / step capacity is short
445
450
  shzvg: 45,
446
451
  // high-current vacuum after standard SHZV
447
452
  cm: 50,
@@ -493,6 +498,40 @@ var SERIES = [
493
498
  notesZh: "\u7BB1\u5185\u771F\u7A7A\u7EC4\u5408\u5F0F\u3002\u6837\u672C\u4E09\u76F8\u578B\u53F7\u53EA\u7ED9\u661F\u70B9\uFF08\u6CA1\u6709 SHZVIII-\u2026D\uFF09\u3002\u5F53\u590D\u5408\u5F0F/CM2 \u4E0D\u591F\u65F6\u7528\u3002\u4E09\u76F8\u7535\u6D41\u663E\u8457\u5927\u4E8E 1000 A \u89C1 SHZVG\u3002",
494
499
  rank: 40
495
500
  },
501
+ {
502
+ id: "sdzv",
503
+ code: "SDZV",
504
+ nameEn: "SDZV in-tank dual-break vacuum OLTC (combined)",
505
+ nameZh: "SDZV \u7BB1\u5185\u53CC\u65AD\u53E3\u771F\u7A7A\u6709\u8F7D\u5F00\u5173\uFF08\u7EC4\u5408\u5F0F\uFF09",
506
+ mounting: ["in_tank"],
507
+ medium: "oil_vacuum",
508
+ structure: "combined",
509
+ vacuum: true,
510
+ // 2024-11-13 技术数据 / 样本: III 400/600/1000; I 400/600/1000/1600/2400.
511
+ // No II, no I-1200/1500, no III-1300 (old type-test only).
512
+ currents: {
513
+ I: [400, 600, 1e3, 1600, 2400],
514
+ III: [400, 600, 1e3]
515
+ },
516
+ umKv: [72.5, 126, 170, 252, 300, 363],
517
+ usesSelectorSize: true,
518
+ maxStepVoltageV: 6e3,
519
+ stepCapacityByCurrent: {
520
+ 400: 2250,
521
+ 600: 2400,
522
+ 1e3: 4500,
523
+ 1600: 6600,
524
+ 2400: 8400
525
+ },
526
+ connections: ["Y", "D"],
527
+ iiiConnections: ["Y"],
528
+ maxPositionsLinear: 14,
529
+ maxPositionsWithChangeOver: 27,
530
+ defaultMdu: "CMA7",
531
+ notesEn: "Dual-break vacuum combined (two interrupters in series). Brochure III is star-point only (no SDZVIII-\u2026D). Use when SHZV 4000 V / step capacity is short. Standard positions 14 / 27; do not invent 18-contact or III-1300.",
532
+ notesZh: "\u53CC\u65AD\u53E3\u771F\u7A7A\u7EC4\u5408\u5F0F\u3002\u6837\u672C\u4E09\u76F8\u53EA\u7ED9\u661F\u70B9\uFF08\u6CA1\u6709 SDZVIII-\u2026D\uFF09\u3002\u4EC5\u5F53 SHZV \u7EA7\u7535\u538B 4000 V \u6216\u7EA7\u5BB9\u91CF\u4E0D\u591F\u65F6\u9009\u7528\u3002\u5E38\u89C4\u6863\u4F4D 14 / 27\uFF0C\u4E0D\u8981\u7F16 18 \u89E6\u5934\u6216 III-1300\u3002",
533
+ rank: 42
534
+ },
496
535
  {
497
536
  id: "shzvg",
498
537
  code: "SHZVG",
@@ -1098,7 +1137,7 @@ function resolveOctcListKey(model) {
1098
1137
  }
1099
1138
 
1100
1139
  // lib/typeExists.ts
1101
- var STAR_ONLY_III = /* @__PURE__ */ new Set(["cm", "cm2", "cmd", "shzv", "shzvg"]);
1140
+ var STAR_ONLY_III = /* @__PURE__ */ new Set(["cm", "cm2", "cmd", "shzv", "sdzv", "shzvg"]);
1102
1141
  var II_OMITS_CONNECTION = /* @__PURE__ */ new Set(["cm", "cm2", "cmd"]);
1103
1142
  var COMPOUND_NO_GRADE = /* @__PURE__ */ new Set(["cv", "cv2", "sv", "cvt", "cz"]);
1104
1143
  function commercialTypeExists(model, series) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oltc-selector",
3
- "version": "1.2.5",
3
+ "version": "1.2.7",
4
4
  "description": "Huaming OLTC/OCTC type selection CLI. No prices. Same engine as the web app.",
5
5
  "bin": {
6
6
  "oltc": "bin/oltc.js"