Compressor Safety Valve Setting - A Principled Approach