Luminous flux and desk illuminance — an ideal point-source model Gumi article dated 2026-10-21. Numerical calculations, not lamp measurements. FILES - lumen-lux-model.py: standard-library calculations and checks; optional plot. - lumen-lux-model-results.json: the actual recorded calculation output. - lumen-lux-model.svg: plot generated from the same functions. - lumen-lux-model-README.txt: this file. All four files are included at the root of lumen-lux-model.zip. The standalone SVG is also published under /images/lumen-lux-model.svg. RUN Tested: CPython 3.12.14 on macOS 27.0.1, arm64, on 2026-10-21. The calculation and JSON output need only the Python standard library: python3 lumen-lux-model.py > result.json No files are read, no network requests are made, and no physical hardware is accessed by that command. The report records the current Python version and platform, so its environment fields can differ on another computer. OPTIONAL PLOT The published plot was generated with Matplotlib 3.11.2. Install Matplotlib in a separate environment if reproducing the plot: python3 -m venv .venv .venv/bin/python -m pip install matplotlib==3.11.2 .venv/bin/python lumen-lux-model.py --plot lumen-lux-model.svg > result.json The plot option writes the SVG and a PNG preview of the same name. It prints the Matplotlib version to stderr; stdout remains calculation JSON. The SVG metadata and generated element identifiers can differ on re-runs; byte identity of independently regenerated plots is not claimed. Only the supplied CPython / Matplotlib combination was actually tested. 中文说明 这是教学数值模型,不是对任何 800 lm 灯具或房间的实测。 假设:点光源向所有方向均匀发光,总光通量 800 lm;没有遮挡、吸收、 反射、其他光源和环境光。光强 I = Φ/(4π)。局部直射照度 E = I cos(θ)/r²,其中 θ 为表面法线与朝向光源方向之间的夹角。 角度实验固定光源到点的距离,仅转动受光面;没有移动桌面上的点。 圆面实验另行固定光源垂直高度 h=1 m、水平圆面面积 A=1 m²,圆心在 光源正下方。离圆心水平距离为 ρ 的点,距离和入射角一起改变。 局部照度 E(ρ) = I h/(h²+ρ²)^(3/2),半径 R=√(A/π)。 圆面入射光通量 = Φ/2 × (1-h/√(h²+R²))。 面积平均照度 = 圆面入射光通量 / A,不是源总光通量 / A, 也不是沿半径取等间隔点的简单平均。 若真有 800 lm 全部到达 1 m²,则面积平均为 800 lx,即使分布不均匀; 但只有源总光通量 800 lm 这个信息,不足以保证该条件成立。 这些计算不能预测任意真实房间的照度,也没有验证照度计或照明标准。 日本語説明 教材用の数値モデルで、特定の 800 lm 器具や部屋の実測ではありません。 点光源が全方向へ一様に総光束 800 lm を出し、遮蔽、吸収、反射、 別の光源、環境光はないと仮定します。光度 I = Φ/(4π)。 局所直射照度は E = I cos(θ)/r²。θ は面の法線と光源へ向かう方向の角度。 角度実験は光源から点までの距離を固定し、受光面だけを回転させます。 円板実験では高さ h=1 m、水平円板の面積 A=1 m²、中心を光源の真下に 固定します。中心からの水平距離 ρ が変わると、距離と入射角が同時に 変わります。局所照度 E(ρ) = I h/(h²+ρ²)^(3/2)、半径 R=√(A/π)。 円板への入射光束 = Φ/2 × (1-h/√(h²+R²))。 面積平均照度は入射光束 / A であり、光源の総光束 / A ではありません。 半径方向に等間隔で取った値の単純平均でもありません。 実際に 800 lm のすべてが 1 m² に到達すれば、不均一でも面積平均は 800 lx です。しかし、総光束 800 lm という情報だけで、その条件が 成立するとは保証できません。任意の実室内を予測するモデルではなく、 照度計や照明規格への適合も検証していません。 RECORDED RESULTS Intensity: 63.66197723675813 cd. Normal incidence, distance 0.5 / 1.0 / 2.0 m: 254.64790894703253 / 63.66197723675813 / 15.915494309189533 lx. Fixed distance 1 m, angles 0 / 60 / 80 / 90 degrees: 63.66197723675813 / 31.830988618379074 / 11.054786333836656 / 0.0 lx. Disk radius: 0.5641895835477563 m. Disk center / edge / area mean: 63.66197723675813 / 42.058507737956546 / 51.621586663059475 lx. Incident disk flux: 51.621586663059475 lm. 2,000 midpoint rings: 51.62158774782887 lm; absolute error about 1.08e-6 lm. 20,000 midpoint rings: 51.62158667390715 lm; absolute error about 1.08e-8 lm. The integration error compares algorithms in one ideal model; it is not an instrument uncertainty or a real-room prediction error. CHECKS Seven calculation checks passed: inverse-square ratio, cosine ratio, zero flux / grazing incidence, edge < mean < center, finite interception below downward-hemisphere flux, flux linearity, and integration agreement. Seven invalid inputs were rejected: negative flux, zero distance, angle 91 degrees outside this model's front receiving hemisphere, zero height, zero area, NaN flux, and infinite height. Exactly 90 degrees returns zero. These checks cover the fixed teaching cases, not all floating-point limits or the near field of an extended real luminaire. PRIMARY REFERENCES (checked 2026-10-21) Luminous flux: https://cie.co.at/eilvterm/17-21-039 Illuminance: https://cie.co.at/eilvterm/17-21-060 Luminous intensity: https://cie.co.at/eilv/739 Uniform point source: https://cie.co.at/eilvterm/17-21-098 Inverse-square law: https://ies.org/definitions/inverse-square-law/ Cosine law: https://ies.org/definitions/cosine-law/ The references define quantities and laws; they do not supply or validate the chosen 800 lm source, 1 m height, 1 m² disk or any physical lamp result.