Accuracy, in the open

Validation

Worked examples with published answers are run through the RokBench engine on every change and compared side by side. Failing cases are shown as known deviations, not hidden. Only input values are recorded from each source.

14 cases · all pass

125 V switchgear battery, four-period duty cycle with an entered K curve battery/sizing · Hand calculation

Pass

Source: Hand calculation of the IEEE 485 section method with the K curve entered as points (linear between points) — Periods 120 A/1 min, 15 A/59 min, 40 A/120 min, 100 A/1 min. K points (min → h): 1 → 0.9, 15 → 1.6, 60 → 2.8, 180 → 5.0, 480 → 8. S1 = 120·0.9 = 108. S2 (60 min) = 120·2.8 − 105·K(59) = 336 − 291.2 = 44.8. S3 (180) = 120·5.0 − 105·K(179) + 25·K(120) = 600 − 523.1 + 97.5 = 174.4. S4 (181) = 120·K(181) − 105·5.0 + 25·K(121) + 60·0.9 = 601.2 − 525 + 97.96 + 54 = 228.2 → × 1.25 × 1.10 = 313.8 Ah. 125/2 = 62.5 → 63 cells, 105/63 = 1.667 V/cell.

QuantityExpectedRokBenchErrorResult
cells63630%Pass
endVoltagePerCell1.6671.6670%Pass
uncorrectedAh228.2228.20%Pass
governingSection440%Pass
requiredAh3143140%Pass

Galvanic anodes, high-potential magnesium, 1 A in 30 Ω·m soil cathodic/galvanic · Hand calculation

Pass

Source: Hand calculation from Dwight's single vertical electrode equation and the galvanic anode output and life equations — ΔV = 1.75 − 0.85 = 0.90 V; Ra = 30/(2π·1.5)·(ln(8·1.5/0.2) − 1) = 9.8496 Ω; Ia = 0.9/9.8496 = 0.09137 A; N = ⌈1/0.09137⌉ = 11; life = 14.5·0.85/(7.9·0.09137) = 17.07 years.

QuantityExpectedRokBenchErrorResult
anodeResistanceOhm9.84969.850.004%Pass
outputPerAnodeA0.091370.09140.033%Pass
anodes11110%Pass
lifeYears17.0717.10.176%Pass

ICCP, 10 A, seven vertical anodes at 5 m in 30 Ω·m soil cathodic/iccp · Hand calculation

Pass

Source: Hand calculation from Sunde's multiple vertical anode equation and the anode life equation — I = 10000·10·0.1/1000 = 10 A; N = max(⌈10/2⌉, ⌈10·0.5·20/(20·0.8)⌉) = 7; R = 30/(2π·7·2.1)·(ln(8·2.1/0.25) − 1 + (4.2/5)·ln(0.656·7)) = 1.4578 Ω; V = 10·(1.4578 + 0.3) + 2 = 19.58 V.

QuantityExpectedRokBenchErrorResult
currentA10100%Pass
groundbedOhm1.45781.4580.014%Pass
lifeYears22.422.40%Pass

Emergency generator: pump (DOL), lighting, two fans (star-delta) generator/sizing · Hand calculation

Pass

Source: Hand calculation of the PG1–PG3 method (running load, voltage dip on largest start, instantaneous load) — PG2 = 717.7 kVA × 0.20 × 0.8 / 0.2 = 574.2 kVA governs.

QuantityExpectedRokBenchErrorResult
pg1Kva275.6275.60%Pass
pg2Kva574.16574.20.007%Pass
pg3Kva344.3344.30%Pass
requiredKw459.3459.30%Pass

Buried horizontal wire, 100 m of 4/0 AWG at 0.8 m in 100 Ω·m soil ground/rod · Hand calculation

Pass

Source: Hand calculation from Dwight's buried horizontal wire formula (as given in IEEE Std 142) — 4/0 AWG = 211.6 kcmil = 107.22 mm² → a = √(107.22/π) = 5.842 mm; L = 50 m, s = 1.6 m. R = 100/(4π·50)·[ln(200/0.005842) + ln(200/1.6) − 2 + 1.6/100 − 1.6²/(16·50²) + 1.6⁴/(512·50⁴)] = 2.114 Ω.

QuantityExpectedRokBenchErrorResult
wireOhm2.1142.110.189%Pass
totalOhm2.1142.110.189%Pass

Square grid without ground rods, 70 × 70 m grounding/grid · Standard example

Pass

Source: IEEE Std 80-2013, Annex B, Example 1 (square grid without ground rods) — Input values only. Published tolerable voltages use Cs rounded to 0.74 and Em uses Km rounded to 0.89; RokBench carries full precision, hence the small differences. For comparison the standard quotes EPRI TR-100622 at 2.67 Ω and 984.3 V.

QuantityExpectedRokBenchErrorResult
gridResistanceOhm2.782.77570.155%Pass
meshVoltageV1002.11001.60.05%Pass
tolerableTouchV838.2840.50.274%Pass
tolerableStepV2686.62696.10.354%Pass
geometry.Km0.890.88960.045%Pass
geometry.Ki2.2722.2720%Pass
geometry.Ks0.4060.40610.025%Pass

Square grid with 20 perimeter ground rods, 70 × 70 m grounding/grid · Standard example

Pass

Source: IEEE Std 80-2013, Annex B, Example 2 (square grid with ground rods) — Input values only. Published values use Km rounded to 0.77; Rg by Equation (52) (Sverak), Em with the perimeter-rod effective length (Equation (91)). For comparison the standard quotes EPRI TR-100622 at 2.52 Ω, 756.2 V and 459.1 V.

QuantityExpectedRokBenchErrorResult
gridResistanceOhm2.752.75260.095%Pass
meshVoltageV747.4749.10.227%Pass
stepVoltageV548.9549.10.036%Pass
geometry.Km0.770.77170.221%Pass
geometry.Ki2.2722.2720%Pass
geometry.Ks0.4060.40610.025%Pass

Rectangular grid with 38 ground rods, 63 × 84 m grounding/grid · Standard example

Pass

Source: IEEE Std 80-2013, Annex B, Example 3 (rectangular grid with ground rods) — Input values only. Kii = 1 (grid with ground rods). The published Em back-calculates to LM = 2292.1 m, the perimeter-rod effective length of Equation (91), so onPerimeter is set. Published Em uses Km rounded to 0.77. For comparison the standard quotes EPRI TR-100622 at 2.28 Ω, 519.4 V and 349.7 V.

QuantityExpectedRokBenchErrorResult
gridResistanceOhm2.622.61850.057%Pass
meshVoltageV595.8593.60.369%Pass
geometry.conductorLengthM165916590%Pass
geometry.n11.3511.3440.053%Pass
geometry.Km0.770.76750.325%Pass
geometry.Ki2.3242.32290.047%Pass

Lumen method, 20 × 10 m room, 500 lux lighting/lumen · Hand calculation

Pass

Source: Hand calculation from the lumen method equations — hrc = 3 − 0.8 = 2.2 m; RCR = 5·2.2·30/200 = 1.65; N = 500·200/(5000·0.6·0.8) = 41.67 → 42; grid 9 × 5 = 45; E = 45·2400/200 = 540 lux.

QuantityExpectedRokBenchErrorResult
rcr1.651.650%Pass
requiredCount42420%Pass
achievedLux5405400%Pass

Rectangular structure 30 × 20 m, 10 m high lightning/risk · Hand calculation

Pass

Source: Hand calculation from the published collection-area and frequency equations (NFPA 780 Annex L) — Ae = 30·20 + 6·10·(30+20) + 9π·10² = 6427.4 m²; Nd = 4 · 6427.4 · 1 · 1e-6 = 0.02571; Nc = 1.5e-3. E = 1 − 0.0015/0.025710 = 0.94166 → protection level II.

QuantityExpectedRokBenchErrorResult
collectionAreaM26427.46427.40%Pass
expectedFrequency0.025710.025710%Pass
tolerableFrequency0.00150.00150%Pass
requiredEfficiency0.9416560.94170.005%Pass

150 kW motor started across the line on a 1500 kVA, 5.75 % Z transformer motor/starting · Hand calculation

Pass

Source: Hand calculation from the constant-impedance equations on the Methods page — Zt = 0.0575 · 480² / 1.5 MVA = 8.832 mΩ at X/R 6 (R 1.452, X 8.712 mΩ). Running 150/(0.95·0.88) = 179.4 kVA, starting 6 × = 1076.6 kVA → Zm = 480²/1076.6 kVA = 0.21401 Ω at PF 0.3 (R 64.20, X 204.15 mΩ). V = |Zm|/|Zt + Zm| = 0.21401/0.22276 = 0.9607 → dip 3.93 %; torque ≈ 0.9607² = 92.3 % of locked-rotor.

QuantityExpectedRokBenchErrorResult
startingKva1076.61076.60%Pass
busDuringPercent96.0796.070%Pass
busDipPercent3.933.930%Pass
torquePercentOfLocked92.392.30%Pass

Electrical room: switchboards, panelboards, 75 kVA dry-type transformer, 100 kVA UPS room/heat · Hand calculation

Pass

Source: Hand calculation from the published loss equations; transformer efficiency 98.60% at 35% load from 10 CFR 431.196 (three-phase LV dry-type, 75 kVA) — Switchboards 0.6·2000·0.8²·2 = 1536 W; panelboards 0.4·225·0.64·4 = 230.4 W; transformer Pt = 75000·0.35·(1/0.986 − 1) = 372.7 W → 186.4 + 1521.3·0.64 = 1160.0 W; UPS 100·0.9·0.8·1000·(1/0.95 − 1) = 3789.5 W. (6715.9 + 500)·1.1 = 7937 W = 27,084 BTU/hr = 2.26 tons.

QuantityExpectedRokBenchErrorResult
equipmentW671667160%Pass
totalW793779370%Pass
btuPerHr27084270840%Pass
tons2.262.260%Pass

480 V bus behind 1500 kVA, 5.75 % Z, X/R 6 — ANSI and IEC shortcircuit/duty · Hand calculation

Pass

Source: Hand calculation from the ANSI (IEEE C37.13 practice) and IEC 60909-0 equations on the Methods page — Zt = 0.0575 · 480² / 1.5 MVA = 8.832 mΩ. ANSI: I = 480/(√3·Zt) = 31.38 kA; asym = I·√(1+2e^(−2π/6)) = 40.93 kA; peak = √2·I·(1+e^(−π/6)) = 70.66 kA; MCCB MF = 1.3046/1.2469 = 1.046. IEC: c = 1.05; xT = 0.0567; KT = 0.95·1.05/(1+0.6·0.0567) = 0.9647; Ik″ = 1.05·480/(√3·KT·Zt) = 34.15 kA; κ = 1.02+0.98e^(−0.5) = 1.614; ip = κ·√2·Ik″ = 77.98 kA.

QuantityExpectedRokBenchErrorResult
ansi.firstCycleKa31.3831.380%Pass
ansi.asymRmsKa40.9340.930%Pass
ansi.peakKa70.6670.660%Pass
ansi.multiplyingFactor1.0461.0460%Pass
iec.kt0.96470.96470%Pass
iec.ikssKa34.1534.150%Pass
iec.kappa1.6141.6140%Pass
iec.ipKa77.9877.980%Pass

Fixed-tilt array, 500 kWdc at 35° latitude, 30° tilt solar/pv · Hand calculation

Pass

Source: Hand calculation from the solar position equations (declination −23.45°, hour angle 15°/h) and row-shadow geometry — 09:00 solar time on the winter solstice: α = 17.646°, γ = 42.901°. Pitch = 2cos30° + 2sin30°·cos42.901°/tan17.646° = 4.0349 m; GCR = 2/4.0349 = 0.4957; land = 1250 · 2 / 0.4957 = 5043.6 m². Energy = 500 · 5.5 · 365 · 0.8 = 803,000 kWh.

QuantityExpectedRokBenchErrorResult
modules125012500%Pass
pitchM4.03494.0350.002%Pass
gcr0.49570.4960.061%Pass
landAreaM25043.65043.60%Pass
annualKwh8030008030000%Pass

Engine 0.48.0. Cases live in the repository under validation/ and run in CI. Corrections are logged in the Engineering Notes. Have a published example we should add? Use the Feedback link.

Screening toolfor licensed professionals. Not an engineering service. See Disclaimer.