ladybug_comfort.parameter.pet module¶
Parameters for specifying body characteristics for the PET model.
- class ladybug_comfort.parameter.pet.PETParameter(age=None, sex=None, height=None, body_mass=None, posture=None, humid_acclimated=False)[source]¶
Bases:
ComfortParameter
Parameters specifying body characteristics for the PET model.
- Parameters:
age – The age of the human subject in years. (Default: 36 years for middle age of the average worldwide life expectancy).
sex – A value between 0 and 1 to indicate the sex of the human subject, which influences the computation of basal metabolism. 0 indicates male. 1 indicates female and any number in between denotes a weighted average between the two. (Default: 0.5).
height – The height of the human subject in meters. Average male height is around 1.75m while average female height is 1.55m. (Default: 1.65m for a worldwide average between male and female height).
body_mass – The body mass of the human subject in kilograms. (Default: 62 kg for the worldwide average adult human body mass).
posture –
A text string indicating the posture of the body. Letters must be lowercase. Default is “standing”. Choose from the following:
standing
seated
crouching
humid_acclimated – A boolean to note whether the human subject is acclimated to a humid/tropical climate (True) or is acclimated to a temperate climate (False). When True, the categories developed by Lin and Matzarakis (2008) will be used to assess comfort instead of the original categories developed by Matzarakis and Mayer (1996).
- Properties:
age
sex
height
body_mass
posture
humid_acclimated
- ToString()¶
Overwrite .NET ToString.
- duplicate()¶
Get a copy of this object.
- classmethod from_dict(data)[source]¶
Create a PETParameter object from a dictionary.
- Parameters:
data – A PETParameter dictionary in following the format below.
{ 'type': 'PETParameter', 'age': 36, 'sex': 1, 'height': 1.55, 'body_mass': 45, 'posture': 'standing', 'humid_acclimated': True }
- classmethod from_string(pet_parameter_string)[source]¶
Create an PETParameter object from an PETParameter string.
- POSTURES = ('standing', 'seated', 'crouching')¶
- property age¶
The age of the human subject in years.
- property body_mass¶
The body mass of the human subject in kilograms.
- property comfort_model¶
Return the name of the comfort model to which the parameters belong.
- property height¶
The height of the human subject in meters.
Average male height is around 1.75m while average female height is 1.55m.
- property humid_acclimated¶
A boolean for whether subject is acclimated to a humid or temperate climate.
When True, the categories developed by Lin and Matzarakis (2008) for a humid/subtropical climate will be used to assess comfort instead of the original categories developed by Matzarakis and Mayer (1996).
- property posture¶
A text string indicating the posture of the body.
- property sex¶
A value between 0 and 1 to indicate the sex of the human subject.
This influences the computation of basal metabolism. 0 indicates male. 1 indicates female. Any number in between denotes a weighted average between the two.