Here is one possible layout for 20 forges holding 100 pans each for 2,000 pans total. Notice that the width and length is about 2 tiles so you will be squeezing the forges together very closely. The key is to make it so the panfiller can open any of the objects in that diagram without needing to move location. You want to eliminate opening and closing windows more then once.
<- -> 2 tiles XXXXXXXX X X X C X X X X P X X X X X B F W AAA
P = Panfiller