Decision Table for Port Clearance Rules

DMN Challenge Mar. 2016
The Decision Management Community provides resources for DM practitioners, listing tools, news, providing examples and also giving a monthly challenge. As a vendor that always seek improvement, we took the March challenge using Trisotech DMN Modeler.

The Challenge

The March challenge is to create the best possible decision model to decide if a ship can enter a Dutch port on a certain date. The rules for this challenge are inspired by the international Ship and Port Facility Security Code.

The rules for the clearance to enter the Dutch port are:

  • The hold of a ship must be considered clean if the hold does not contain remainders of cargo.
  • An unloaded ship may only enter a Dutch port if the ship complies with the requirements of the Inspection for unloaded ships.
  • A ship must comply with the requirements of the Inspection for unloaded ships if the ship complies with all of the following: a) the ship meets the safety requirements for unloaded ships; b) the ship has a certificate of registry that is valid.
  • A ship must be categorized as large if the total length of the ship is at least 80 meters.
  • A ship’s hold contains remainders of cargo if the residual cargo measurement is higher than 0.5 mg dry weight per cm².
  • A ship only meets the safety requirements for unloaded ships if the ship complies with at least one of the following: a) the ship meets the safety requirements for small unloaded ships; b) the ship meets the safety requirements for large unloaded ships.
  • A ship only meets the safety requirements for large unloaded ships if the ship complies with all of the following: a) the ship is categorized as large; b) the hold of the ship is clean; c) the hold of the ship is double hulled.
  • A ship only meets the safety requirements for small unloaded ships if the ship complies with all of the following: a) the ship is categorized as small; b) the hold of the ship is clean.
  • A ship must be categorized as small if the total length of the ship is less than 80 meters.
  • A ship’s certificate of registry must be considered valid if the date up to which the registration is valid of the certificate of registry is after the current date.

Download the Solution Document

Top of the page