Skip to content
/
Suscribirse Subscribe

Detrás del telón hay sistemas, no magia. Arquitectura de software, IA y computación de bajo nivel para las trincheras de producción.

Behind the curtain there are systems, not magic. Software architecture, AI, and systems engineering from the production trenches.

UTILITY TOOL #TOOL-CAT-UTILS

UPS Battery Runtime Calculator: Server Rack Backup Time & Peukert Law

Model real uninterruptible power supply (UPS) battery backup runtime with precision electrical engineering. Calculate battery bank discharge curves using Peukert's law, battery chemistry (VRLA/AGM vs LiFePO4), DC bus voltages, inverter conversion efficiency, and graceful shutdown transfer switch (ATS) headroom.

Common Infrastructure Presets:
W

Active power drawn by servers, switches, and storage

Internal DC bus voltage (12V, 24V, 48V, 96V, or 192V series string)

Ah

Nominal Ah rating (e.g. 9 Ah for 1U, 18 Ah for 2U, 45-100 Ah for external packs)

Determines capacity collapse under heavy discharge current

Internal heat losses converting DC battery power to 230V/120V AC

Target time needed to safely park heads or spin up backup generator

Estimated Battery Runtime
--
--
Discharge Current
--
--
Net Usable Energy
--
--
Shutdown Margin
--
--
UPS POWER CONTINUITY DIAGNOSTIC
Calculated runtime comfortably covers the required shutdown transfer window.

Runtime Breakdown Across Load Levels

25% Load (Idle / Standby)
--
50% Load (Moderate Load)
--
75% Load (Heavy Load)
--
100% Load (Full Rated Draw)
--
Electrical engineering note: Never calculate UPS runtime by simply dividing (V * Ah) / Watts. Under a heavy 1C or 2C discharge rate, lead-acid VRLA batteries suffer Peukert capacity loss of up to 40% as chemical reaction kinetics fail to keep pace with electron demand. LiFePO4 chemistries maintain nearly flat discharge curves (k ≈ 1.05).

Battery Chemistry Comparison for Critical Datacenter UPS

Technology Peukert Exp (k) Safe DoD (%) Cycle Life High C-Rate Behavior TCO & Engineering Verdict
VRLA / AGM (Plomo-Ácido) 1.20 - 1.30 50% - 70% 300 - 500 ciclos Severe voltage sag (-30% to -45% Ah loss) Lowest upfront cost, replace every 3-4 years
LiFePO4 (Litio Ferrofosfato) 1.03 - 1.05 85% - 95% 3.000 - 6.000 ciclos Flat voltage curve (Minimal capacity drop) Best modern enterprise TCO, 10-year lifespan
Li-Ion NMC (Litio Ternario) 1.04 - 1.07 80% - 90% 1.000 - 2.000 ciclos Good high-rate discharge, thermal sensitivity Compact for space-constrained edge nodes

Why Simple Battery Math Destroys Server Uptime: The Peukert Effect

Most system administrators estimate UPS battery runtime using naive energy arithmetic: multiplying the battery pack voltage by its Amp-hour rating to obtain Watt-hours, and dividing by server consumption. In real datacenter outages, this formula fails catastrophically, delivering 30% to 50% less backup time than anticipated.

1. The Physics of High-Rate Discharge & Peukert's Law

Discovered by German scientist Wilhelm Peukert in 1897, the law states that the available capacity of a battery decreases exponentially as the rate of discharge increases. Battery manufacturer Ah ratings are specified at a relaxed 20-hour discharge rate (C20). But when a server rack pulls 1,500 Watts from a 48V pack, the battery discharges in 15 to 30 minutes (a 2C to 4C rate). Lead-acid electrolyte cannot diffuse rapidly enough into the porous lead plates, causing internal resistance to spike and cell voltage to plummet to cut-off thresholds prematurely.

I_dc = P_load / (V_bank * Efficiency) ; T = H * (C_nominal / (I_dc * H))^k * DoD

2. Inverter Conversion Losses & DC Cable Resistance

Inverters are not 100% efficient. A typical online double-conversion UPS operates at 90% to 92% efficiency at half load, and can drop below 88% under heavy thermal stress. Furthermore, low-voltage DC buses (such as 12V or 24V) require massive currents: pulling 1,000 W at 24V draws over 45 Amperes DC. That current causes significant I²R resistive heating losses in internal battery interconnects and Anderson power connectors.

3. Graceful Hypervisor Shutdown vs Generator Transfer

A UPS is not an electric generator; it is a continuity bridge. In enterprise infrastructure, that bridge has two destinations: either giving the Automatic Transfer Switch (ATS) 60 to 180 seconds to start and synchronize the diesel generator, or triggering Network UPS Tools (NUT) / APC PowerChute to quiesce databases, trigger VM snapshot flushes, and safely halt VMware ESXi or Proxmox nodes (requiring 5 to 10 minutes). If your Peukert-adjusted battery time leaves less than a 3-minute safety buffer, a single hung VM will cause hard filesystem corruption across your entire storage array.

Frequently Asked Questions: Server UPS Battery Sizing

Why does my UPS shut down after 5 minutes when the software estimated 20 minutes?

UPS management software often calculates remaining runtime using linear voltage interpolation based on fresh battery curves. Under high load, lead-acid internal resistance causes sharp voltage sag below the inverter low-voltage disconnect (LVD) threshold, cutting power abruptly.

How do I calculate DC discharge current from server Wattage?

Divide total IT load in Watts by (Battery Pack Voltage * Inverter Efficiency). For example: a 650 W server load on a 48V DC bus with 91% efficiency draws 650 / (48 * 0.91) = 14.88 Amperes DC.

Is it worth upgrading an enterprise UPS from VRLA/AGM to LiFePO4 batteries?

Yes. LiFePO4 eliminates the Peukert capacity penalty (delivering nearly 100% of rated Ah under fast discharge), tolerates up to 90% Depth of Discharge, lasts 10 years (vs 3-4 years for AGM), and operates safely at higher ambient rack temperatures.

What is the difference between Volt-Amperes (VA) and Watts (W) in UPS sizing?

Watts represent real active power consumed by components. Volt-Amperes represent apparent power including reactive current (VA = Watts / Power Factor). Modern server power supplies with active PFC have a Power Factor of 0.95 to 0.99, meaning a 1,500 VA UPS can deliver ~1,350 to 1,400 Watts.

How much time is required for an automated server graceful shutdown?

A single Linux server requires 1.5 to 3 minutes. However, a virtualized hypervisor host (VMware ESXi, Proxmox VE, Hyper-V) running database instances and storage daemons requires 6 to 10 minutes to cleanly flush caches and power down all VMs in sequence.

Electrical Engineering & Datacenter Safety Disclaimer: This calculator computes theoretical battery autonomy using standard electrochemical Peukert equations and nominal inverter efficiencies. Real-world runtime is influenced by ambient battery temperature (capacity degrades ~10% for every 10°C drop below 20°C, and battery lifespan halves for every 8°C rise above 25°C), battery age, cell internal resistance degradation, and DC cable gauge voltage drop. Always conduct regular controlled load-bank discharge tests.
Suscribirse Subscribe