An asset-light, data-driven supply chain optimization and dynamic margin-hedging engine for luxury construction material imports in East Africa. Built with PostgreSQL, Python, and R.
# Architecting a Warehouse-Free, Data-Driven Import Platform for Luxury Architectural Finishes in Kenya: The Aqua Bespoke Analytics Optimization Engine
# Project Overview
Aqua Bespoke is a production-ready, hybrid business analytics platform designed to restructure the premium Kenyan architectural finishes supply chain. By completely replacing traditional, capital-intensive physical brick-and-mortar warehouse storage frameworks with an asset-light, information-dense Just-in-Time (JIT) workflow, the architecture reclaims 10% to 25% of working capital traditionally frozen in stagnant local godown inventory.
The platform uses a three-tier local architecture to connect real-time macroeconomic indicators and maritime logistics data straight to the consumer transaction layer, protecting corporate profit margins from local currency volatility and supply chain shocks.
# Core Analytical Engines & Technical Schema
This repository contains the complete end-to-end data pipeline, statistical modeling architecture, and visualization assets structured across three tightly integrated software tiers:
#. The Stochastic Lead-Time Model (Python Engine)
* Mathematical Blueprint:`TLT = SMLT + ST + PDT + KLT + LMT`
* Execution: A 10,000-iteration Monte Carlo simulation written in Python that discards rigid "30-day flat delivery guarantees" in favor of probabilistic log-normal density curves.
* Calibration: Calibrated using live Kenya Ports Authority (KPA) asset capabilities, explicitly modeling the long-tail tail risks of slow-moving, un-geared multipurpose berths vs. high-velocity container terminals.
* Output: Establishes an expected base-case operational mean of 44.34 calendar days within a verified 95% Confidence Interval corridor of [38.20 to 52.67] days.
# The Dynamic Margin Optimization Model (SQL Engine)
* Mathematical Blueprint: Calculates rolling standard deviations scaled to the square root of a 42-day maritime shipping transit window.
* Execution: A localized PostgreSQL …