Psychrometric Chart Issue

Hi all,

I am getting an error using the psychrometric chart with values imported from a csv file that I don’t really understand…

Runtime error (TypeErrorException): unsupported operand type(s) for +: ‘str’ and ‘int’

Traceback:
line 931, in colorMesh, “<string>”
line 1819, in main, “<string>”
line 1981, in script
line 4384, in calcHumidRatio, “<string>”

I don’t understand where this could come from. Please see attached a file with the issue.

Bests

Aurelien

PsychChartError.gh (697 KB)

Aurelien,

Your data is not recognized as numbers but as text and that’s why the chart is not accepting the input. Pass the data through a number component and you’ll be set. See image.

OMG Thanks a lot Abraham,

I was wondering how to correct this for hours… I didnt’ thought Grasshopper made any difference between strings and numbers, so thanks for teaching me this also :slight_smile: