A field team faces an unresolved physical question: What does an 833-day MQTT estimate leave out? They must answer it before changing daily charge on the real device. Predict the direction first.
See the relationship before changing it
The figure reads from left to right. The blue card is daily charge. The middle card applies this page's relationship. The green card is naive lifetime. Walk the arrows once: set the input, apply the rule, then read the result with its unit.
The retained audit below checks several chapter fixtures. This added model holds every other chapter fixture fixed, so the numeric fixture does not switch without explanation.
Derive the baseline in four named moves
- 1
Name the input. The chapter baseline for daily charge is 2.4.
- 2
Name the relationship. naive days = 2,000/2.4 = 833.3 days months = 833.3/30.4375 = 27.38 months remaining shelf charge = 2,000(0.98)^27.38 = 1,150 mAh self-discharge loss = 42.5% of nameplate fresh pulse sag = 0.120(0.10) = 0.012 V
- 3
Substitute the chapter fixture. Set daily charge to 2.4. The page ledger gives naive lifetime as 833.3 days.
- 4
Read the result. Keep days beside the value. Use it only inside the technical boundary on this page.
Predict, then change daily charge
Try Predict the direction of naive lifetime. Move one control, calculate, then check your prediction.
Observe A very low daily-load claim creates a long time horizon; long horizons expose losses that a simple capacity/load division cannot represent. Reset the control to 2.4 and compare naive lifetime.
Explain Only daily charge moves here. The other chapter fixtures remain fixed.
Check yourself
What should you do before trusting a moved-control result?
What does this small model leave out?
1. Start with the physical story
Dividing capacity by daily load treats the pack like a bucket emptied only by the device. A lithium pack also loses stored charge with time. A low load predicts more elapsed months, so self-discharge gets more time to compete.
2. Name every algebra move
Find naive daysDivide 2,000 mAh by mAh/day.
Convert days to monthsDivide by the average 30.4375 days per month.
Compound remaining chargeMultiply 2,000 by 0.98 raised to the number of elapsed months.
Find lossSubtract remaining charge from nameplate capacity.
Check pulse voltageUse IR separately for the 120 mA radio burst.
3. Reproduce the chapter case
months = 833.3/30.4375 = 27.38 months
remaining shelf charge = 2,000(0.98)^27.38 = 1,150 mAh
self-discharge loss = 42.5% of nameplate
fresh pulse sag = 0.120(0.10) = 0.012 V
The compounding result is not an improved lifetime prediction by itself. It demonstrates that the naive load-only claim spans enough time for a second loss mechanism to become material.
4. Try one real input
TryMove daily load from the attractive 2.4 mAh/day estimate toward the chapter's 76.8 mAh/day deeper model. Watch naive days and self-discharge exposure fall together.
ObserveAt 2.4 mAh/day, the load-only result spans 27.4 months and the separate shelf model loses about 42.5%. At 76.8 mAh/day, the 26-day load dominates and shelf loss is small.
ExplainA very low daily-load claim creates a long time horizon; long horizons expose losses that a simple capacity/load division cannot represent.
This ledger compares two chapter load estimates with one simple compounding shelf model.
- Load
- Daily charge is treated as constant; reconnects, signal quality, TLS, retries, sensors, regulator loss, and firmware states are not simulated.
- Cell
- Two percent per month is an illustrative constant rate, not a qualified LiPo ageing or temperature model.
- Combination
- Load draw and self-discharge compete for the same changing state of charge; the two independent ledgers must not be subtracted as a finished lifetime solver.
Correct, not complete: this ledger does not predict ESP32 field life or prove a QoS choice.
5. Use the result in the design
Measure a full connect-publish-ack-sleep cycle at representative signal strength, include reconnection and broker security, then fit a battery model that combines load, ageing, temperature, cutoff, and usable capacity.
6. Record the evidence state
Record firmware, Wi-Fi association time, MQTT session state, QoS, TLS, publish interval, current trace, daily charge, pulse voltage, pack chemistry, temperature, age, self-discharge source, and cutoff.
7. Check yourself
Why does lower device load increase the self-discharge percentage shown?
Can we subtract the displayed shelf loss from 2,000 mAh and divide again for the true life?
Does 12 mV fresh pulse sag settle the power design?
This ledger compares two chapter load estimates with one simple compounding shelf model.
- Load
- Daily charge is treated as constant; reconnects, signal quality, TLS, retries, sensors, regulator loss, and firmware states are not simulated.
- Cell
- Two percent per month is an illustrative constant rate, not a qualified LiPo ageing or temperature model.
- Combination
- Load draw and self-discharge compete for the same changing state of charge; the two independent ledgers must not be subtracted as a finished lifetime solver.
Correct, not complete: this ledger does not predict ESP32 field life or prove a QoS choice.
Eddie guides