<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[The Lagrange Point - Medium]]></title>
        <description><![CDATA[Analytical deep dives into complex systems using physics and math. Engineering frameworks for understanding how things actually work. - Medium]]></description>
        <link>https://medium.com/the-lagrange-point?source=rss----edb3d36112e0---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>The Lagrange Point - Medium</title>
            <link>https://medium.com/the-lagrange-point?source=rss----edb3d36112e0---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 20:10:37 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/the-lagrange-point" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Measuring Home AC Duty Cycle: A Wavelet Approach]]></title>
            <link>https://medium.com/the-lagrange-point/measuring-home-ac-duty-cycle-a-wavelet-approach-19feafe9fd51?source=rss----edb3d36112e0---4</link>
            <guid isPermaLink="false">https://medium.com/p/19feafe9fd51</guid>
            <category><![CDATA[hvac]]></category>
            <category><![CDATA[reduced-order-modeling]]></category>
            <category><![CDATA[thermal]]></category>
            <category><![CDATA[wavelet-transform]]></category>
            <category><![CDATA[home-improvement]]></category>
            <dc:creator><![CDATA[Moses Navarro]]></dc:creator>
            <pubDate>Sat, 14 Mar 2026 04:26:03 GMT</pubDate>
            <atom:updated>2026-03-14T04:26:03.817Z</atom:updated>
            <content:encoded><![CDATA[<p><em>How continuous wavelet transforms extract HVAC behavior from nothing but indoor temperature data</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k2AfkpGGnl3ZapcOEp78PQ.png" /></figure><p>There’s a piece of information that sits at the heart of any serious home energy model: how hard is your air conditioner actually working?</p><p>Not whether it’s on or off right now. Not the setpoint you dialed in. The duty cycle — — the fraction of time the compressor is running, averaged over some meaningful window. That number tells you the cooling load. It tells you how hard your home is fighting the summer heat. It’s the difference between a model that fits your data and one that’s just guessing.</p><p>The problem is that most homes don’t have it.</p><p>If you have a Nest or Ecobee and you’ve enabled the runtime data export, congratulations — — you’re in a small minority. The rest of us have a temperature sensor, maybe two, and a whole lot of inference to do.</p><p>This is the story of how I extracted the duty cycle from indoor temperature data alone, why the obvious approaches fail, and why the continuous wavelet transform turned out to be the right tool.</p><h3>Why the Obvious Approach Fails</h3><p>The first instinct is a threshold: temperature dropping → AC is on. Temperature rising → AC is off. It sounds reasonable, but it is not that straightforward.</p><p>Here’s why. A home’s indoor temperature doesn’t just respond to the AC. It responds to solar gain, internal loads, the thermal mass of the home absorbing and releasing heat, and the slow drift of outdoor conditions. All of those produce smooth, low-frequency temperature changes that have nothing to do with the compressor cycling.</p><p>Meanwhile, a real AC cycle — — a typical residential unit running at maybe 15–30 minute intervals — — produces a specific rhythmic signature in the temperature data. The indoor temperature drops while the unit runs, rebounds slightly during the off cycle, and drops again during the next on cycle. That’s a periodic oscillation sitting on top of all the slower trends.</p><p>A simple threshold can’t distinguish between “the house is cooling down because the AC is on” and “the house is cooling down because it’s evening.” What you need is something that detects <em>periodic behavior at a specific timescale</em> — — and that’s exactly what wavelets are designed to do.</p><h3>Wavelets in One Paragraph</h3><p>A Fourier transform asks: what frequencies are present in this signal, overall? A wavelet transform asks: what frequencies are present, <em>and when</em>?</p><p>That distinction matters here. Your AC doesn’t run continuously — — it cycles on and off, and when it’s not running at all, there’s no cycling signature to find. A method that looks at frequency content across the whole time window would smear together “AC running with 25% duty cycle” and “AC not running at all” into some meaningless average.</p><p>The continuous wavelet transform (CWT) localizes both. For a signal x(t), it computes:</p><p><em>W(s, τ) = ∫ x(t) · ψ((t − τ)/s) dt</em>*</p><p>where ψ is the analyzing wavelet, s is the scale (inversely related to frequency), and τ is the time position. The result is a 2D map: wavelet power as a function of both time and scale. You can see <em>when</em> oscillations at the AC’s characteristic timescale are active, and <em>how strong</em> they are.</p><p>This 2D map is called a scalogram. The x-axis is time, the y-axis is period (in minutes, on a log scale), and the color intensity at each point represents how much oscillatory energy is present at that period and that moment. Bright regions mean strong periodic activity; dark regions mean the signal is quiet at that timescale. When the AC is actively cycling, the scalogram shows bright vertical streaks concentrated in the 20–40 minute period band — — one streak per on/off cycle, with the brightness reflecting how strongly periodic the temperature oscillation was. During overnight periods when the AC is off and the house coasts freely, the scalogram goes nearly black across all periods: the temperature is still changing, but it’s drifting, not oscillating. That contrast is the core argument for using wavelets over a simple threshold, rendered visually.</p><p>For this application, I used the Morlet wavelet — — a sinusoid tapered by a Gaussian envelope. It has good time-frequency localization and matches the shape of AC cycling behavior well: a roughly sinusoidal temperature oscillation that appears, runs for a while, and stops. The wavelet is essentially asking: “does this AC signal match my shape, right here, right now?” Where it does, the signal strength is large. Where the AC isn’t cycling, there’s nothing to match against and the signal strength is small. That’s the time-localization argument in one image.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8Gdx8D57Q_WiEMK8crBFUw.png" /></figure><h3>From Power to Duty Cycle</h3><p>The CWT gives you a power map. Turning that into a duty cycle estimate takes a few steps.</p><p>First, you define the scale range corresponding to your expected AC cycle period. For a residential unit, that’s roughly 10–40 minutes. You restrict attention to those scales — — ignoring the slow daily solar swings and any high-frequency sensor noise.</p><p>At each time point, the peak wavelet power across those scales tells you how strongly the cyclic HVAC signature is present at that moment. High power → unit is actively cycling. Near-zero power → unit is off, or running continuously with no cycling signature.</p><p>Normalize that power trace between its 5th and 95th percentiles, and you have a raw duty cycle estimate in [0, 1].</p><p>That estimate gets one refinement: a weighted blend with the temperature gradient. When the AC is running, indoor temperature is falling — — negative dT/dt. That gradient signal is independent of the wavelet analysis and provides a useful cross-check. In practice, a 70/30 blend (70% wavelet power, 30% temperature gradient signal) gives cleaner results than either alone, particularly during transition periods when the unit is just starting or stopping.</p><p>A final Savitzky-Golay smoothing pass — — which preserves peak heights better than a simple moving average — — and you have a duty cycle time series ready to feed into the thermal model.</p><h3>Reading the Three-Panel Figure</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*r4WfyZgR6LE4WIHxPEg9Ug.png" /></figure><p><strong>Top panel — — temperature.</strong> Indoor temperature (blue, left axis) and outdoor temperature (red dashed, right axis) are plotted on separate y-axes because they occupy different ranges — — indoor temperature is controlled to a narrow band around the thermostat setpoint, while outdoor temperature swings 30–40°F across the day. The red shading marks windows where the estimated duty cycle is above the noise threshold, giving an immediate visual of when the AC is active. The outdoor temperature trace provides the “why” behind each active window: every outdoor peak is followed by a duty cycle rise as the home’s cooling load increases.</p><p><strong>Middle panel — — duty cycle.</strong> The estimated duty cycle is plotted as a continuous trace in [0, 1], with the noise floor threshold shown as a dashed line. Values below the threshold are zeroed out — — those are periods where the wavelet detects some background oscillatory energy but not enough to confidently attribute it to the compressor. During active cooling days the duty cycle holds in the 40–60% range, meaning the compressor is running roughly half the time. The shape of each active window is not flat: it ramps up as outdoor heat builds through the morning, peaks in the afternoon, then tapers as temperatures fall in the evening. That envelope is the home’s cooling load curve, extracted without any energy metering equipment.</p><p><strong>Bottom panel — — scalogram.</strong> The y-axis shows period values in minutes on a log scale, spanning the 10–60 minute range covered by the CWT. The color runs from black (no oscillatory energy) through purple and orange to bright yellow (strong energy). During active cycling windows, bright vertical streaks appear concentrated in the 20–40 minute band — — each streak is one complete AC on/off cycle, and the period value tells you how long that cycle took from start to finish.</p><h3>What Can Go Wrong (And How We Handled It)</h3><p>Wavelets aren’t magic. Two failure modes showed up in practice and required explicit handling.</p><p><strong>False positives from natural thermal cycling.</strong> A house experiencing strong diurnal temperature swings — — say, significant solar gain through west-facing windows in the afternoon — — can produce oscillatory temperature behavior that lands in the same frequency band as AC cycling. The wavelet transform sees a periodic signal and reports a duty cycle even when the AC isn’t running.</p><p>The fix was a “force zero hvac” override: when you know the AC was definitely off (low outdoor temperatures, nighttime coast-down periods), you can zero out the duty cycle estimate directly. This is a case where physics knowledge has to constrain the signal processing.</p><p><strong>Missed onset detection.</strong> To resolve a frequency precisely, the wavelet needs to observe several complete cycles of it. That means at the moment the AC first turns on, the CWT hasn’t accumulated enough cycles to report a strong periodic signal — — there’s an inherent lag of roughly one cycle period, or 10–20 minutes. The temperature gradient has no such lag: it sees the indoor temperature begin falling immediately. This is why the previous mentioned 70/30 blend helps specifically at transitions. The wavelet dominates during steady-state cycling; the gradient sharpens the onset and offset edges where the wavelet is slow to respond.</p><p>Validation against this home’s data is visual but compelling. During active cycling periods, the duty cycle trace rises and holds in the 40–60% range while the indoor temperature oscillates in the characteristic sawtooth pattern of on/off compressor cycling. The clearest validation is the morning setpoint raise. Each day, when the thermostat setpoint is increased, the AC shuts off and the indoor temperature rises freely — visible in the top panel as a smooth climb from roughly 74°F to 78°F. The duty cycle correctly drops to zero during these windows. A threshold-based approach, seeing only that the temperature is rising, might conclude the AC is off for a different reason entirely. The wavelet confirms it directly: there is no periodic cycling signature in the signal, because the compressor is not running.</p><h3>Why This Matters for Home Energy Modeling</h3><p>The duty cycle isn’t just a curiosity. In a reduced-order thermal model, it’s directly proportional to the cooling power delivered to the home. Get it wrong and every downstream parameter estimate — — thermal resistance, thermal mass, heat gain — — absorbs the error.</p><p>More subtly, the <em>shape</em> of the duty cycle time series carries physical information. A house with high thermal mass buffers temperature swings; its duty cycle ramps up gradually as heat soaks into the structure. A lightweight house responds faster. The wavelet approach captures this temporal structure in a way that a simple on/off binary never could.</p><p>It also enables something that would otherwise require proprietary thermostat data: analyzing how duty cycle varies with outdoor conditions, time of day, and occupancy patterns. That’s the analysis that ultimately revealed condition-dependent thermal mass behavior in this home — — but that’s a story for another article.</p><h3>The Takeaway</h3><p>If you’re trying to model home energy behavior with nothing but temperature sensors, the question of HVAC duty cycle is unavoidable. Simple threshold approaches confound HVAC-driven temperature changes with natural thermal dynamics. The continuous wavelet transform cuts through that by localizing cyclic behavior in both time and frequency — — finding the AC’s fingerprint in the temperature signal regardless of what else is happening.</p><p>The implementation isn’t exotic. PyWavelets handles the CWT in a few lines of Python. The engineering is in the scale selection, the blending with gradient information, and knowing when to override the algorithm with physical constraints.</p><p>The reward is a continuous, physics-grounded duty cycle estimate from sensors you already have.</p><p><em>This article is part of an ongoing series on residential thermal modeling using reduced-order models. The approach described here was developed and validated against a 1963 brick-and-slab home in Houston, TX — — a building with thermal mass and no shortage of thermal stress during the summer months.</em></p><p><strong>AI Assistance Disclosure:</strong> This article was written collaboratively with Claude (Anthropic) to refine structure, clarity, and technical explanations while maintaining my voice and personal insights.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=19feafe9fd51" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-lagrange-point/measuring-home-ac-duty-cycle-a-wavelet-approach-19feafe9fd51">Measuring Home AC Duty Cycle: A Wavelet Approach</a> was originally published in <a href="https://medium.com/the-lagrange-point">The Lagrange Point</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Model Your Home’s Thermal Behavior: A Physics-Based Approach]]></title>
            <link>https://medium.com/the-lagrange-point/how-to-model-your-homes-thermal-behavior-a-physics-based-approach-e829f8375ea4?source=rss----edb3d36112e0---4</link>
            <guid isPermaLink="false">https://medium.com/p/e829f8375ea4</guid>
            <category><![CDATA[reduced-order-modeling]]></category>
            <category><![CDATA[wavelet]]></category>
            <category><![CDATA[home-improvement]]></category>
            <category><![CDATA[thermal-analysis]]></category>
            <category><![CDATA[hvac]]></category>
            <dc:creator><![CDATA[Moses Navarro]]></dc:creator>
            <pubDate>Sat, 31 Jan 2026 04:28:40 GMT</pubDate>
            <atom:updated>2026-06-20T14:53:54.987Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Part 1 of a series on building energy modeling and analysis</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*CGXHPcez60SAnUb_" /><figcaption>Photo by <a href="https://unsplash.com/@scottwebb?utm_source=medium&amp;utm_medium=referral">Scott Webb</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Why Model Your Home?</h3><p>Your home is a thermal system. Heat flows into your home from the sun and hot outdoor air. Your air conditioner removes this heat to keep you comfortable. Understanding these energy flows can help you make better decisions about HVAC sizing, retrofit investments, and energy efficiency improvements.</p><p>But how do you actually characterize your home’s thermal behavior? Traditional approaches rely on industry rules of thumb based on construction era and building type. What if you could use actual measurements from your home instead?</p><p>That’s where reduced-order thermal models (ROMs) come in. I developed this approach to understand the thermal behavior of my 1963 brick-and-slab home in Houston, and the insights surprised me. This article explains the methodology — the next article will share what I learned about my specific building.</p><h3>What is a Reduced-Order Model?</h3><p>Think of your home as an electrical circuit, but for heat instead of electricity:</p><p><strong>Thermal Resistance (R):</strong> Like electrical resistance, thermal resistance describes how hard it is for heat to flow through something. Your walls, windows, and roof all have thermal resistance. Higher R means better insulation — heat flows more slowly.</p><p><strong>Thermal Capacitance (C ):</strong> Like electrical capacitance, thermal capacitance describes how much energy something can store. Your brick walls, concrete slab, and even the air inside your home can store thermal energy. Higher C means your home’s temperature changes more slowly when conditions change.</p><p>A reduced-order model represents your entire home as a simple network of these R and C components — just like an electrical circuit diagram, but for heat flow.</p><h3>The Simplest Model: 1R1C</h3><p>The most basic representation treats your home as a single thermal mass connected to the outdoors through a single resistance. This model has just two parameters:</p><ul><li><strong>R_envelope:</strong> How well your walls/windows/roof resist heat flow (higher = better insulated)</li><li><strong>C_total:</strong> How much thermal mass your home has (higher = slower temperature changes)</li></ul><p>The energy balance is simple: heat flows in from outdoors through the envelope resistance, your HVAC adds or removes heat, and the indoor temperature rises or falls based on the total thermal mass.</p><p><strong>When it works:</strong> 1R1C models are fine for lightweight buildings (wood frame construction) or short-term predictions.</p><p><strong>When it doesn’t:</strong> If your home has substantial thermal mass — brick walls, concrete floors, stone — you need something more sophisticated.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jl0mIk_AiaGjNDI7mT0rVQ.png" /></figure><h3>A Better Model: 2R2C</h3><p>For buildings with significant thermal mass, we need to separate the indoor air from the building structure itself. This model has four parameters:</p><ul><li><strong>C_air:</strong> Thermal mass of indoor air (responds quickly)</li><li><strong>C_mass:</strong> Thermal mass of walls, floors, structure (responds slowly)</li><li><strong>R_ea:</strong> Resistance from outdoor to indoor air</li><li><strong>R_am:</strong> Resistance between indoor air and building mass</li></ul><p><strong>Why this matters:</strong> When outdoor temperature changes, your indoor air temperature responds relatively quickly, but your brick walls and concrete slab respond much more slowly. This thermal lag creates a buffering effect — your massive building components help stabilize indoor temperature.</p><p>For my 1963 brick home, the 2R2C model was essential to capture this lag effect accurately.</p><h3>How Parameter Identification Works</h3><p>Here’s the elegant part: if you measure indoor and outdoor temperatures over several days, you can work backwards to figure out what R and C values your specific home has. This is called parameter identification or inverse modeling.</p><h3>What You Need</h3><p><strong>Required data:</strong></p><ul><li>Indoor temperature measurements (1-minute intervals or better)</li><li>Outdoor temperature measurements</li><li>Several days of continuous data (3–7 days minimum)</li><li>Period when HVAC was operating</li></ul><p><strong>Nice to have:</strong></p><ul><li>Multiple datasets from different seasons or weather conditions</li><li>Longer duration (more data = more confidence)</li></ul><h3>The Optimization Process</h3><p>The computer tries different combinations of R and C values, simulates what the indoor temperature would be with those parameters, and compares it to your actual measured temperature. The optimization algorithm searches for the parameter values that minimize the difference between simulated and measured temperatures.</p><p>Think of it like tuning a radio — you adjust the dial (parameters) until you get the clearest signal (best match to measured data).</p><p>I used an optimization method called differential evolution, which is good at finding global solutions and doesn’t get stuck in local minimums. It explores the parameter space systematically until it converges on the best fit.</p><h3>The HVAC Challenge</h3><p>One complication: the model needs to know when your air conditioner was running and how much cooling power it provided. But most homes don’t have power meters on their HVAC systems.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*r52DhazK7pSgt-5vE79jdQ.png" /></figure><p>Solution: I developed a signal processing technique using continuous wavelet transforms to detect HVAC operation directly from indoor temperature oscillations. When AC cycles on and off, it creates small temperature ripples — wavelets can extract this pattern even when it’s subtle. (I’ll cover this methodology in detail in a separate article on wavelet-based HVAC detection.)</p><h3>Heat Gains from Sun and Occupancy</h3><p>Solar radiation through windows and internal heat gains from people, appliances, and lighting also affect indoor temperature. These vary throughout the day but are rarely measured.</p><p>My approach: treat heat gains as piecewise-constant values that change by time of day (e.g., four 6-hour blocks per day). The optimization finds the average gain during each period that best explains the measured temperature patterns. Morning and evening typically show higher gains (sun angle, occupancy), while nighttime shows lower values.</p><h3>Physical Calculations vs Fitted Parameters</h3><p>Here’s where it gets interesting. You can calculate what your home’s R and C <em>should be</em> based on:</p><ul><li>Wall construction (brick thickness, insulation, etc.)</li><li>Material properties from textbooks (thermal conductivity, specific heat)</li><li>Building geometry and dimensions</li></ul><p>I did this calculation for my home and got an expected total thermal mass of about 61,600 kJ/K based on brick walls, concrete slab, air volume, and furnishings.</p><p>But when I fit the model to the measured data, the identified thermal mass ranged from 49,000 to 107,000 kJ/K across different datasets.</p><p><strong>Initial reaction:</strong> Something’s wrong! The model should match the physical calculation.</p><p><strong>What I learned:</strong> The fitted parameters are <em>effective</em> values that capture real building physics, not just textbook material properties. Here’s why they differ:</p><h3>Thermal Lag and Activation Depth</h3><p>Heat doesn’t instantly penetrate through your entire concrete slab or brick walls. It diffuses inward gradually. During short HVAC cycles (AC runs 10–15 minutes, off 15–20 minutes), only the outer few centimeters of mass participate actively. During longer thermal stress periods, heat penetrates deeper and more mass becomes “activated.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Hj-arbXi-XkVAdx0HSGofw.png" /></figure><p>The fitted thermal mass parameter captures the <em>effective</em> thermal mass that’s actually participating in the thermal dynamics for that particular dataset — not the entire physical mass of all materials.</p><h3>Unknown Construction Details</h3><p>Do your walls have air gaps? How much insulation is actually in the cavities? Are there thermal bridges you don’t know about? Physical calculations require assumptions about construction details you might not know for certain, especially in older homes.</p><p>The fitted parameters reflect what’s actually there, measured behavior rather than assumed construction.</p><h3>Lumped Effective Behavior</h3><p>ROM parameters represent complex 3D heat transfer lumped into a simplified network. A single R_envelope parameter captures heat flow through walls, windows, roof, infiltration, and thermal bridges all combined. It’s an effective overall value.</p><h3>The Key Insight</h3><p>This isn’t a failure of the model — it’s actually the strength of data-driven parameter identification. The fitted parameters tell you how your building actually behaves, which may differ from theoretical calculations.</p><p><strong>Implication:</strong> When setting up optimization, the solution space (parameter bounds) needs to be adequate to capture real physics. I used bounds of 0.5× to 2× my physical estimates, allowing the model flexibility to find the effective values that best explain measured behavior.</p><p>If I had constrained parameters too tightly to my calculations (say ±10%), the model would have been forced into worse fits because it couldn’t represent the real thermal lag and effective behavior.</p><h3>What You Get</h3><p>After parameter identification, you have a calibrated model of your specific home with quantified thermal properties:</p><p><strong>Envelope heat transfer coefficient (UA):</strong> How much heat flows in per degree of temperature difference. Lower is better (better insulated). Units: W/K</p><p><strong>Thermal mass:</strong> How much energy your home stores per degree of temperature change. Higher means more stable temperatures. Units: kJ/K</p><p><strong>Time constant:</strong> How quickly your home responds to changes. Calculated as R × C. Longer time constant means slower response.</p><p>These aren’t just academic numbers — they have practical applications:</p><ul><li><strong>HVAC sizing:</strong> Validate whether your air conditioner is appropriately sized for actual loads</li><li><strong>Retrofit planning:</strong> Identify whether you need better insulation (reduce R) or thermal mass strategies</li><li><strong>Energy predictions:</strong> Project annual cooling/heating costs based on measured properties</li><li><strong>Baseline for improvements:</strong> Before/after comparison if you make changes</li></ul><h3>Practical Takeaways</h3><p><strong>ROMs are accessible:</strong> You don’t need specialized equipment beyond temperature sensors. The methodology is straightforward once you understand the concepts.</p><p><strong>Multiple datasets strengthen confidence:</strong> I validated my approach using five different datasets from the same building under different conditions. Consistent parameter identification across datasets confirms the model is capturing real building physics.</p><p><strong>Expect fitted parameters to differ from calculations:</strong> This is normal and indicates the model is capturing effective thermal behavior including thermal lag and activation effects.</p><p><strong>Start simple, add complexity as needed:</strong> Try 1R1C first. If you have significant thermal mass and need better accuracy, move to 2R2C.</p><p><strong>Data quality matters:</strong> Clean, continuous temperature measurements at appropriate sampling rates (1-minute intervals) are essential. Garbage in, garbage out.</p><h3>What’s Next</h3><p>This article covered the methodology — how reduced-order thermal modeling works and how to identify parameters from measured data.</p><p>In the next article, I’ll share what I learned when I applied this approach to my actual 1963 brick-and-slab home: the specific thermal properties I discovered, how my home compares to typical assumptions for 1960s construction, and some surprising findings about how thermal mass behaves under different operating conditions.</p><p>The combination of physics-based modeling and real building data revealed insights I couldn’t have obtained from rules of thumb or textbook calculations alone.</p><p>If you found this useful, check out how I applied wavelet analysis to my AC duty cycle data to extract thermal patterns: [Measuring Home AC Duty Cycle: A Wavelet Approach](<a href="https://medium.com/the-lagrange-point/measuring-home-ac-duty-cycle-a-wavelet-approach-19feafe9fd51">https://medium.com/the-lagrange-point/measuring-home-ac-duty-cycle-a-wavelet-approach-19feafe9fd51</a>)</p><p><strong>AI Assistance Disclosure:</strong> This article was written collaboratively with Claude (Anthropic) to refine structure, clarity, and technical explanations while maintaining my voice and personal insights.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e829f8375ea4" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-lagrange-point/how-to-model-your-homes-thermal-behavior-a-physics-based-approach-e829f8375ea4">How to Model Your Home’s Thermal Behavior: A Physics-Based Approach</a> was originally published in <a href="https://medium.com/the-lagrange-point">The Lagrange Point</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I Ranked My Entire Sneaker Collection Using an Elo Ranking System. Here’s What I Learned.]]></title>
            <link>https://medium.com/the-lagrange-point/i-ranked-my-entire-sneaker-collection-using-an-elo-ranking-system-heres-what-i-learned-dec2bd8ce078?source=rss----edb3d36112e0---4</link>
            <guid isPermaLink="false">https://medium.com/p/dec2bd8ce078</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[decision-making]]></category>
            <category><![CDATA[elo]]></category>
            <category><![CDATA[sneakers]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Moses Navarro]]></dc:creator>
            <pubDate>Wed, 07 Jan 2026 23:10:32 GMT</pubDate>
            <atom:updated>2026-01-07T23:10:31.034Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fWy6VDyn67H4YxPxwShunQ.png" /></figure><p>I hit a wall. Not metaphorically — literally. My sneaker storage was full. 190 pairs crammed into every available shelf, box stacked on box, and 2026 releases already on my radar. Something had to go. But which shoes?</p><p>That question turned out to be harder than expected. After years of collecting, I had no systematic way to know what I actually preferred. Sure, I could say “I love Jordan 4s,” but which specific 4s did I love most? And how did they compare to my Jordan 1s or 11s? Without clear answers, I was stuck guessing — and gut feelings are terrible guides when cognitive biases are involved.</p><p>I needed data. So I built an Elo ranking system to answer a simple question: which shoes do I actually like?</p><p>The data revealed something unexpected. I’m not a collector — I’m a curator. And the storage constraints forcing this analysis weren’t limitations, they were the path to intentionality.</p><h3>The Problem: You Sometimes Don’t Actually Know What You Like</h3><p>It’s easy to have surface-level preferences. “I love Jordan 4s” sounds definitive. But when you actually need to make decisions — keep this pair or sell it? Buy this new release or pass? — those broad statements don’t help.</p><p>Ranking specific pairs against each other is much harder. Comparing across models is even worse. And the whole exercise is corrupted by cognitive biases I didn’t even realize I had:</p><ul><li><strong>Recency bias</strong>: The shoe you just bought feels more special than ones sitting in the closet</li><li><strong>Hype influence</strong>: If StockX says it’s worth $800, you convince yourself you love it</li><li><strong>Sunk cost fallacy</strong>: You paid retail, so you tell yourself it was worth it</li></ul><p>Take my two pairs of A Ma Maniere Jordan 3s. I own one worn pair and one deadstock. I’d already earmarked the deadstock for sale, thinking “I really like these, but I don’t need two pairs.” But did I actually prefer them? Or had I just convinced myself because I owned them?</p><p>The collection management challenge was real: 190 pairs, limited storage, and no reliable way to decide what stays and what goes. I couldn’t trust my gut — I needed data.</p><h3>The Solution: Pairwise Comparisons Reveal True Preferences</h3><p>Elo ratings were originally developed for chess, but the system works anywhere you need to rank preferences. You’ve probably encountered it in video games (I remember Elo ratings from Destiny Crucible matches) or even dating apps. The core principle is elegant: pairwise comparisons reveal true preferences.</p><p>Here’s how it works:</p><p><strong>The Math:</strong> Everyone starts at a rating of 1500. When two items compete, the expected winner is calculated based on the rating gap:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WqjwWHsZ9C-K2u0p_1q89g.png" /></figure><p>The actual winner gains points from the loser, with the transfer amount determined by how unexpected the outcome was:</p><p>New Rating = Old Rating + K × (Actual Score — Expected Score)</p><p>Where K is a constant (typically 32) that controls how much ratings change per comparison.</p><p><strong>Why This Works:</strong> The beauty of Elo for sneakers is that it forces direct choices. Jordan 4 Bred vs. Jordan 1 Chicago Lost &amp; Found — which do you prefer? You can’t overthink it. You can’t justify it. You just pick one.</p><p>The system uses transitive logic: if A beats B, and B beats C, it infers A would likely beat C. This drastically reduces the number of comparisons needed. Instead of comparing all 190 shoes against each other (18,000+ comparisons), you only need around 1,500–2,000 total comparisons for stable rankings.</p><p><strong>The Implementation:</strong> I wrote a Python script that reads my sneaker spreadsheet and presents random matchups. Each session, I’d do 30–50 comparisons — about 10–15 minutes of work. The script saves progress after each session, so rankings evolve incrementally over weeks. The process itself forced me to engage with my collection in a way I never had before.</p><h3>The Results: What the Data Revealed</h3><p>After running enough comparisons, clear patterns emerged.</p><p><strong>Top Tier Dominance:</strong> Jordan 4s absolutely dominated my top 20 — six pairs made the cut. But looking closer, the pattern isn’t just about models. It’s about OG colorways.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/705/1*WKoHoSQUmXghX-Qr65LqAg.png" /></figure><p><strong>Middle Tier Reality Check:</strong> Remember those A Ma Maniere 3s I mentioned? Both pairs landed at #85–88. Not terrible, but definitely not top-tier. The data validated my initial instinct to sell the deadstock pair — but it also revealed something more important: I was lukewarm on both pairs.</p><p>Interestingly, I also discovered I have duplicate Jordan 4 White Cement 2025s — one at #12 (worn) and another at #17 (deadstock). Both rank in my top 20, yet I’m still considering selling one. Even for shoes I love, I don’t need multiples. That’s the curator mindset: optimize for what you’ll actually wear and appreciate, not accumulate for completeness.</p><p>This is where the Elo system exposed a fundamental difference in collecting philosophy.</p><p><strong>Completionist vs. Curator:</strong> Recently I watched a video by Hes Kicks where he talked about contemplating whether to complete his A Ma Maniere collection, building the complete set. If I were a completionist, I’d be chasing the other A Ma Maniere releases right now.</p><p>But my rankings show I’m lukewarm on the 3s I already own. Why chase a complete set when the existing pieces rank #85–88? The data exposed the gap between what I thought I wanted (completeness) and what I actually prefer (quality aligned with personal taste).</p><p>That said, the rankings also revealed I do have selective completionist tendencies — but not for brands or collaborations. I’m drawn to OG colorways. Look at the top 20: Bred, Chicago, White Cement, Black Metallic. These are the foundational colorways that defined Jordan sneakers in the first place.</p><p>I’m not trying to collect every Jordan release. I’m curating the best versions of classic colorways across specific silhouettes: Jordan 1, 3, 4, 5, 6, and 11. The modern releases like Tokyo 5s or Travis Scott collabs that rank high are exceptions — they earned their spots through design and quality, not completionist impulses.</p><p><strong>The Living Collection vs. The Archive:</strong> Another pattern emerged from how I manage my data. When I sell a shoe, I delete it from my spreadsheet entirely — I don’t just mark it “sold.” Over five years, I’ve sold 87 pairs. That means I’ve owned 287 pairs total, but my current spreadsheet only shows the 190 I still have.</p><p>A completionist would preserve that archive — a complete ownership history, every shoe ever owned. But I maintain a living collection. Only what’s current matters. The Elo rankings reinforced this mindset: focus on what I have, optimize what I keep, let go without attachment.</p><p><strong>Preference Patterns:</strong> The rankings also revealed what actually drives my preferences:</p><ul><li>Not rarity: Some general releases ranked high</li><li>Not resale value: Some valuable shoes ranked low</li><li>Not even wear count: Unworn shoes like the Jordan 17 Low could rank top 10</li><li>Pure aesthetic preference, untainted by external factors.</li></ul><p><strong>The Serotonin Shift:</strong> There’s a neurochemical component here too. Dopamine drives wanting — chasing the next release, hunting drops, scrolling release calendars. Serotonin drives appreciating what you have. The ranking process creates moments of presence with your existing collection. It’s mindfulness through data. Instead of asking “what’s dropping next Saturday?” I’m asking “which of these shoes do I actually prefer?”</p><p>But it’s more than just the math. Sometimes you hold a shoe and just think “this is beautiful” — and that aesthetic appreciation can’t be fully quantified by an algorithm. The Elo system provides structure, but the preferences it reveals come from something deeper: genuine taste.</p><h3>The Deeper Insight: Constraints Create Intentionality</h3><p>Here’s the uncomfortable question: Would I still be a curator without storage constraints?</p><p>Probably not.</p><p>If I had unlimited storage, my collection would likely grow unchecked — 300 pairs, 500 pairs, eventually hitting cognitive overload where I’d wake up one day and think “This is too many shoes!” The constraint isn’t just physical storage. It’s mental bandwidth. Past a certain point, you can’t remember what you own. The collection becomes noise, not signal.</p><p>This is the hedonic treadmill in action. More shoes doesn’t mean more appreciation. There’s an optimal collection size somewhere between deprivation and excess — probably in the 150–250 range for most people.</p><p>Storage constraints function as a forcing mechanism. They force active curation: sell the #85–88 shoes to make room. They prevent mindless accumulation. They create intentionality that wouldn’t exist otherwise.</p><p>The Elo rankings show me what I value. The storage limits force me to act on it. Together, they create intentional curation instead of passive accumulation.</p><p><strong>The Reframe:</strong> I thought I was a sneaker collector. The Elo rankings showed me I’m actually a sneaker curator. Collectors chase completeness. Curators chase quality aligned with personal taste. The data freed me from the completionist trap — but only because the constraints made the data actionable.</p><h3>Conclusion: Apply Frameworks to Understand Yourself</h3><p>This is the engineering mindset applied to personal collection management. We build frameworks to understand systems — in this case, I built a framework to understand myself. Data over emotions, every time. The Elo system cut through cognitive biases I didn’t even know I had.</p><p>But this isn’t just about sneakers. Any collection benefits from systematic ranking. Books, watches, vinyl records, artwork — whatever you accumulate. The market tells you what to want. The data tells you what you actually like.</p><p>You don’t need 190 shoes to apply this. Even 20 pairs benefit from systematic ranking. Know what you like, buy accordingly, ignore the hype. Curation over accumulation.</p><p><em>This post is part of The Lagrange Point — applying mathematical frameworks to real-world problems. Future topics: sneaker market economics, building thermal modeling, and other systems worth understanding.</em></p><p><strong>AI Assistance Disclosure:</strong> This article was written collaboratively with Claude (Anthropic) to refine structure, clarity, and technical explanations while maintaining my voice and personal insights.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dec2bd8ce078" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-lagrange-point/i-ranked-my-entire-sneaker-collection-using-an-elo-ranking-system-heres-what-i-learned-dec2bd8ce078">I Ranked My Entire Sneaker Collection Using an Elo Ranking System. Here’s What I Learned.</a> was originally published in <a href="https://medium.com/the-lagrange-point">The Lagrange Point</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Resale Platforms Changed the Sneaker Market]]></title>
            <link>https://medium.com/the-lagrange-point/how-resale-platforms-changed-the-sneaker-market-89322281d26c?source=rss----edb3d36112e0---4</link>
            <guid isPermaLink="false">https://medium.com/p/89322281d26c</guid>
            <category><![CDATA[michael-jordan]]></category>
            <category><![CDATA[sneakers]]></category>
            <category><![CDATA[nike]]></category>
            <category><![CDATA[financial-markets]]></category>
            <category><![CDATA[reselling]]></category>
            <dc:creator><![CDATA[Moses Navarro]]></dc:creator>
            <pubDate>Tue, 06 Jan 2026 02:30:44 GMT</pubDate>
            <atom:updated>2026-01-06T02:30:43.066Z</atom:updated>
            <content:encoded><![CDATA[<p>The sneaker resale market underwent a structural transformation in 2016. Before that year, resale operated through fragmented channels with high friction, difficulty matching buyers and sellers, and very limited price transparency. After 2016, platforms like StockX and GOAT introduced marketplace infrastructure that changed these dynamics. This post examines what changed and why it matters for understanding modern resale dynamics.</p><p>I started collecting in 2020, after I got Jordan retro nostalgia from watching “The Last Dance”. Therefore I wasn’t actively participating in the pre-2016 market. But analyzing the market’s evolution reveals a clear inflection point: the launch of transparent resale platforms. It’s important to distinguish what changed at this moment. SNKRS launched in February 2015 and improved retail buying directly from Nike. StockX and GOAT, launching in 2016 (with GOAT starting in 2015), created resale marketplace infrastructure. These solved different problems at different points in the sneaker market.</p><p>This post covers the pre-2016 resale landscape, the 2016 platform innovation, post-2016 market dynamics, and why this foundation will set the backdrop for a mathematical analysis that will be explored in later posts.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bqi4aXGMB7GWqc7-s-KKJg.png" /></figure><h3>Pre-2016: Fragmented Resale Market</h3><p>The pre-2016 resale market operated through multiple channels, each with different friction levels but all sharing core inefficiencies.</p><p>High-friction peer-to-peer channels included Craigslist local listings, NikeTalk, SoleCollector forums, Facebook groups, and in-person meetups in parking lots or coffee shops. These required significant time investment, carried authentication risk, and were geographically constrained.</p><p>Medium-friction options existed through consignment shops like Flight Club, founded in 2005 with locations in NYC and LA, and Stadium Goods, which opened in 2015 in NYC. These shops provided authentication and browsable inventory, solving some trust issues. But geographic constraints created regional pricing variations, and consignment models meant delays between dropping off shoes and completing a sale. eBay offered national reach and some buyer protection but authentication remained primarily the buyer’s responsibility.</p><p>Across all these channels, three core problems persisted. First, “fair price” — no historical data, regional variations, and negotiated sales meant “fair price” had some amount of uncertainty. Second, “transaction friction” — small, geographically constrained participant pools made it difficult to match buyers and sellers, causing shoes to sit unsold for extended periods. Third, “verification” — sellers knew the actual condition while buyers didn’t, verification was the buyer’s responsibility, and counterfeit risk was a persistent concern.</p><p>It’s worth noting that retail buying was also evolving during this period. Nike.com existed, though it was chaotic with bot activity. SNKRS launched in February 2015 to improve Nike’s direct sales. Bots were active but less sophisticated than today. The key distinction: you could buy sneakers online at retail, however chaotic, but reselling them remained largely local and fragmented.</p><p>The result was that resale stayed limited to serious collectors willing to navigate friction. Casual buyers often avoided it. The market was generally slower, less transparent, and less efficient than what would emerge later.</p><h3>2016: The Platform Innovation</h3><p>In February 2016, StockX launched with a “stock market of things” model. GOAT, which started in 2015, expanded its authentication service and marketplace features around the same time. Both platforms expanded steadily after launch, with the COVID-19 pandemic in 2020–2021 marking a period of particularly explosive growth. StockX, for instance, grew from $400 million in revenue in 2020 to a $3.8 billion valuation by 2021, while GOAT Group reached a $3.7 billion valuation the same year [1,2].</p><p>What they introduced to the resale market was transformative. Stock market mechanics brought live bid-ask spreads and visible order books, enabling market-clearing price discovery. Data transparency provided historical charts, transaction records, volume metrics, volatility measures, and rolling averages that made analysis possible and informed decision-making. Professional authentication through verification centers with standardized processes removed the anxiety about fakes and built trust. A nationwide marketplace eliminated geographic barriers and created exponentially larger markets where a seller in Houston could instantly reach buyers in NYC. Frictionless execution meant one-click buying and selling, with platforms handling shipping and payment.</p><p>The key innovation was applying financial market infrastructure to physical goods. Sneakers became tradable assets with price discovery and transparency. The market response was dramatic. New participants entered: sophisticated bot operations, casual flippers, and even investment groups. Buyers also benefitted from access to authenticated shoes, transparent pricing data, and a broader selection beyond their local markets. Sneakers gained legitimacy as an alternative asset class, with platforms providing the infrastructure that made this possible. Reselling became a mainstream side hustle rather than a niche hobby, with participants on both the buying and selling sides accessing markets that were previously closed to them.</p><h3>Post-2016: Efficient Market Dynamics</h3><p>The platform infrastructure directly addressed the three core problems. Fair price uncertainty decreased through transparent historical data and real-time market pricing. Transaction friction dropped through a centralized marketplace that matched buyers and sellers across geographies. Verification became the platform’s responsibility rather than the buyer’s, with authentication centers processing every transaction before delivery.</p><p>Rapid price equilibration became more common. The Jordan 4 Black Cat, for example, reached a stable price in a few days after release based on data I’ve observed. A pre-2016 equivalent would have likely taken longer, maybe weeks or months. Efficient markets tend to find equilibrium faster.</p><p>Data-driven decisions became possible because key metrics are visible: price, volume, volatility. Historical patterns are analyzable. You can’t model what you can’t measure. Market maturity brought more predictable patterns and reduced arbitrage opportunities. Competition intensified, making individual success harder but operations more scalable for those who could systematize. Brands gained market intelligence through real-time demand signals and discovered price ceilings through resale data. This created a feedback loop for production optimization, which we’ll explore more in a post dedicated to brand-platform synergy.</p><p>The transformation period (2016–2021) came with trade-offs. Market efficiency increased, but resellers using bots amplified because scaling operations became easier. Price transparency benefited informed buyers, but made it harder for individuals to find mispriced opportunities. Transaction speed improved dramatically, but platforms extracted 12–15% fees. Fraud risk dropped through authentication, eliminating the fear of fakes that plagued pre-2016 channels. However, the local community aspect was reduced — the in-person meetups, forum relationships, and regional sneaker scenes that characterized the early resale market gave way to anonymous digital transactions. The market became accessible to more people, but sneakers also became increasingly more of an asset, shifting focus from pure passion.</p><p>The current state reflects this maturity. The sneaker market operates like a financial instrument, with participants tracking seven-day average volatility metrics just as they would for stocks. The Jordan 4 Black Cat, for instance, shows roughly 7% volatility (as of January 4, 2026 on StockX), indicating very stable pricing.</p><h3>Why This Matters</h3><p>The post-2016 low-friction environment creates the foundation for everything that follows in this series. The mathematical modeling in the second part of this series requires the transparent, high-frequency data that only exists because of platform infrastructure. You need observable prices, volume, and time-series data to build and validate models. The third part of this series will examine how brand behavior depends on the real-time feedback loop platforms provide. Brands can now observe demand signals and price discovery as they happen.</p><p>From an engineering perspective, the platform innovation addressed a classic two-sided marketplace problem. StockX and GOAT reduced friction and enabled price discovery. The approach was elegant: apply proven financial market mechanisms to sneakers.</p><p>The shift created an entirely new market structure, not incremental improvements to the existing system. Pre-2016 and post-2016 represent fundamentally different market structures. One was fragmented with high friction, the other is a consolidated structure with low friction. This transformation created the modern resale economy.</p><p>But structural changes create winners and losers. The platforms work as designed — that doesn’t mean everyone benefits equally. By making reselling accessible to anyone, the platforms intensified competition for limited supply, with bot-equipped resellers often winning against genuine customers. Platforms profited regardless, extracting fees from both sides of every transaction, while the financialization shifted what sneaker collecting means for many participants.</p><p>Now that we understand the modern market structure, my next post will examine the mathematical framework that explains resale pricing dynamics.</p><p><strong>References</strong></p><p>[1] CNBC. “Sneaker Reseller StockX’s Valuation Jumps to $3.8 Billion.” April 8, 2021. <a href="https://www.cnbc.com/2021/04/08/sneaker-reseller-stockxs-valuation-jumps-to-3point8-billion-.html">https://www.cnbc.com/2021/04/08/sneaker-reseller-stockxs-valuation-jumps-to-3point8-billion-.html</a></p><p>[2] Contrary Research. “GOAT Business Breakdown &amp; Founding Story.” <a href="https://research.contrary.com/company/goat">https://research.contrary.com/company/goat</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=89322281d26c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-lagrange-point/how-resale-platforms-changed-the-sneaker-market-89322281d26c">How Resale Platforms Changed the Sneaker Market</a> was originally published in <a href="https://medium.com/the-lagrange-point">The Lagrange Point</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>