Posts tagged energy
A 63/20 kV substation on real plots, designed by a coding agent
- 2026-12-03
The substation showcase of design3d is an outdoor 63/20 kV substation designed on three real plots of the Loire and Rhône (France), read from OpenStreetMap. Everything in it is computed: the clearances in air come from the insulation levels of IEC 61936-1, the post insulators are sized for the pollution of the site, each bay is laid out by iterations on its clearances, the transformers are sized from their rating, and the whole is placed on the plot with the largest margin, its terminal towers at the real towers of the incoming lines.
It was written by a coding agent, Claude Code with the Claude Opus 5.5 model, driven by its designer in 22 prompts over two evenings, about 2.5 hours of active conversation. What the agent wrote is not a model of one substation: it is a design program, made of sizing and layout algorithms, that designs the substation again for any plot, voltage or rating given as input. This post tells how, and gives the prompts to do it again.