To your performance test: Does this run every time step? You want to find an industry and the id remains same, so it could just be saved. Except if it is bulldozed but only then something would change. Also, are there many warehouses or always just 1?
The values from industries are the numbers that are shown in the window:
See also here what I read out in Adv Stats
I wish to learn how to look into a table to get the names of the data to be read.
You can also use print(toString(mytable)) or just use the console