honeybee_plus.radiance.analysispointlite module

A light version of test points.

class honeybee_plus.radiance.analysispointlite.AnalysisPointLite(location, direction)[source]

Bases: object

A radiance analysis point.

location

Location of analysis points as (x, y, z).

direction

Direction of analysis point as (x, y, z).

This class is developed to enable honeybee for running daylight control studies with dynamic shadings without going back to several files.

Each AnalysisPoint can load annual total and direct results for every state of each source assigned to it. As a result once can end up with a lot of data for a single point (8760 * sources * states for each source). The data are sorted as integers and in different lists for each source. There are several methods to set or get the data but if you’re interested in more details read the comments under __init__ to know how the data is stored.

In this class:
  • Id stands for ‘the id of a blind state’. Each state has a name and an ID will be assigned to it based on the order of loading.

  • coupledValue stands for a tuple of (total, direct) values. If one the values is not available it will be set to None.

ToString()[source]

Overwrite .NET ToString.

property direction

Direction of analysis points as Point3.

duplicate()[source]

Duplicate the analysis point.

classmethod from_json(ap_json)[source]

Create an analysis point from json object. {“location”: [x, y, z], “direction”: [x, y, z]}

classmethod from_raw_values(x, y, z, x1, y1, z1)[source]

Create an analysis point from 6 values.

x, y, z are the location of the point and x1, y1 and z1 is the direction.

property location

Location of analysis points as Point3.

to_json()[source]

Create an analysis point from json object. {“location”: [x, y, z], “direction”: [x, y, z]}

to_rad_string()[source]

Return Radiance string for a test point.