The purpose of this work is to develop a compartment spiking neuron model as an element of growing neural networks. Methods. As part of the work, the CSNM is compared with the Leaky Integrate-and-Fire model by comparing the reactions of point models to a single spike. The influence of hyperparameters of the proposed model on neuron excitation is also investigated. All the described experiments were carried out in the Simulink environment using the tools of the proposed library. Results.