If you've ever done any kind of lighting project or built software around lighting you'll have come across the .ies file at some point. It's plain text really, but it contains the data that allows lighting software to predict how a luminaire will light a room. If you've got a luminaire that doesn't have a manufacturer file (or it's corrupted or just doesn't exist for a custom fixture) then an IES file generator can be used to create a usable photometric file. This post looks at what the files contain, why they're important and what to check when you're generating one.

What is an IES file?

An IES file is an IES photometric data file as defined by the Illuminating Engineering Society's LM-63 standard. It describes the distribution of intensity of a light source in space. Lighting calculation and rendering software will read the file and use it to simulate the actual behaviour of light (beam spread, falloff, shape etc).

In short it's a lookup table; for each direction around the fixture how much light goes that way.

Why Developers Should Care

You don't need to be a lighting designer to come across IES data at some point. Developers meet it when they:

  1. Build lighting or visualisation tools
  2. Create 3D scenes or architectural previews
  3. Import photometric data into rendering engines
  4. Write scripts to check or convert fixture data
  5. Support designers who send files that will not open

Understanding the structure makes debugging a whole lot easier.

Inside an IES File

The file is plain text and can be opened in any editor. It generally has three sections.

  1. Header Keywords

Lines in square brackets contain descriptive details such as the test reference, manufacturer and luminaire name. They're there to help people identify the fixture and are essentially just descriptive.

  1. Tilt and Setup Line

A TILT line tells the software how to deal with tilt. A lot of files will just have TILT=NONE. Following that you have a line of numbers which defines the file (number of lamps, lumens, candela multiplier, number of vertical angles, number of horizontal angles, photometric type and units of measurement).

  1. Angles and Candela Values

The remaining lines give the vertical angles, then the horizontal angles, then the candela values for each angle pair. That grid is the actual photometric data that the tools use for their calculations and rendering.

What an IES File Generator Does

Creating a file by hand is possible, but it's slow and easy to get wrong. A generator will take your inputs and produce a properly formatted file for you.

Typical inputs might include:

  1. The beam shape or distribution type
  2. Lumen output or intensity
  3. Beam angle
  4. Luminaire dimensions

The generator then populates the required layout so you don't have to manually format your angles and candela tables.

When You Might Need One

  1. A fixture has no published photometric file
  2. You are testing a concept before choosing a product
  3. A file is corrupted or incomplete
  4. You need a simple placeholder for early-stage layouts
  5. You are building a demo or prototype that needs sample data

For the final, high value calculations you always want to go with the manufacturer's measured data if it's available. Generated files are best used for exploration, planning and prototyping really unless you've actually measured them yourself.

Tips for Working With Generated Files

  1. Check the Units

Confirm whether the dimensions are in feet or metres prior to importing.

  1. Validate in Your Software

Just open the file in your lighting/rendering tool and check the distribution looks correct.

  1. Compare Against a Known Fixture

If there's a similar manufacturer's file available, compare the beam shape and intensity.

  1. Keep Naming Clear

Use descriptive file names so the team know whether a file is a generated one or a measured one.

  1. Document Your Assumptions

Note the inputs that were used so that the results can be reviewed at a later date.

Using Alya's Free IES Generator

Alya by The Light Co is an AI lighting design platform for lighting designers and architects. It has a free IES generator, BOQs and 3D previews so you can create your IES files and your project documentation in one place.

If you're after a quick file for a concept, a prototype or a demo then give it a go in conjunction with your normal tools and check the output in your own software prior to using it.

Common Mistakes

Treating a generated file as measured laboratory data
Ignoring unit settings
Skipping validation in the target software
Using placeholder files in final documents without labelling them
Editing values by hand without keeping a backup

Conclusion

IES files can look very simple but they are the link between the luminaire and the software that simulates it. If you know what's inside an IES file you can then go on to debug problems, pick better inputs and avoid all sorts of errors in your projects. Whether you're a developer building a tool or a designer preparing a layout, a good [IES file generator(https://www.thelightco.ai/ies-generator)] can save you a lot of time (provided you check the output and use it at the right stage in the process).