MODELING VULNERABILITY OF THE SUPPLY CHAIN TO EXTERNAL RISKS