Educational tool

VillaLuz, the village
that gets its stars back

A first-person simulator. VillaLuz is an invented village with a single 200-metre street: you walk it at night, adjust its lighting parameters and watch what happens to the street, the sky and the electricity bill at the same time.

The simulator needs a browser with 3D graphics. Even so, everything it calculates and why is set out below.

01

Not a game: a calculation

Every figure comes from applying Spain's energy efficiency regulation for outdoor lighting. Illuminance is computed point by point on a 25-centimetre grid, the burning hours come from the position of the Sun at this latitude, and the sky brightness from the flux that escapes upwards. What you see on screen is literally what is calculated: the ground texture is the illuminance map.

02

What the regulation says

ITC-EA-02 sets the reference level for each lighting class and forbids exceeding it by more than 20 %. ITC-EA-03 caps the flux that may escape skywards depending on the zone. ITC-EA-01 rates the installation from A to G. In Castilla y León, Law 15/2010 tightens things further.

03

The lesson

The optimum the simulator finds has more light points than the starting installation, not fewer: closer together, far weaker, shielded and amber. You win by lighting better, not by lighting less. And the last stretch of sky is only recovered by dimming when nobody needs the light.

Want to simulate your own municipality?

With your real installation data we do exactly this for your whole town.

Want to simulate your own municipality?

Bibliography

Where every figure comes from. None of the ones in this simulator is an opinion: these are the regulations it applies and the work its models come from, for anyone who wants to check it or go further.

Regulations

  • 01
    Real Decreto 1890/2008 — Reglamento de eficiencia energética en instalaciones de alumbrado exterior

    BOE-A-2008-18634 · texto consolidado, con la ITC-EA-01 del Real Decreto-ley 18/2022 (BOE-A-2022-17040)

    The framework behind everything the surfaces panel evaluates: which lighting level each class of road calls for, how far above it you may go, how much flux may escape upwards, and how an installation is graded for energy efficiency.

    • ITC-EA-01 — energy efficiency, the Iε index and the A-to-G label, as worded by Royal Decree-law 18/2022.
    • ITC-EA-02 — lighting classes (ME for carriageways, S for pedestrian areas), their reference levels, the ban on exceeding them by more than 20 %, and reduced levels.
    • ITC-EA-03 — zones E1 to E4, installed upward light output ratio and obtrusive light into windows.
    • ITC-EA-04 — components: efficacies, luminaire output ratio and utilisation factors.
    • ITC-EA-06 — maintenance factor.
  • 02
    Ley 15/2010, de prevención de la contaminación lumínica y del fomento del ahorro y eficiencia energéticos derivados de instalaciones de iluminación

    Castilla y León · BOE-A-2010-20074 · texto consolidado

    The regional law that applies in Valladolid: upward light output ratio below 3 %, switch-off of ornamental lighting, and municipal lighting zoning.

  • 03
    UNE-EN 13201-2:2016 — Iluminación de carreteras. Requisitos de prestaciones

    UNE · norma de pago

    The European standard the ITC-EA-02 levels are based on. The simulator takes from its 2016 edition the M and P classes — equivalent to the regulation's ME and S — and semicylindrical illuminance, the quantity it uses to measure whether the pedestrian's face can be made out.

Sky models

Data and catalogues

  • 08
    IDAE — Inventario, consumo de energía y potencial de ahorro del alumbrado exterior municipal en España

    Instituto para la Diversificación y Ahorro de la Energía

    The national inventory of municipal outdoor lighting: light points, consumption and average power. It is the source of the counter's comparison against the Spanish average and of the extrapolation to Valladolid.

  • 09
    Lumileds — LUXEON 5050, ficha técnica DS174

    Lumileds · flujo mínimo por temperatura de color a 160 mA y 70 CRI

    Its flux-by-colour-temperature table, at equal current, shows how a warm LED performs against a 4000 K one: 16 % less at 2200 K, 7 % at 2700 K and 3 % at 3000 K. It is the efficacy the simulator uses to work out the watts.

  • 10
    Fael Luce — Electra, ficha técnica

    Fael Luce · factores de flujo por temperatura de color

    A catalogue road luminaire with its flux factors by colour temperature: 21 % less at 2200 K. Together with the Lumileds datasheet, it sets the amber penalty in the simulator.

  • 11
    Catálogo Hipparcos

    ESA, 1997

    The 5,044 stars down to magnitude 6.0 seen above VillaLuz are the ones in this catalogue, with their real brightness and colour.

  • 12
    d3-celestial (Olaf Frohn)

    BSD-3-Clause

    The project the trimmed catalogue is taken from, along with the International Astronomical Union constellation lines and names and the Milky Way outlines.

The simulator applies the text in force: Royal Decree 1890/2008 with its 2008 technical instructions, except ITC-EA-01, replaced by Royal Decree-law 18/2022, and Castile and León Law 15/2010, which lowers upward flux to 3 %. Much material quotes a 2021 reform draft — with zone E0, total upward flux and a 4,000 K cap — that has not been approved: when quoting a limit it is worth saying which text it comes from. UNE-EN 13201 is a paid standard and there is no public link to send you to.

Light pollution simulator · VillaLuz | Astroval