Chen Yin-ChenCYCU Biz Design
Home
About
AboutSchedule
Courses
Computational Thinking & ProgrammingNatural Science & Artificial IntelligenceProgramming Language Introduction
Interactive
Variable SwapMonty HallBetting SimulatorSliding PuzzleTower of Hanoi
Programming
JS Basic TutorialJavaScriptP5.js (Lecture)
Applications
Human Motion SystemAstrology SystemArchitecture System

Language

Traditional ChineseSimplified ChineseEnglish

Chen Yin-Chen

Business Design Department, Chung Yuan Christian University
Zishen Technology

Quick Links

  • About
  • Schedule
  • Games
  • JavaScript

Contact & Social

© 2026 Chen Yin-Chen。All rights reserved。

Built with Next.js & Tailwind CSS

🏠 系統概論💡 開關邏輯💧 水路模型🔧 除錯實戰

建築系統 · 給水工程

水路模型 — 供水壓力與並聯負載

點擊水龍頭開關,觀察同時用水時壓力如何下降

🏗 水塔100%⚡幫浦3F 幹管○3F-左○3F-右2F 幹管○2F-左○2F-右1F 幹管○1F-左○1F-右

點擊 ○ / ● 圖示開關水龍頭

水路就是電路

每個並聯支路都分走了「壓力」(電壓)

🔧 幹管水壓100%
低壓正常

水龍頭狀態 (0/6 開啟)

💡 水路 = 電路類比

水壓電壓 (V)
流量電流 (I)
管徑阻力電阻 (R)
幫浦電源

公式模型

// 並聯水龍頭降壓公式
const BASE_PRESSURE = 100; // %
const DROP_PER_TAP  = 14;  // %

function pressure(openTaps: number) {
  return Math.max(
    0,
    BASE_PRESSURE - openTaps * DROP_PER_TAP
  );
}

// 相當於電路中的並聯電阻:
// 1/R_total = Σ 1/R_i
// 並聯越多 → 總阻力越小
// → 同一電壓下電流越大