The complex and iterative workflow for designing the secondary air system (SAS) of a gas turbine engine still largely depends on human expertise and hence requires long lead times and incurs high design time-cost. This paper proposes an automated methodology to generate the whole-engine SAS flow network model from the engine geometry model and presents a convenient and inter-operable framework of the secondary air system modeller. The SAS modeller transforms the SAS cavities and flow paths into a 1D flow network model composed of nodes and links. The novel, object-oriented pre-processor embedded in the SAS modeller automatically assembles the conservation equations for all flow nodes and the loss correlations for all links. The twin-level, hierarchical SAS solver then solves the conservation equations of mass, momentum and energy supplemented with the correlations in the loss model library. The modelling swiftness, mathematical robustness and numerical stability of the present methodology are demonstrated through the results obtained from IP compressor rotor drum flow network model.