BHoM / BHoM/LifeCycleAssessment_Toolkit

Improve Error Handling for Evaluate method

Open
#305 0 comments 0 reactions 1 assignee Claimed by @michaelhoehn View on GitHub
type:bug
Dominant language
C#
Stars
26
Forks
8
Avg merge
2d 17h
Merged PRs (30d)
1

Description

#### Description:
The EvaluateEPD method give object reference errors for a wide range of input elements, typically ones that are 0 area / 0 volume or elements with empty defined properties / constructions.

#### Steps to reproduce:
Input an element into the Evaluate method with an empty construction / 0 thickness layers / nested elements with 0 volume, etc.

#### Expected behaviour:
Error handling reporting why the element failed, or warnings noteing the element was evaluated with certain parts of it evaluated as 0 due to the 0 volume elements.

#### Test file(s):
[test file](https://burohappold.sharepoint.com/:u:/r/sites/BHoM/02_Current/12_Scripts/01_Issue/BHoM/LifeCycleAssessment_Toolkit/%23305%20Evaluate%20Object%20Reference%20Error.gh?csf=1&web=1&e=udVYPS)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.