# SHW System

![](/files/UFq5rHcVtiIfNQ0SoK4E)

![](/files/FbE3jhM3qJFIVta3UU8T) - [\[source code\]](https://github.com/ladybug-tools/dragonfly-grasshopper/blob/master/dragonfly_grasshopper/src//DF%20SHW%20System.py)

Apply a template Service Hot Water (SHW) system to Dragonfly Buildings, Stories or Room2Ds.

### Inputs

* **df\_objs \[Required]**

Dragonfly Buildings, Stories or Room2Ds to which the input template system will be assigned. This can also be a Honeybee Model for which all Rooms will be assigned the SHW system.

* **system\_type \[Required]**

Text for the specific type of service hot water system and equipment. The "HB SHW Templates" component has a full list of the supported system templates.

* **name**

Text to set the name for the Service Hot Water system and to be incorporated into unique system identifier. If the name is not provided, a random name will be assigned.

* **efficiency**

A number for the efficiency of the heater within the system. For Gas systems, this is the efficiency of the burner. For HeatPump systems, this is the rated COP of the system. For electric systems, this should usually be set to 1. If unspecified this value will automatically be set based on the equipment\_type. See below for the default value for each equipment type:

```
* Gas_WaterHeater - 0.8

* Electric_WaterHeater - 1.0

* HeatPump_WaterHeater - 3.5

* Gas_TanklessHeater - 0.8

* Electric_TanklessHeater - 1.0
```

* **condition**

A number for the ambient temperature in which the hot water tank is located \[C]. This can also be a Room2D in which the tank is located. (Default: 22).

* **loss\_coeff**

A number for the loss of heat from the water heater tank to the surrounding ambient conditions \[W/K]. (Default: 6 W/K).

### Outputs

* **report**

Script variable OSHVACSystems

* **df\_objs**

The input Rooms with a Service Hot Water system applied.


---

# Agent Instructions: 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:

```
GET https://docs.ladybug.tools/dragonfly-primer/components/3_energy/shw_system.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
