The paper deals with modeling the flow of compressible media in a vessel, while elasticity of the vessel can change. It presents mathematical model of a pipeline as system with distributed parameters, consisting of three partial differential equations and two additional equations which describes density and area as functions of pressure and temperature. The solution of the problematic is achieved by means of Matlab&Simulink environment, particularly by use of S-functions and finite difference method (FDM). The paper includes a case study when a set of pressure impulses is brought to the model of a vessel. As a result, media pressure, temperature and velocity are displayed over the time and along the pipeline.
展开▼