New to dynamo. I work in HVAC and was trying to work on something where dynamo will automatically calculate the supply airflow and return airflow based on the number of diffusers. When working on the return airflow side, I am having issues in spaces where there are no return diffusers.
In these rooms, the count of diffusers is 0, and when dividing the airlfow by 0 for these rooms, list.ofrepeateditem returns an empty list value which causes and error because of dividing by 0. I was looking to try and remove the 0’s from the list by using list.clean but not sure if I’m on the right track. Any help would be greatly appreciated.