Skip to content

Commit

Permalink
Remove Previous Version Attributes for 6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
BHoMBot committed Jun 23, 2023
1 parent 5fd8fa0 commit ebce4f1
Show file tree
Hide file tree
Showing 12 changed files with 2 additions and 63 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ public static partial class Compute
/**** Public Methods ****/
/***************************************************/

[PreviousVersion("6.2", "BH.Engine.LifeCycleAssessment.Compute.EvaluateProjectLifeCycleAssessment(BH.oM.LifeCycleAssessment.ProjectLifeCycleAssessment, System.Collections.Generic.List<BH.oM.LifeCycleAssessment.LifeCycleAssessmentPhases>, BH.oM.LifeCycleAssessment.EnvironmentalProductDeclarationField, System.Boolean)")]
[Description("This method calculates the total field quantity specified for an entire project or a collection of elements. Metadata included on the ProjectLCA object is not accounted for within this calculation.")]
[Input("projectLCA", "Project LCA can be used to collect all objects used in an evaluation along with the project's specific metatdata for tracking within a database.")]
[Input("field", "Filter the provided EnvironmentalProductDeclaration by selecting one of the provided metrics for calculation. This method also accepts multiple fields simultaneously.")]
Expand Down
6 changes: 1 addition & 5 deletions LifeCycleAssessment_Engine/LifeCycleAssessment_Engine.csproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<Description>https://github.com/BHoM/LifeCycleAssessment_Toolkit</Description>
Expand All @@ -9,7 +8,6 @@
<BaseOutputPath>..\Build\</BaseOutputPath>
<Configurations>Debug;Release;Test</Configurations>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
</ItemGroup>
Expand Down Expand Up @@ -96,9 +94,7 @@
<SpecificVersion>False</SpecificVersion>
</Reference>
</ItemGroup>

<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="if not &quot;$(ConfigurationName)&quot; == &quot;Test&quot; xcopy &quot;$(TargetDir)$(TargetFileName)&quot; &quot;$(ProgramData)\BHoM\Assemblies&quot; /Y&#xD;&#xA;if not &quot;$(ConfigurationName)&quot; == &quot;Test&quot; xcopy &quot;$(ProjectDir)\..\DataSets\*.*&quot; &quot;$(ProgramData)\BHoM\DataSets&quot; /Y /I /E" />
</Target>

</Project>
1 change: 0 additions & 1 deletion LifeCycleAssessment_Engine/Query/ElementEmbodiedCarbon.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ public static partial class Query
/**** Public Methods ****/
/***************************************************/

[PreviousVersion("6.2", "BH.Engine.LifeCycleAssessment.Compute.ElementEmbodiedCarbon(BH.oM.Dimensional.IElementM, System.Collections.Generic.List<BH.oM.Physical.Materials.Material>, System.Boolean)")]
[Description("Evaluates the embodied carbon on the provided element based on IStructE methodology of evaluation.\n" +
"If you would like to evaluate other EPD metrics, please use one of the Query.EnvironmentalResults methods. \n" +
"TemplateMaterials can be provided helping with picking the correct EPD corresponding to each material on the element. Please note that this evaluation method only support mass-based EPDs.")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ public static partial class Query
/**** Public Methods ****/
/***************************************************/

[PreviousVersion("6.2", "BH.Engine.LifeCycleAssessment.Query.GetElementEnvironmentalMetric(BH.oM.Dimensional.IElementM)")]
[PreviousVersion("6.2", "BH.Engine.LifeCycleAssessment.Query.GetEnvironmentalMetric(BH.oM.Dimensional.IElementM)")]
[Description("Query the Environmental Product Declarations from any IElementM with a MaterialComposition composed of IEPD materials.")]
[Input("elementM", "A IElementM from which to query the EPD.")]
[Output("environmentalMetric", "An Environmental Metric is used to store data regarding the environmental impacts of a given Environmental Product Declaration. \n"
Expand Down
1 change: 0 additions & 1 deletion LifeCycleAssessment_Engine/Query/ElementEpds.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ public static partial class Query
/**** Public Methods ****/
/***************************************************/

[PreviousVersion("6.2", "BH.Engine.LifeCycleAssessment.Query.GetElementEpd(BH.oM.Dimensional.IElementM)")]
[Description("Query the Environmental Product Declarations from any IElementM with a MaterialComposition composed of IEPD materials.")]
[Input("elementM", "A IElementM from which to query the EPD.")]
[Output("epd", "The EPD or EPDs used to define the material makeup of an object.")]
Expand Down
1 change: 0 additions & 1 deletion LifeCycleAssessment_Engine/Query/ElementMaterialNames.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ public static partial class Query
/**** Public Methods ****/
/***************************************************/

[PreviousVersion("6.2", "BH.Engine.LifeCycleAssessment.Query.GetElementMaterial(BH.oM.Dimensional.IElementM)")]
[Description("Query the element's MaterialComposition to form a Material Hint to aid in EPD-Material Mapping.")]
[Input("elementM", "The IElementM object from which to query the object's material type hint.")]
[Output("materialHint", "The Material Names found within the MaterialComposition.")]
Expand Down
1 change: 0 additions & 1 deletion LifeCycleAssessment_Engine/Query/ElementScope.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ public static partial class Query
/**** Public Methods ****/
/***************************************************/

[PreviousVersion("6.2", "BH.Engine.LifeCycleAssessment.Query.GetElementScope(BH.oM.Dimensional.IElementM)")]
[Description("Returns the enumerable type of the scope found on an element.")]
[Input("elementM", "A IElementM from which to query the EPD.")]
[Output("scopeType", "The type of scope the element is being set to within the evaluate EPD method.")]
Expand Down
6 changes: 1 addition & 5 deletions LifeCycleAssessment_Engine/Query/EnvironmentalResults.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/*
* This file is part of the Buildings and Habitats object Model (BHoM)
* Copyright (c) 2015 - 2023, the respective contributors. All rights reserved.
*
Expand Down Expand Up @@ -44,8 +44,6 @@ public static partial class Query
/**** Public Methods ****/
/***************************************************/

[PreviousVersion("6.2", "BH.Engine.LifeCycleAssessment.Compute.EvaluateEnvironmentalProductDeclaration(BH.oM.Dimensional.IElementM, System.Collections.Generic.List<BH.oM.LifeCycleAssessment.LifeCycleAssessmentPhases>, BH.oM.LifeCycleAssessment.EnvironmentalProductDeclarationField, System.Boolean)")]
[PreviousVersion("6.2", "BH.Engine.LifeCycleAssessment.Compute.EvaluateElement(BH.oM.Dimensional.IElementM, System.Collections.Generic.List<BH.oM.LifeCycleAssessment.LifeCycleAssessmentPhases>, BH.oM.LifeCycleAssessment.EnvironmentalProductDeclarationField, System.Boolean, System.Collections.Generic.List<BH.oM.Physical.Materials.Material>, System.Boolean)")]
[Description("Evaluates the EnvironmentalMetrics for the provided element and returns an ElementResult for each evaluated metric type.\n" +
"Evaluation is done by extracting the material takeoff for the provided element, giving quantities and Materiality.\n" +
"Each Material in the takeoff is then evaluated by finding the EnvironmentalProductDeclaration (EPD), either stored on the material or from the list of template materials.\n" +
Expand Down Expand Up @@ -93,7 +91,6 @@ public static List<IElementResult<MaterialResult>> EnvironmentalResults(this IEl

/***************************************************/

[PreviousVersion("6.2", "BH.Engine.LifeCycleAssessment.Compute.EvaluateMaterialTakeoff(BH.oM.Physical.Materials.VolumetricMaterialTakeoff, System.Collections.Generic.List<BH.oM.LifeCycleAssessment.LifeCycleAssessmentPhases>, BH.oM.LifeCycleAssessment.EnvironmentalProductDeclarationField, System.Boolean)")]
[Description("Evaluates the materials in the VolumetricMaterialTakeoff and returns a MaterialResult per material in the takeoff. Requires the materials in the Takeoff to have EPDs assigned. Please use the AssignTemplate methods before calling this method.")]
[Input("materialTakeoff", "The volumetric material takeoff to evaluate.")]
[Input("templateMaterials", "Template materials to match to and assign properties from onto the model materials. Should generally have unique names. EPDs should be assigned to these materials and will be mapped over to the materials on the element with the same name and used in the evaluation.")]
Expand Down Expand Up @@ -197,7 +194,6 @@ public static List<MaterialResult> EnvironmentalResults(this GeneralMaterialTake

/***************************************************/

[PreviousVersion("6.2", "BH.Engine.LifeCycleAssessment.Compute.EvaluateReferenceValue(System.Double, BH.oM.LifeCycleAssessment.MaterialFragments.EnvironmentalProductDeclaration, BH.oM.LifeCycleAssessment.EnvironmentalProductDeclarationField, System.Collections.Generic.List<BH.oM.LifeCycleAssessment.LifeCycleAssessmentPhases>, System.Boolean)")]
[Description("Evaluates all or selected metrics stored on the EnvironmentalProductDeclaration (EPD) and returns a result per metric.\n" +
"Each metric is evaluated by multiplying the values for each phase by the provided quantityValue.\n" +
"Please be mindful that the unit of the quantityValue should match the QuantityType on the EnvironmentalProductDeclaration.")]
Expand Down
1 change: 0 additions & 1 deletion LifeCycleAssessment_Engine/Query/QuantityType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ public static partial class Query
/**** Public Methods ****/
/***************************************************/

[PreviousVersion("6.2", "BH.Engine.LifeCycleAssessment.Query.GetQuantityType(BH.oM.Dimensional.IElementM)")]
[Description("Query the QuantityType values from any IElementM object's MaterialComposition.")]
[Input("elementM", "The IElementM object from which to query the EPD's QuantityType values.")]
[Output("quantityType", "The quantityType values from the IEnvironmentalProductDeclarationData objects found within the Element's MaterialComposition.")]
Expand Down
1 change: 0 additions & 1 deletion LifeCycleAssessment_Engine/Query/TotalFieldQuantity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ namespace BH.Engine.LifeCycleAssessment
{
public static partial class Query
{
[PreviousVersion("6.2", "BH.Engine.LifeCycleAssessment.Query.TotalFieldQuantity(System.Collections.Generic.List<BH.oM.LifeCycleAssessment.Results.LifeCycleAssessmentElementResult>)")]
[Description("Query the total quantity from any LifeCycleAssessmentElementResult data. Be mindful of the specific unit specified in the Field enum.")]
[Input("results", "Supply a valid LifeCycleAssessmentElementResult from a scope evaluation.")]
[Output("totalFieldQuantity", "The combined amount of kgCO2e of the objects provided.")]
Expand Down
2 changes: 0 additions & 2 deletions LifeCycleAssessment_Engine/Query/TotalMaterialBreakdown.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ public static partial class Query
/**** Public Methods ****/
/***************************************************/

[PreviousVersion("6.2", "BH.Engine.LifeCycleAssessment.Query.TotalMaterialBreakdown(System.Collections.Generic.IEnumerable<BH.oM.LifeCycleAssessment.Results.ElementResult>)")]
[Description("Gets total MaterialResults for all provided element results grouped by MaterialName, EPDName and Metric, and returns a single MaterialResult for each group containing the total evaluated.")]
[Input("elementResults", "The element results to extract the material breakdown from.")]
[Output("materialResults", "Material results with the total quantity per materal type.")]
Expand All @@ -55,7 +54,6 @@ public static List<MaterialResult> TotalMaterialBreakdown(this IEnumerable<IElem

/***************************************************/

[PreviousVersion("6.2", "BH.Engine.LifeCycleAssessment.Query.TotalMaterialBreakdown(System.Collections.Generic.IEnumerable<BH.oM.LifeCycleAssessment.Results.MaterialResult>)")]
[Description("Gets total MaterialResults from list of individual material results grouped by MaterialName, EPDName and Type, and returns a single MaterialResult for each group containing the total evaluated.")]
[Input("materialResults", "The individual MaterialResult results to extract the total from.")]
[Output("materialResults", "Material results with the total quantity per materal type.")]
Expand Down
42 changes: 0 additions & 42 deletions LifeCycleAssessment_Engine/Versioning_62.json

This file was deleted.

0 comments on commit ebce4f1

Please sign in to comment.