openego / powerd-data

GNU Affero General Public License v3.0
1 stars 0 forks source link

fix transformer s_nom #166

Open nailend opened 5 months ago

nailend commented 5 months ago

S_nom values for transformers derived in osmTGmod seem to be much too high. Presumably these values are derived as the sum of all connected lines.

Our fix is to just use the sum of all lower_voltage connected lines.

Optionally, the s_nom value could be rounded up to the nearest typical transformer rating.

nailend commented 5 months ago

image

nailend commented 5 months ago

S_nom are cast to smallint. This can cause problems because the column was double precision before.