# Road Network

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

![](https://3405893330-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ma9gBkJelXEQ5LsYEl7%2Fuploads%2Fgit-blob-d5cc15b70eec6959312d0b6869e2098ab89857cd%2FRoad_Network.png?alt=media) - [\[source code\]](https://github.com/ladybug-tools/dragonfly-grasshopper/blob/master/dragonfly_grasshopper/src/DF%20Road%20Network.py)

Create an RNM Road Network, which represents the streets along which electrical infrastructure will be placed by RNM.

This includes a substation and road geometries running between the buildings.

### Inputs

* **substation \[Required]**

A Substation object representing the electrical substation supplying the network with electricity.

* **road\_geo \[Required]**

An array of Lines or Polylines that represent the roads within the network.

* **name**

Text to be used for the name and identifier of the Road Newtork. If no name is provided, it will be "unnamed".

### Outputs

* **report**

Reports, errors, warnings, etc.

* **network**

A Dragonfly Road Newtork object possessing all roads needed for an RNM simulation. This should be connected to the network\_ input of the "DF Model to GeoJSON" component.
