This document presents a framework for analyzing the performance of production lines using Bernoulli reliability and quality models, focusing on the optimal sequencing of operations in flexible manufacturing environments. It highlights the impact of operation sequence on productivity and quality, proposing a method to maximize production rates while minimizing work-in-process. The study also emphasizes the importance of machine efficiency and quality in determining the optimal arrangement of operations for enhanced overall performance.