Add substation type field

Fixes #2486