# Substation

![](https://3405893330-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ma9gBkJelXEQ5LsYEl7%2Fuploads%2Fgit-blob-2d778d7bb0791b295afa9c35e590591a8ffaf3dc%2FSubstation.png?alt=media)

![](https://3405893330-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Ma9gBkJelXEQ5LsYEl7%2Fsync%2F45a9f43aa6b295157273de5a081049c02809d191.png?generation=1621529558643597\&alt=media) - [\[source code\]](https://github.com/ladybug-tools/dragonfly-grasshopper/blob/master/dragonfly_grasshopper/src/DF%20Substation.py)

Create an OpenDSS Substation from its footprint geometry (horizontal Rhino surfaces).

## Inputs

* **geo \[Required]**

  A horizontal Rhino surface representing a footprint to be converted into a Substation.&#x20;
* **name**

  Text to set the name for the Substation, which will also be incorporated into unique Substation identifier.  If the name is not provided, a random one will be assigned.&#x20;

## Outputs

* **substation**

  A Dragonfly Substation object that can be used within an Electrical Network.&#x20;
