How do you separate numbers from the output of electricLightingUse?

Dear All,

I am wondering how to separate numbers from the output of electricLightingUse. Apparently, they are part of strings and therefore not separatable. I need to separate them because I am going to analyze/compare many different models; it would be very difficult to separate numbers manually.

Please see the attached screenshot (No data was collected as numbers).

Thank you

The component only works for Ladybug lists and is not for processing input strings. You can try something like this to get the numbers:

import re
a = re.findall(r":\s+([\d.]+)", x)[0]