Photometric files
Supported formats
IESNA LM-63
All four common layouts are read: 1986, 1991, 1995 and 2002. After the keyword block and the TILT= line the reader expects
n_lamps lumens_per_lamp candela_multiplier n_vert n_horiz
photometric_type units_type width length height
ballast_factor ballast_lamp_photometric_factor input_watts
<n_vert vertical angles>
<n_horiz horizontal C angles>
<n_horiz * n_vert candela values, vertical-major within each C plane>
Handled along the way:
TILT=INCLUDEdata is read and skipped, with a warning that tilt factors are not applied.TILT=<filename>is reported as unavailable rather than silently ignored.- Candela values are scaled by the multiplier, the ballast factor and the ballast-lamp photometric
factor. Because the file's factors are folded in here, a fixture created from an import gets a ballast factor of 1.0 so nothing is counted twice.
- Descending vertical tables and unsorted C planes are re-ordered.
- Fortran-style exponents such as
1.5D+2are accepted, as are comma and semicolon separators. units_type1 means feet and is converted to metres. Negative width or length denotes a circular
aperture in LM-63 and is recorded as such.
lumens_per_lampof -1 marks absolute photometry.
EULUMDAT
The strict one-value-per-line layout is read in full, including the lamp sets, the ten direct ratios, the C plane and gamma angle lists, and the intensity table. All five symmetry classes are mapped:
| Isym | Stored planes | Meaning | | --- | --- | --- | | 0 | Mc | No symmetry | | 1 | 1 | Rotational symmetry about the vertical axis | | 2 | Mc/2 + 1 | Symmetry about the C0-C180 plane | | 3 | Mc/2 + 1 | Symmetry about the C90-C270 plane, stored C90 to C270 | | 4 | Mc/4 + 1 | Symmetry about both planes |
Intensities are stored as cd per 1000 lm and converted using the declared lamp flux. A negative lamp count marks absolute photometry, in which case the conversion factor field is used instead.
Photometric types A, B and C
Type C is the architectural standard and is used internally. Type A and B files are stored in their native angle sets and converted on lookup, so the rest of the engine only ever speaks Type C. For type B, the direction relation is
y = sin(beta)
x = cos(beta) sin(B)
z = -cos(beta) cos(B)
which inverts to beta = asin(y) and B = atan2(x, -z). Type A is the same with the roles of x and y exchanged. A warning is raised on import, because asymmetric floodlight results are worth checking independently after a conversion.
Symmetry folding
An arbitrary azimuth is folded onto the tabulated range according to the file's symmetry. Quadrant symmetry, for example, uses both mirror relations: I(C) = I(360 - C) about the C0-C180 plane and I(C) = I(180 - C) about the C90-C270 plane. Files tabulated 0 to 350 are treated as cyclic, so a lookup between the last plane and the first interpolates across the wrap.
Flux integration
Total flux comes from integrating the distribution:
Phi = integral integral I(gamma, C) sin(gamma) dgamma dC
using midpoint sampling that stays stable for peaky distributions. Rotationally symmetric files skip the azimuthal loop. The classic zonal lumen table, flux per 10-degree band of vertical angle, is derived from the same integral and shown on the fixture page: it is what determines how much light reaches the working plane versus the walls and ceiling.
The integrated flux is what the engine uses, scaled to the fixture's rated output. If a file's integral disagrees with its declared lamp lumens, that difference is the light output ratio and is reported rather than reconciled away.
Derived descriptors
- Downward flux fraction and the CIE distribution class: direct, semi-direct, general, semi-indirect
or indirect, from the 90/60/40/10 per cent thresholds.
- Beam angle is the full cone at 50 per cent of peak intensity, measured in the C plane containing
the peak. Field angle is the same at 10 per cent.
- Beam angle is reported as undefined when the maximum sits well off the nadir axis, as it does for
batwings, wall washers and road optics. For those the 50 per cent contour is a ring rather than a cone, and quoting a single beam angle would be misleading. The peak gamma is shown instead.
Importing
Use Import IES / LDT on the fixture library page. The reader reports what it found before anything is saved:
- format and photometric type
- integrated flux, and the downward and upward split
- peak intensity and the angle it occurs at
- beam and field angles, or a note that the peak is off axis
- the cut-off angle, that is the highest tabulated vertical angle
- table size and symmetry class
- declared input power and the resulting efficacy
- any warnings
Product data is pre-filled from the file's keywords where present. Files are de-duplicated by checksum, so importing the same file twice reuses the existing record.
A file whose integrated flux is essentially zero is rejected with a note to check the candela multiplier, because a silently zero distribution would produce a plausible-looking calculation of nothing.
Model distributions
Catalogue fixtures that ship with the application, and any fixture you create from a preset, carry a distribution generated from a physical shape function and normalised so its integrated flux equals the declared output. That normalisation is what keeps the engine's energy balance exact.
| Preset | Shape | | --- | --- | | lambertian | I = I0 cos(gamma), zero above horizontal | | uniform_down | Constant over the downward hemisphere | | isotropic | Constant in all directions | | downlight, spot, accent | I = I0 cos^n(gamma) with n from the requested 50 per cent beam angle | | batwing | Peak near 30 degrees with a controlled roll-off to a 90 degree cut-off | | linear | Batwing transverse, cosine axial, quadrant symmetric | | highbay | Narrow symmetric beam with a sharp cut-off | | indirect | Pure uplight | | semi_direct, direct_indirect, semi_indirect | Two Lambertian lobes split by the up fraction | | wallwash | Asymmetric, throwing toward C0 | | street | Lateral throw in the manner of an IES Type II optic |
Each preset tabulates only the angular domain it actually emits into. A downlight's table stops at 90 degrees, which correctly means no output above horizontal.
These are models, not measurements. Every catalogue fixture says so on its page, and the report
disclaimer repeats it. Import the manufacturer's photometric file before issuing a design.
Fixture versioning
Editing a custom fixture creates a new version and keeps the previous state. Placements record the version they were calculated with, so a product change never silently alters an issued design. Catalogue entries cannot be edited directly: duplicate one and edit the copy. Archiving a fixture that is in use keeps existing designs working.
Exporting
Any fixture can be downloaded as its original file, or re-emitted as a valid LM-63-2002 file. That second route is useful for sharing a model distribution with another tool, or for turning an LDT into an IES.