# ProgramType

![](/files/-MihpfogdI9sen-omLp9)

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

Create a ProgramType object possessing all schedules and loads defining the usage of a space.

ProgramTypes can be assigned to Honeybee Rooms to specify all default schedules and loads on the Room.

## Inputs

* **name**

  Text to set the name for the ProgramType and to be incorporated into a unique ProgramType identifier.&#x20;
* **base\_program**

  An optional ProgramType object that will be used as the starting point for the new ProgramType output from this component. This can also be text for the name of a ProgramType within the library such as that output from the "HB Search Program Types" component. If None, a Plenum program type will be used as the base with no loads, setpoints, or ventilation requirements assigned.&#x20;
* **people**

  A People object to describe the occupancy of the program. If None, no occupancy will be assumed for the program. (Default: None).&#x20;
* **lighting**

  A Lighting object to describe the lighting usage of the program. If None, no lighting will be assumed for the program. (Default: None).&#x20;
* **electric\_equip**

  An ElectricEquipment object to describe the usage of electric equipment within the program. If None, no electric equipment will be assumed for the program. (Default: None).&#x20;
* **gas\_equip**

  A GasEquipment object to describe the usage of gas equipment within the program. If None, no gas equipment will be assumed for the program. (Default: None).&#x20;
* **hot\_water**

  A ServiceHotWater object to describe the usage of hot water within the program. If None, no hot water will be assumed for the program. (Default: None).&#x20;
* **infiltration**

  An Infiltration object to describe the outdoor air leakage of the program. If None, no infiltration will be assumed for the program. (Default: None).&#x20;
* **ventilation**

  A Ventilation object to describe the minimum outdoor air requirement of the program. If None, no ventilation requirement will be assumed for the program. (Default: None).&#x20;
* **setpoint**

  A Setpoint object to describe the temperature and humidity setpoints of the program.  If None, the ProgramType cannot be assigned to a Room that is conditioned. (Default: None).&#x20;

## Outputs

* **program**

  A ProgramType object that can be assigned to Honeybee Rooms in order to specify all default schedules and loads on the Room.&#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/0_basicproperties/programtype.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.
