The Commercial Modular Aero-Propulsion System Simulation 40k (CMAPSS40k) software package is a nonlinear dynamic simulation of a 40,000-pound (approximately equals 178-kN) thrust class commercial turbofan engine, written in the MATLAB/Simulink environment. The model has been tuned to capture the behavior of flight test data, and is capable of running at any point in the flight envelope [up to 40,000 ft (approximately equals 12,200 m) and Mach 0.8]. In addition to the open-loop engine, the simulation includes a controller whose architecture is representative of that found in industry. C-MAPSS40k fills the need for an easy-to-use, realistic, transient simulation of a medium-size commercial turbofan engine with a representative controller. It is a detailed component level model (CLM) written in the industry-standard graphical MATLAB/Simulink environment to allow for easy modification and portability. At the time of this reporting, no other such model exists in the public domain.