Stream with conditional value list

Hi everyone,

I have a value list that shows the thickness of insulation for a parametric study. each thickness has a specific price, how can I use the stream component to do the rest of the calculation by for example having this condition if the thickness is 0.2 then use this price for the rest of the calculation?

As it doesn’t read the values in the value list component as a list of numbers, I cannot assign any stream index to them. I would be grateful you can help.

You don’t need Stream Filter. just put the prices in the Value List.

ValueList_2023Mar8a

3. Attach minimal versions of all the relevant files

2 Likes

Hi @Marziyeh,

I usualy use JSON for this.
JSWAN is a nice tool for this.


jswan.gh (12.0 KB)

Hi Joseph,

Thank you so much for your help.

Hi Erik,

Thanks a lot !
It was a great help.