Standard Operating Procedure

System: Rig Roster PRO (Ensign Energy Service)

This manual provides the exact mathematical proofs and operational steps for administrators. If a calculation is disputed, refer to the logic panels below for the code-equivalent formula. The system now features an AI Operational Assistant to provide real-time policy predictions and fatigue analysis.

2. Stepped Months Logic (Payroll Standard)

To ensure payroll stability and match standard HR expectations, the system uses a Stepped Monthly Approach for both salary and overtime quotas. Instead of continuous scaling, the period is rounded to the nearest 0.5 months based on a 30.44-day average.

Base Salary & Quota Stepping
Step_Factor = Round((Total_Days / 30.44) * 2) / 2
Final_Months = Max(0.5, Step_Factor)
Monthly_Quota = 160h * Final_Months
Basic_Pay = Monthly_Salary * Final_Months

Effect: Any period between 28-31 days is treated as exactly 1.00 months, keeping the fixed salary constant and the quota at exactly 160 hours.

3. Kuwaitization Policy (Clauses 1.8.1 - 1.8.4)

The calculation engine for Kuwaiti employees adheres to the specific legal framework of Kuwaitization. The logic distinguishes between Field Based (Shift Cycle) and Office Based (Day Duty) categories.

KOC Hourly Rate & Quota (Clause 1.8.3)
Hourly_Rate = Monthly_Salary / 21 Days / 8 Hours
Normal_Quota = 160 Hours/Month (40h/week)
Ramadan_Quota = 130 Hours/Month (30h/week)

Overtime Multipliers (Clause 1.8.2)

Condition Multiplier Description
Daytime (7am-7pm) 1.25x Standard daily overtime rate.
Nighttime (7pm-7am) 1.50x Premium rate for night shift duties.
Weekly Rest Day 1.50x Applied to work on designated rest days.
Friday / Public Holiday 2.00x Double Time rate as per Clause 1.8.2(d).

Employee Entitlements (Grants)

Note: The system subtracts the monthly quota from regular hours worked. If the resulting OT is less than the grant, the system automatically applies the grant as a guaranteed minimum.

4. Ensign Policy (The 243.5 Rule)

For Ensign Energy drilling crews on 56x28 rotations, the system applies the annualized "Rate B" logic for shortened breaks.

Annualized Rate Logic
Annual_Salary = Monthly_Salary * 12
Rate_A (Extra Days) = Annual_Salary / 365
Rate_B (Shortened Break) = Annual_Salary / 243.5

Base_Salary_Pro_rating = (Worked + Break Days) / 30

Note: The system now dynamically pro-rates the fixed salary based on the actual total duration of the period (on-site + field break) to ensure 100% accurate pay coverage.

5. Roster Handover Math

The system calculates the 24/7 staffing bridge. To ensure sufficient overlap and travel time, the system uses a +1 day buffer formula.

Crew Sync Formula (Updated 2026)
Departure_Date = Arrival_Date + Days_On_Site + 1 Day
Reliever_Arrival = Departure_Date (Direct Sync)
Status_Flag: The AI scans for overlaps to predict fatigue risk beyond 56 days.

6. Troubleshooting Guide

Issue Logic Reason Resolution
OT Pay = 0 Shift Hours <= Standard Hours Check if 'Standard Hours' is set to 8.
Day Rate is High KOC 21-day divisor active Normal. KOC Rule 1.8.3 uses a 21-day divisor for OT.
Incorrect End Date +1 Buffer Active Standard for 2026 update (Arrival + Days + 1).