> 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/6_alternativeweather/construct_design_day.md).

# Construct Design Day

![](/files/-Ma9gLvRlrQMKay4wmxN)

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

Construct a design day from a set of parameters.

## Inputs

* **name \[Required]**

  The name of the DesignDay object.&#x20;
* **day\_type \[Required]**

  Text indicating the type of design day (ie. 'SummerDesignDay', 'WinterDesignDay' or other EnergyPlus days).&#x20;
* **location \[Required]**

  A Ladybug Location object describing the location of the design day.&#x20;
* **date \[Required]**

  A Ladybug Date for the day of the year on which the design day occurs. This should be in the format of 'DD Month' (eg. '1 Jan', '4 Jul'). The LB Calculate HOY component can also be used to construct this date.&#x20;
* **dry\_bulb\_max \[Required]**

  Maximum dry bulb temperature over the design day (in C).&#x20;
* **dry\_bulb\_range**

  Dry bulb range over the design day (in C).&#x20;
* **humidity\_type \[Required]**

  Type of humidity to use. (ie. Wetbulb, Dewpoint, HumidityRatio, Enthalpy)&#x20;
* **humidity\_value \[Required]**

  The value of the humidity condition above.&#x20;
* **barometric\_p**

  Barometric pressure in Pa.&#x20;
* **wind\_speed \[Required]**

  Wind speed over the design day in m/s.&#x20;
* **wind\_dir \[Required]**

  Wind direction over the design day in degrees.&#x20;
* **sky\_type \[Required]**

  Type of solar model to use.  (eg. ASHRAEClearSky, ASHRAETau)&#x20;
* **sky\_properties \[Required]**

  A list of properties describing the sky above. For ASHRAEClearSky this is a single value for clearness. For ASHRAETau, this is the tau\_beam and tau\_diffuse.&#x20;

## Outputs

* **design\_day**

  Script output design\_day.&#x20;


---

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