There are plans for “neighborhood sized” plants that you bury in the ground and forget them, until you dig it up to refuel. The neighborhood can have their own wiring, in that case. No “transportation costs” needed ... :-) ...
The transport costs are the infrastructure costs (electricity lines, poles, etc.), which include labor for maintenance. The cost of electricity on the spot market is effectively what those prices at my link above are (but I pay a small fee ($2.50/month) for “day ahead” pricing, which is kept profit neutral, because I don’t want to be predicting the costs myself, everyday). There is probably a small fee for line loss, depending on how far away the electricity is that bought this way.