# Traffic Parameters

![](/files/-Mihr_jhDOmFzwnuW5tT)

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

Create TrafficParameters representing the traffic within an urban area.

## Inputs

* **watts\_per\_area \[Required]**

  A number representing the maximum sensible anthropogenic heat flux of the urban area in watts per square meter. This is specifcally the heat that DOES NOT originate from buildings and mostly includes heat from automobiles, street lighting, and human metabolism. If autocalculate, it will be estimated frm the average building story count of the model hosting the traffic parameters (Default: autocalculate). Values for different cities can be found in (Sailor, 2011)\[1]. Typical values include:

  * 20 W/m2 = A typical downtown area
  * 10 W/m2 = A commercial area in Singapore
  * 8 W/m2 = A typical mixed use part of Toulouse, France
  * 4 W/m2 = A residential area in Singapore
* **weekday\_sch**

  A list of 24 fractional values that will be multiplied by the watts\_per\_area to produce hourly values for heat on the weekday of the simulation. (Default: a typical schedule for a commercial area).&#x20;
* **saturday\_sch**

  A list of 24 fractional values that will be multiplied by the watts\_per\_area to produce hourly values for heat on the Saturday of the simulation. (Default: a typical schedule for a commercial area).&#x20;
* **sunday\_sch**

  A list of 24 fractional values that will be multiplied by the watts\_per\_area to produce hourly values for heat on the Sunday of the simulation. (Default: a typical schedule for a commercial area).&#x20;

## Outputs

* **traffic**

  Traffic parameters that can be plugged into the "DF Assign Model UWG Properties" component to specify the behavior of traffic within an urban area.&#x20;


---

# 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/6_alternativeweather/traffic_parameters.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.
