A practical case for implementing software systems for emulating 2G/4G mobile communication systems, based on the use of Osmocom and srsRAN 4G software packages, is considered. The main functions and capabilities of software packages are described, as well as the features of their use in studying the functional characteristics of radio access network elements, transport and core networks is considered.