Electrical Lighting Use (Separate Data problem)

Hi everybody,

I am trying to Separate the result of the Electrical Lighting Use for the optimization issue with octopus, but the “Ladybug Separate Data” component couldn’t convert the result to the numerical output.
is there any problem?

Thanks
Sina

That component is for Ladybug lists not a single string.

For your case grab a GHPython component, connect the panel to the x input and use this code to get the number out of the string.

if x:
    a = float(x.split()[-2])

Thanks, Mostapha.