Skip to content

BH.oM.LifeCycleAssessment.MaterialFragments.EnvironmentalMetric

Base class for all environmental metrics.

Class structure

Implemented interfaces and base types

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

Classes inheriting from this class

The following classes are inheriting from this class:

Properties

Defining properties

The following properties are defined on the class

Name Type Description Quantity
MetricType EnvironmentalMetrics Enum indicating the metric type the object relates to. -
A1 double Data relating to the Raw Material Supply module in the Product stage. -
A2 double Data relating to the Transport module in the Product stage. -
A3 double Data relating to the Manufacturing module in the Product stage. -
A1toA3 double Data relating to the full Product stage. -
A4 double Data relating to the Transport module in the Construction Process stage. -
A5 double Data relating to the Construction Installation Process module in the Construction Process stage. -
B1 double Data relating to the Use module in the Use stage. -
B2 double Data relating to the Maintenance module in the Use stage. -
B3 double Data relating to the Repair module in the Use stage. -
B4 double Data relating to the Replacement module in the Use stage. -
B5 double Data relating to the Refurbishment module in the Use stage. -
B6 double Data relating to the Operational Energy Use module in the Use stage. -
B7 double Data relating to the Operational Water Use module in the Use stage. -
B1toB7 double Data relating to the full Use Stage. -
C1 double Data relating to the De-construction Demolition module in the End of Life stage. -
C2 double Data relating to the Transport module in the End of Life stage. -
C3 double Data relating to the Waste Processing module in the End of Life stage. -
C4 double Data relating to the Disposal module in the End of Life stage. -
C1toC4 double Data relating to the full End of Life stage. -
D double Data relating to benefits and loads beyond the system boundary. -

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
ATotal double Gets the total sum of values from all A-phases (A1-A5) with a set value (all values not NaN). - LifeCycleAssessment_Engine
BTotal double Gets the total sum of values from all B-phases (B1-B7) with a set value (all values not NaN). - LifeCycleAssessment_Engine
CTotal double Gets the total sum of values from all C-phases (C1-C4) with a set value (all values not NaN). - LifeCycleAssessment_Engine
IPhaseDataValues List<double> Gets the values corresponding to the values of all phases as a list of doubles. - LifeCycleAssessment_Engine
Total double Gets the total sum of values from all phases with a set value (all values not NaN). - LifeCycleAssessment_Engine

Code and Schema

C# implementation

C#
public abstract class EnvironmentalMetric : BH.oM.Base.BHoMObject,
BH.oM.Base.IBHoMObject,
BH.oM.Base.IObject,
BH.oM.LifeCycleAssessment.ILifeCycleAssessmentPhaseData,
BH.oM.Base.IImmutable

Assembly: LifeCycleAssessment_oM.dll

The C# abstract 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/LifeCycleAssessment_oM/MaterialFragments/EnvironmentalMetric.json"
}

The JSON Schema is available on github here: