honeybee_plus.radiance.sky.cie module¶
-
class
honeybee_plus.radiance.sky.cie.
CIE
(location=None, month=9, day=21, hour=12, north=0, sky_type=0, suffix=None)[source]¶ Bases:
honeybee_plus.radiance.sky._pointintimesky.PointInTimeSky
Create Standard CIE sky.
-
location
¶ A ladybug location
-
month
¶ A number to indicate month (1..12)
-
day
¶ A number to indicate day (1..31)
-
hour
¶ A number to indicate hour (0..23)
-
north_
¶ A number between 0 and 360 that represents the degrees off from the y-axis to make North. The default North direction is set to the Y-axis (default: 0 degrees).
-
sky_type
¶ An integer between 0..5 to indicate CIE Sky Type. [0] Sunny with sun, [1] sunny without sun, [2] intermediate with sun [3] intermediate without sun, [4] cloudy sky, [5] uniform sky
-
suffix
¶ An optional suffix for sky name. The suffix will be added at the end of the standard name. Use this input to customize the new and avoid sky being overwritten by other skymatrix components.
-
SKYTYPES
= {0: ('+s', 'sunnyWSun'), 1: ('-s', 'sunnyNoSun'), 2: ('+i', 'intermWSun'), 3: ('-i', 'intermNoSun'), 4: ('-c', 'cloudy_sky'), 5: ('-u', 'uniformSky')}¶
-
classmethod
from_json
(loc_json)[source]¶ Create sky form json. {
“location”: {}, // honeybee (or actually ladybug location schema) “day”: 1, // an integer between 1-31 “month”: 1, // an integer between 1-12 “hour”: 12.0, // a float number between 0-23 “north”: 0, // degree for north if not Y axis “sky_type”: 0 // A number between 0-5 – 0: sunny sky
}
location schema {
“city”: “”, “latitude”: 0, “longitude”: 0, “time_zone”: 0, “elevation”: 0
}
-
classmethod
from_lat_long
(city, latitude, longitude, timezone, elevation, month=6, day=21, hour=9, north=0, sky_type=0, suffix=None)[source]¶ Create sky from latitude and longitude.
-
property
name
¶ Sky default name.
-
to_json
()[source]¶ Return sky as a json. {
“location”: {}, // honeybee (or actually ladybug location schema) “day”: 1, // an integer between 1-31 “month”: 1, // an integer between 1-12 “hour”: 12.0, // a float number between 0-23 “north”: 0, // degree for north if not Y axis “sky_type”: 0 // A number between 0-5 – 0: sunny sky
}
location schema {
“city”: “”, “latitude”: 0, “longitude”: 0, “time_zone”: 0, “elevation”: 0
}
-