Build a list of values from multiple conditional statements

Hi everyone,

I would like some help please with building a list from conditional statements using grasshopper:

I am trying to create a list of 12 values representing the cooling effect generated from the conditional statements in the pic above. Can someone please help me get started and point me in the right direction? After seeing this post, I am in the process of trying to build the statements using the expression component, though not sure if that’s the correct approach.

Thanks :slight_smile:

statements from CBE comfort model source code lines 31-53

Hello,

Find attached three solutions, one with components only, one with expression, one with C#.
The latter being the less expensive in canvas space.

Conditions.gh (10.1 KB)

1 Like

worked a charm! Thank you so much! :slight_smile: