BHoM / LifeCycleAssessment_Toolkit

GNU Lesser General Public License v3.0
22 stars 5 forks source link

Improve Error Handling for Evaluate method #305

Open enarhi opened 1 year ago

enarhi commented 1 year ago

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