# Deconstruct Schedule

![](/files/-MihpeBMPBl1P3AqoBM6)

![](/files/-MihpeBNvuAQbHJcPAer) - [\[source code\]](https://github.com/ladybug-tools/honeybee-grasshopper-energy/blob/master/honeybee_grasshopper_energy/src//HB%20Deconstruct%20Schedule.py)

Deconstruct a ScheduleRuleset into an array of day-long ladybug DataCollections representing each unique ScheduleDay that defines the ScheduleRuleset.

These DataCollections can be used to make visualizations of timeseries schedule values over each unique day of the schedule using a component like the "LB Line Chart".

## Inputs

* **schedule \[Required]**

  A ScheduleRuleSet to be deconstructed into DataCollections of timeseries schedule values for each unique day. This can also be the identifier of a Schedule to be looked up in the schedule library.&#x20;
* **timestep**

  An integer for the number of steps per hour at which to make the resulting daily DataCollections.&#x20;

## Outputs

* **day\_names**

  A list of display names for each unique ScheduleDay that defines the input ScheduleRuleset.&#x20;
* **day\_data**

  A list of day-long ladybug DataCollections representing each unique ScheduleDay that defines the ScheduleRuleset. These can be used to make visualizations of timeseries schedule values over each day of the schedule using a component like the "LB Line Chart".&#x20;
* **type\_limit**

  The ScheduleTypeLimit object assigned to the ScheduleRuleset.&#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/hb-energy-primer/components/2_schedules/deconstruct_schedule.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.
