Skip to content

BH.oM.Environment.SpaceCriteria.Profile

A profile object represents a gain, thermostat or humdistat as conditions vary over a 24-hour period

Class structure

Implemented interfaces and base types

The Profile is inheriting from the following base type(s) and implements the following interfaces:

Properties

Defining properties

The following properties are defined on the class

Name Type Description Quantity
ProfileType ProfileType Profile Type depicts the type of profile (OnOff (0 or 1), ModulatingPercentage (0.0-1.0), or Absolute (-10000 to +10000)) -
ProfileDay List<ProfileDay> Profile Day depicts the day described in the profile, whether it's a day of the week or a holiday -
HourlyValues List<double> Hourly Values denotes the hour-by-hour values for a 24-hour period. These values may be represented in temperature (degrees C) (thermostat), fraction (0.9) (lighting gain), or flow (m3/s) (ventilation) -

Inherited properties

The following properties are inherited from the base class of the object

Name Type Description Quantity
BHoM_Guid Guid - -
Name string - -
Fragments FragmentSet - -
Tags HashSet<string> - -
CustomData Dictionary<string, object> - -

Derived properties

The following properties are defined as extension methods in one of the BHoM_Engines

Name Type Description Quantity Engine
Altitude double Returns the minimum altitude of an Environment Object as the minimum z value from the bounding box of the geometry - Environment_Engine
AltitudeRange double Returns the range of altitude of an Environment Object taken as the maximum z value minus minimum z value from the bounding box of the geometry - Environment_Engine
Bottom ICurve Returns the bottom of a given environment object. - Environment_Engine
ExplodeToParts Output<List<ICurve>, List<ICurve>, List<ICurve>> Returns the sides, top and bottom of a given environment object. - Environment_Engine
Height double Returns the height of a generic Environment Object - Environment_Engine
Inclination double Returns the inclination of a generic Environment Object - Environment_Engine
Orientation Nullable<double> Returns the angle to north of a given environmental object on an xyPlane - Environment_Engine
Polyline Polyline Returns the external boundary from a generic Environment Object - Environment_Engine
Sides List<ICurve> Returns the sides of a given environment object. - Environment_Engine
Tilt double Returns the tilt of an Environment Object - Environment_Engine
ToLines List<Line> Returns the external boundary from a generic Environment Object - Environment_Engine
Top ICurve Returns the top of a given environment object. - Environment_Engine
Width double Returns the width of a generic Environment Object - Environment_Engine

Code and Schema

C# implementation

C#
public class Profile : BH.oM.Base.BHoMObject, BH.oM.Base.IBHoMObject, BH.oM.Base.IObject, BH.oM.Environment.IEnvironmentObject

Assembly: Environment_oM.dll

The C# class definition is available on github:

All history and changes of the class can be found by inspection the history.

JSON Schema implementation

The object is defined as a JSON schema. You can validate a JSON instance against this schema by reference. To do this, use the schema reference below in a validator like this one.

JSON Schema
{
 "$ref" : "https://raw.githubusercontent.com/BHoM/BHoM_JSONSchema/develop/Environment_oM/SpaceCriteria/Profile.json"
}

The JSON Schema is available on github here: