Here's why I suggest it's an Autoclave:

Might have been operated this way. Water is run in by the lower valve until it overflows through the top valve showing the boiler is full. Both valves are closed. ( I think these are filler valves because both are flared to take low-pressure tube.)
The 'mud-hole' is opened and the items to be treated are placed on a shelf inside. Once the mud-hole replaced the fire is lit. The spigot underneath the fire door may be a gas inlet, perhaps used to ignite a solid fuel with minimum fuss.
The weights are adjusted to set the required pressure. This accurately determines the steam temperature inside, perhaps up to 200°C at 40psi. When wrapped medical gear or bandages are to be sterilised some bugs can only be killed by prolonged exposure to heat, perhaps 12 hours at 120°C or an hour at 170°C.
There's no steam outlet other than the pressure relief valve. Autoclaves are meant to produce heat so the steam – mostly – should stay inside. Letting it blow off just wastes energy.
When enough time has passed, the fire is killed and the weights lifted off the pressure relief valve. The design makes this easy to do. Hot water can be drained from the lower tap and used for other purposes.
I suggest the boiler is a close relative of the domestic pressure cooker, but was built to operate at higher temperatures and pressures. Autoclaves are common in medicine, but are also much used in industry. Any job where a controlled temperature between 100 and 200°C is needed.
The rivets suggest it's pre-WW2. If it's an autoclave, sealing with a mud-hole rather than a hinged door hints it's early, but not as early as Papin's Digester of 1679.

Dave