Home Archive Organization Program News Contact
PDF download
Cite article
Share options
Informations, rights and permissions
Issue image
Vol 7, Issue 1, 2017
Pages: 33 - 33
None of above
See full issue

This is an open access article distributed under the Creative Commons Attribution License which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. 

Metrics and citations
Abstract views: 9
PDF Downloads: 0
Google scholar: See link
Article content
  1. Abstract
  2. Disclaimer
Received: >> Accepted: >> Published: 03.01.2017. None of above

Component-oriented modelling of dynamical systems in Python language on the example of the model of the sucker rod string

By
Kopei Volodymyr Bogdanovich ,
Kopei Volodymyr Bogdanovich
Vitalii Georgievich Panchuk ,
Vitalii Georgievich Panchuk
Oleh Romanovich Onysko ,
Oleh Romanovich Onysko
Oleh Romanovich Onysko
Oleh Romanovich Onysko
Abstract

The principles of component-oriented hybrid modelling of complex dynamical systems based on the Python language and its SymPy and SciPy libraries have been proposed. The Python-classes that allow you to create the models in Python without the need to study and apply specialized modelling languages have been developed. These classes can also be used to automate the construction of a system of equations, describing the behavior of the model, in a symbolic form. The basic set of components has been developed - 1D translational components "mass", "spring-damper", "force". Using these components, the models of sucker rods string have been developed and simulated. These simulation results were compared with simulation results in the Modelica language. The replacement of differential equations by difference equations allowed us to simplify the implementation of the program and the requirements for the modules for symbolic mathematics and for solving equations.

The statements, opinions and data contained in the journal are solely those of the individual authors and contributors and not of the publisher and the editor(s). We stay neutral with regard to jurisdictional claims in published maps and institutional affiliations.