> 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/5_districtthermal/assign_des_building_loads.md).

# Assign DES Building Loads

![](/files/hsZbBowbZeu5FZNfyxcr)

![](/files/ZTIvv16xAZ7tEeKZLq6d) - [\[source code\]](https://github.com/ladybug-tools/dragonfly-grasshopper/blob/master/dragonfly_grasshopper/src//DF%20Assign%20DES%20Building%20Loads.py)

Assign cooling, heating and hot water loads to a Dragonfly Building to be used within a District Energy System (DES) simulation.

This component is intended specifically for the case that District Energy System (DES) simulation is to be performed without using URBANopt to generate building energy loads through EnergyPlus.

### Inputs

* **building \[Required]**

A Dragonfly Building, Story or Room2D which is to have its energy properties re-assigned. This can also be an entire Dragonfly Model.

* **cooling**

An annual hourly data collection for building cooling loads for simulation with a DES. Note that this data collection must have a data type of Power.

* **heating**

An annual hourly data collection for building heating loads for simulation with a DES. Note that this data collection must have a data type of Power.

* **hot\_water**

An annual hourly data collection for building service hot water loads for simulation with a DES. Note that this data collection must have a data type of Power.

### Outputs

* **building**

The input Dragonfly Building with DES loads assigned to it. The Model created with this Building can be converted directly into a format that works with DES simulation using the "DF Model to DES" component without the need to run EnergyPlus simulations with the "DF Run URBANopt" component.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.ladybug.tools/dragonfly-primer/components/5_districtthermal/assign_des_building_loads.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
