Active-chain-count energy lever sim (#135)#145
Merged
Conversation
Models the number of active RX chains as an energy lever: each chain adds always-on baseline draw, but combining several improves delivery — so for a fixed video rate the baseline amortises over more delivered bits and less airtime is spent covering losses. Whether the trade pays depends on the antenna correlation rho (fade state), so the energy-optimal chain count adapts to motion, not range. - tools/precoder/chain_count_energy_sim.py (+ pytest): reuses the calibrated power/airtime model (energy_model.py), adds a per-chain baseline and a diversity-improved delivery (outage^N_eff). --self-test and a rho sweep. - docs/adaptive-link.md: "active receive chains" as a fade-state lever. Result: static (high rho) -> optimal N=1 (extra chains pure baseline cost); mobile (low rho) -> optimal N grows, reaching all 4 chains at a deep marginal link. The energy corollary of the measured RX-MRC finding (nil static, pays under motion). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Closed
10 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The active-chain-count energy lever (#135) — the energy corollary of the measured
RX-MRC finding. A multi-chain receiver can light up 1..N chains; each adds
always-on baseline draw, but combining improves delivery, so for a fixed video
rate the baseline amortises over more delivered bits. Whether the trade pays
depends on the antenna correlation ρ (fade state), so the energy-optimal chain
count adapts to motion, not just range.
Model
Reuses the calibrated power/airtime model (
energy_model.py) and adds:(1-d1)drops to(1-d1)^N_eff, withN_eff = N/(1+(N-1)ρ²)(same metric as the measurementdoc and the space×frequency sim).
Energy per delivered bit
= (P_core + N·P_chain + airtime·P_pa) / (rate · deliver_N).Result (ρ sweep)
optimal N = 1.
more than they cost → optimal N grows, reaching all 4 chains at a deep
marginal link (and shifting up further with cheaper chains).
Contents
tools/precoder/chain_count_energy_sim.py— sim,--sweep/default ρ table,--self-test.tools/precoder/test_chain_count_energy_sim.py— pytest (N_eff, delivery,static→single, mobile→more, marginal→more, cheaper→more).
docs/adaptive-link.md— "active receive chains" as a fade-state lever.Testing
--self-testgreen; 6 pytest pass. Pure-Python, consistent with the sibling sims.🤖 Generated with Claude Code