Several theories have been presented about the corporate capital structure; some researchers believe that the structure of capital and firm value depend on each other. Moreover, others believe that the firm value is not influenced by any changes in the structure of capital, and with the change in the structure of capital, the value of the firm remains constant. The present research studies the historical theories of capital structure and presents the classification of existing theories in terms of the optimal capital structure. This classification is subdivided into two categories: the presence of an optimal capital structure and the absence of an optimal capital structure. With the historical review of theories of capital structure and the presence of an optimal capital structure or the lack of an optimal capital structure, it seems that none has been a complete model and so far, no one has been able to provide an optimal capital structure. In this research, from the system dynamics approach and using VENSIM software, the capital structure and share price of the company have been studied and the results of model simulation with real data are to ensure the correct performance of the model behavior. And the results show that financing through debt in the capital structure of the company has a significant effect on the debt cost rate and capital cost rate and does not have a significant effect on stock prices. Finally, the share price shows little sensitivity to the company's financial structure.