|
Cover type: Vertical Blind Issue: Gamma safety margin overrides correct cos(gamma) depth calculation, causing over-closure at high gamma even though true room penetration is lower. Data (from sonnenverlauf.de, same location):
Actual perpendicular penetration into the room is lower on Aug 15 than Jun 21 (0.45m vs 0.87m), because more of the sun's travel is lateral (along the window) rather than into the room at higher gamma. Despite this, the blind closes further on Aug 15 than on Jun 21 for the same Cause identified: The gamma safety margin ( Question: Is the gamma margin intended to compensate for something other than direct-beam floor penetration (e.g. diffuse glare at oblique angles), or should it be reconciled with the cos(gamma) depth correction so it doesn't force extra closure when true calculated depth has decreased? Is there a way to reduce/disable this margin per-cover? config_entry-adaptive_cover_pro-01KS2QNAQCZG3NZDMB3KZ8D9K6.json |
Replies: 3 comments
|
You found a real bug, just not the one you were aiming at. The gamma safety margin is innocent here: I retired it from the vertical axis in #1224, and in your geometry it was inert anyway, because it multiplies a base height of exactly 0.0. Your The actual cause is a units error in the sill term. In At your gamma of 68.8 degrees that is 1.83 m of phantom shaded distance, against a window only 0.98 m tall. The effective distance goes negative, a clamp pins the raw position at 0 percent, and your Running your exact config (azimuth 300, FOV +/-73, height 0.98, depth 0.25, sill 1.04, shaded distance 1.25) through the real engine:
Both of your sample points compute to 0 percent raw, which is why June still looks like it behaves. On June 21 the sun spends much of the afternoon high enough to escape the clamp, so you get 80, then 45, then 25. On August 15 it is past the clamp from the moment it enters your field of view around 227 degrees, so it sits flat at 25 for the rest of the day. That matches the position forecast in the bundle you attached: handler Set sill height to 0 and the engine matches the geometry to within 1e-12 everywhere, which is what pins it to the sill term specifically rather than anything else in the chain. Your photos are consistent with this too. On August 16 the sun genuinely is not reaching your horizontal surfaces, and the blind should be wide open. It is closed because of the sill arithmetic, not because anything decided that angle was dangerous. On your second question, there is no vertical-axis margin to reduce or disable. The only configurable one is Until the fix ships, the workaround is to raise I have opened #1290 with the full analysis and I am working the fix now. Worth saying that this symptom has come through twice before, in #304 and #358, and both times it was patched at the wrong end without anyone spotting the units mismatch. Your sun-path data and the diagnostics bundle are what finally made it findable. |

You found a real bug, just not the one you were aiming at. The gamma safety margin is innocent here: I retired it from the vertical axis in #1224, and in your geometry it was inert anyway, because it multiplies a base height of exactly 0.0. Your
cos(gamma)reasoning about true penetration is right, and the engine already divides bycos(gamma)for exactly that reason.The actual cause is a units error in the sill term. In
engine/covers/vertical.pythe sill offset is computed assill_height / tan(elevation), which is a distance measured along the ray. That gets subtracted fromdistance_shaded_area, which is measured perpendicular to the window ("measure from the inside of your window to whe…