# Set Plenums

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

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

Set the ceiling plenum and/or floor plenum depth of rooms for any Dragonfly object (Room2Ds, Stories, Buildings, Model).

### Inputs

* **df\_obj \[Required]**

A Dragonfly Model, Building, Story or Room2D to have plenum depths assigned to it.

* **ceil\_plenum**

A number for the depth that ceiling plenums extend into rooms. Setting this to a positive value will result in a separate plenum room being split off of the Room2D volume during translation from Dragonfly to Honeybee.

* **floor\_plenum**

A number for the depth that floor plenums extend into rooms. Setting this to a positive value will result in a separate plenum room being split off of the Room2D volume during translation from Dragonfly to Honeybee.

### Outputs

* **report**

Reports, errors, warnings, etc.

* **df\_obj**

The input Dragonfly object with ceiling or floor plenum depths set.
