Switchgear Power Calculator | Electrical Distribution tailwind.config = { theme: { extend: { colors: { primary: '#0F4C81', secondary: '#26A69A', accent: '#FF9800', neutral: '#F5F7FA', dark: '#1A202C', danger: '#E53E3E', warning: '#ED8936', success: '#38A169', }, fontFamily: { inter: ['Inter', 'system-ui', 'sans-serif'], }, boxShadow: { 'card': '0 10px 30px -5px rgba(15, 76, 129, 0.1)', 'hover': '0 20px 40px -5px rgba(15, 76, 129, 0.15)', } }, } } @layer utilities { .content-auto { content-visibility: auto; } .input-focus { @apply focus:border-primary focus:ring-2 focus:ring-primary/20 focus:outline-none; } .card-hover { @apply hover:shadow-hover hover:-translate-y-1 transition-all duration-300; } .formula-highlight { @apply bg-primary/10 text-primary font-medium px-2 py-1 rounded; } .power-factor-indicator { @apply w-full h-2 rounded-full mt-1; } } /* Base Animations */ @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } .animate-fade-in { animation: fadeIn 0.5s ease-out forwards; } /* Smooth Scrolling */ html { scroll-behavior: smooth; } /* Remove Number Input Arrows */ input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; } input[type="number"] { -moz-appearance: textfield; } /* Power Triangle Visualization */ .power-triangle { position: relative; width: 200px; height: 200px; margin: 0 auto; } .triangle-svg { width: 100%; height: 100%; } .power-label { position: absolute; text-align: center; } .label-kva { top: -25px; left: 50%; transform: translateX(-50%); } .label-kw { bottom: 10px; left: 10px; } .label-kvar { bottom: 10px; right: 10px; } .label-angle { top: 70px; left: 50%; transform: translateX(-50%); }

Switchgear Power Calculator

Calculate key electrical parameters for switchgear and power distribution systems. Determine apparent power (kVA), real power (kW), reactive power (kVAR), and current (I) for single-phase and three-phase systems.

Power Relationship Visualization

S (kVA) Apparent Power
P (kW) Real Power
Q (kVAR) Reactive Power
cosφ Power Factor

System Configuration

Power Factor Range

0.7 (Poor) 0.8 (Average) 0.9 (Good) 1.0 (Ideal)

Typical operating range: 0.8 - 0.95

Enter System Parameters

V

Common values: 120, 240, 480, 600, 12470 V

kW
pu

Range: 0.7 (minimum) to 1.0 (unity)

Switchgear Technical Reference

Key Formulas

Apparent Power (kVA)

S = P / cosφ

Where: S = Apparent Power (kVA), P = Real Power (kW), cosφ = Power Factor

Reactive Power (kVAR)

Q = P × tanφ

Where: Q = Reactive Power (kVAR), P = Real Power (kW), tanφ = Tangent of Power Factor Angle

Single-Phase Current (A)

I = S × 1000 / V

Where: I = Current (A), S = Apparent Power (kVA), V = Voltage (V)

Three-Phase Current (A)

I = S × 1000 / (√3 × V)

Where: I = Current (A), S = Apparent Power (kVA), V = Line Voltage (V)

Switchgear Selection Guidelines

Current Rating

Select switchgear with continuous current rating ≥ calculated current (125% safety margin recommended)

Short Circuit Rating

Ensure switchgear can withstand available short circuit current at the installation point

Voltage Rating

Switchgear voltage rating must be ≥ system voltage (consider 110% of nominal voltage)

Power Factor Considerations

Lower power factor increases apparent power and current, requiring larger switchgear

Future Expansion

Allow 20-30% capacity margin for future load growth and system modifications

Industry Standards
  • • ANSI/IEEE C37.20 - Low-Voltage Switchgear
  • • IEC 62271 - High-Voltage Switchgear and Controlgear
  • • NEC (NFPA 70) - National Electrical Code
  • • NEMA MG 1 - Motors and Generators

Frequently Asked Questions

// FAQ Toggle Functionality const faqToggles = document.querySelectorAll('.faq-toggle'); faqToggles.forEach(toggle => { toggle.addEventListener('click', () => { const content = toggle.nextElementSibling; const icon = toggle.querySelector('i'); // Toggle current FAQ item content.classList.toggle('hidden'); icon.classList.toggle('rotate-45'); // Close other FAQ items faqToggles.forEach(otherToggle => { if (otherToggle !== toggle) { const otherContent = otherToggle.nextElementSibling; const otherIcon = otherToggle.querySelector('i'); otherContent.classList.add('hidden'); otherIcon.classList.remove('rotate-45'); } }); }); }); // Switchgear Calculation Functionality const switchgearForm = document.getElementById('switchgear-form'); const voltageInput = document.getElementById('voltage'); const powerInput = document.getElementById('power'); const powerFactorInput = document.getElementById('power-factor'); const systemTypeRadios = document.querySelectorAll('input[name="system-type"]'); const resultContainer = document.getElementById('result-container'); const pfIndicatorFill = document.getElementById('pf-indicator-fill'); // Get result elements const resultKva = document.getElementById('result-kva'); const resultKvar = document.getElementById('result-kvar'); const resultCurrent = document.getElementById('result-current'); const resultAngle = document.getElementById('result-angle'); const currentFormula = document.getElementById('current-formula'); const systemTypeDisplay = document.getElementById('system-type-display'); const voltageDisplay = document.getElementById('voltage-display'); const powerDisplay = document.getElementById('power-display'); const pfDisplay = document.getElementById('pf-display'); const formulaDetails = document.getElementById('formula-details'); // Initial calculation calculateSwitchgear(); // Update power factor indicator powerFactorInput.addEventListener('input', updatePfIndicator); // Form submission handling switchgearForm.addEventListener('submit', (e) => { e.preventDefault(); calculateSwitchgear(); // Smooth scroll to result resultContainer.scrollIntoView({ behavior: 'smooth', block: 'nearest' }); }); // Update power factor indicator function updatePfIndicator() { const pf = parseFloat(powerFactorInput.value) || 0.85; // Convert 0.7-1.0 range to 0-100% width const percentage = ((pf - 0.7) / 0.3) * 100; pfIndicatorFill.style.width = `${Math.min(100, Math.max(0, percentage))}%`; } // Calculate switchgear parameters function calculateSwitchgear() { // Get input values const V = parseFloat(voltageInput.value) || 480; const P = parseFloat(powerInput.value) || 100; const pf = parseFloat(powerFactorInput.value) || 0.85; const systemType = document.querySelector('input[name="system-type"]:checked').value; // Validate inputs if (V <= 0 || P <= 0 || pf 1.0) { alert('Please enter valid values within the specified ranges:'); alert('- Voltage: > 0 V'); alert('- Power: > 0 kW'); alert('- Power Factor: 0.7 - 1.0'); return; } // Calculate parameters const S = P / pf; // Apparent power in kVA const phi = Math.acos(pf); // Power factor angle in radians const Q = P * Math.tan(phi); // Reactive power in kVAR const angleDegrees = (phi * 180 / Math.PI).toFixed(1); // Convert to degrees // Calculate current let I; let currentFormulaText; if (systemType === 'three-phase') { I = (S * 1000) / (Math.sqrt(3) * V); // Three-phase current currentFormulaText = 'I = S × 1000 / (√3 × V)'; } else { I = (S * 1000) / V; // Single-phase current currentFormulaText = 'I = S × 1000 / V'; } // Update result displays resultKva.textContent = `${S.toFixed(1)} kVA`; resultKvar.textContent = `${Q.toFixed(1)} kVAR`; resultCurrent.textContent = `${I.toFixed(1)} A`; resultAngle.textContent = `${angleDegrees}°`; currentFormula.textContent = currentFormulaText; // Update calculation details systemTypeDisplay.textContent = systemType === 'three-phase' ? 'Three-Phase' : 'Single-Phase'; voltageDisplay.textContent = `${V} V`; powerDisplay.textContent = `${P} kW`; pfDisplay.textContent = `${pf.toFixed(2)}`; // Update formula details const tanPhi = Math.tan(phi).toFixed(3); const sqrt3 = Math.sqrt(3).toFixed(3); if (systemType === 'three-phase') { formulaDetails.innerHTML = `

Apparent Power: ${P} kW / ${pf.toFixed(2)} = ${S.toFixed(1)} kVA

Reactive Power: ${P} kW × ${tanPhi} = ${Q.toFixed(1)} kVAR

Line Current: ${S.toFixed(1)} × 1000 VA / (${sqrt3} × ${V} V) = ${I.toFixed(1)} A

`; } else { formulaDetails.innerHTML = `

Apparent Power: ${P} kW / ${pf.toFixed(2)} = ${S.toFixed(1)} kVA

Reactive Power: ${P} kW × ${tanPhi} = ${Q.toFixed(1)} kVAR

Line Current: ${S.toFixed(1)} × 1000 VA / ${V} V = ${I.toFixed(1)} A

`; } // Update power factor indicator updatePfIndicator(); // Show result container resultContainer.classList.remove('hidden'); // Add animation to results [resultKva, resultKvar, resultCurrent, resultAngle].forEach(element => { element.classList.add('scale-110'); setTimeout(() => { element.classList.remove('scale-110'); }, 300); }); } // Add input event listeners for real-time calculation [voltageInput, powerInput, powerFactorInput].forEach(input => { input.addEventListener('input', calculateSwitchgear); }); // Add system type change listener systemTypeRadios.forEach(radio => { radio.addEventListener('change', calculateSwitchgear); }); // Add clear button functionality const addClearButton = () => { const clearButton = document.createElement('button'); clearButton.type = 'button'; clearButton.className = 'mt-4 w-full py-2 text-sm text-gray-600 hover:text-primary transition-colors border border-gray-300 rounded-lg'; clearButton.innerHTML = ' Reset Values'; clearButton.addEventListener('click', () => { voltageInput.value = '480'; powerInput.value = '100'; powerFactorInput.value = '0.85'; document.querySelector('input[name="system-type"][value="three-phase"]').checked = true; calculateSwitchgear(); }); // Add to form if not already present if (!document.querySelector('.clear-button')) { clearButton.classList.add('clear-button'); switchgearForm.appendChild(clearButton); } }; // Initialize clear button addClearButton();