Chen Yin-ChenCYCU Biz Designby Infowin
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 ChineseEnglishJapanese

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

🏠 System Overview💡 Switch Logic💧 Water Model🔧 Debug in Action

Application · Architecture System

Renovation is
Real-World Debug

Pipelines = data flow, circuits = logic gates, breakers = exception handling. Managing apartments taught me: viewing space through an engineer's lens, all problems have structural solutions.

Go to Course About Instructor

System Deconstruction

Four Major Subsystems in Interior Space

An apartment is a compound system of multiple subsystems that operate independently yet are coupled. Each has its own 'language' but underlying logic is remarkably similar.

⚡

Power System → Directed Acyclic Graph (DAG)

  • ·Main breaker → Branch circuits → Outlets/fixtures form a 'tree topology'
  • ·Circuit current is 'data flow', voltage difference is 'driving force'
  • ·Breaker trip = system detects load exceeding threshold 'circuit breaker' protection
  • ·Short circuit = low-impedance bypass causing current surge, analogous to 'infinite loop' in code
💧

Water System → Pressurized Network

  • ·'Supply water is pressurized network, drainage uses gravity gradient'
  • ·Water pressure = system working voltage, flow = current, pipe diameter = wire gauge
  • ·Pipe junction (T-joint) = circuit node, subject to Kirchhoff's current law
  • ·Pressure relief and check valves → correspond to Zener diode and one-way valve in circuits
🌡️

Air Conditioning → Heat Transfer System

  • ·Room is a 'thermal capacitor', walls are 'thermal resistance'
  • ·AC's COP = cooling output / electrical input, analogous to power supply efficiency
  • ·Temperature control = 'proportional-integral-derivative (PID)' controller implementation
  • ·Insulation = reducing thermal resistance, like increasing insulation resistance in circuits
🔒

Access Control → State Machine (FSM)

  • ·Lock open/close = two-state finite state machine
  • ·Electronic card reader = RFID reader + 'authentication' protocol
  • ·Multi-tenant apartment management = multi-user access control (RBAC)
  • ·Emergency unlock backup = 'fault tolerance' design in systems

Troubleshooting

Maintenance Equals Debug — Methodology

How engineers troubleshoot bugs and plumbers find faults are remarkably similar. Good plumbers use the scientific method.

📋

01 Problem Description

'Bathroom has no hot water' → precisely define problem boundaries. Is it 'all hot water ports' or 'just shower'? Narrow problem scope.

🧪

02 Generate Hypotheses

List all possible causes: gas stove not ignited? Heater setting wrong? Pipe clogged? Check valve stuck? → This is 'hypothesis space'

🎛️

03 Control Variables

Test one variable at a time (Controlled Experiment): confirm gas → confirm heater power → confirm outlet... → Real-world Binary Search

📏

04 Measure & Verify

Use thermometer for water temp, multimeter for voltage, pressure gauge for water pressure → Quantitative data eliminates subjective judgment

✅

05 Fix & Record

After fixing, record failure cause, solution method, part numbers → Build 'fault database' for faster diagnosis next time

Analogy Learning

Water = Electricity: Two Fluids, Same Math

Hydraulics
Physics Formula
Electrical
Water Pressure (Pa)
P = ρgh
Voltage (V)
Flow Rate (m³/s)
Q = A·v
Current (A)
Pipe Resistance
R = 8ηL / πr⁴
Resistance (Ω)
Water Tank
C = V / P
Capacitance (F)
Water Pump
P = Q·ΔP
Power Source (W)
Flow Conservation (Node)
ΣQ_in = ΣQ_out
KCL: ΣI_in = ΣI_out

Life is the Best Laboratory

'Natural Science and Artificial Intelligence' course brings these analogies into classrooms, letting students use familiar scenarios to understand abstract engineering principles.

Go to Courses