> For the complete documentation index, see [llms.txt](https://docs.ladybug.tools/dragonfly-primer/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ladybug.tools/dragonfly-primer/components/0_create/model.md).

# Model

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

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

Create a Dragonfly Model, which can be translated to Honeybee model and sent for simulation.

## Inputs

* **buildings \[Required]**

  A list of Dragonfly Building objects to be added to the Model. Note that at least one Building is necessary to make a simulate-able energy model.&#x20;
* **context**

  Optional Dragonfly ContextShade objects to be added to the Model.&#x20;
* **name**

  Text to be used for the name and identifier of the Model. If no name is provided, it will be "unnamed".&#x20;

## Outputs

* **report**

  Reports, errors, warnings, etc.&#x20;
* **model**

  A Dragonfly Model object possessing all of the input geometry objects.&#x20;
