Firebox and Valves

As I looked at these old steam engines I couldn't help but wonder how anyone could figure out the maze of pipes and valves required to control them.  ISO 800  7-14mm