> 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

![](/files/-MihrbFstQgtPz847SOP)

![](/files/-MihrbFtboxaDvn-Tb18) - [\[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;
