In today’s medicine there is an important role of hemodialysis machines for the treatment of kidney patients. Chronic hemodialysis machines treat the patients whose renal function permanently shut down, so they are before transplantation surgery.
During this thesis I worked with software development of a chronic hemodialysis machine. As today’s expectation it is essential even for software development to accelerate, optimize and improve the efficiency and quality of the development process. This can be promoted by creating a simulator.
From switching on a hemodialysis machine, via defining the parameters of the treatment, until the beginning of the therapy even ten minutes may be elapsed. A therapy has an average length of 4-6 hours, while a machine consumes a lot of power, water and medical products. By the help of a simulator newly developed software components could be pretested – without turning on the machine.
Got in connection with the development of the simulator I dealt with the salt mixing circuits. These are sensitive parts of the system, as its parameters have great influence on the quality of the therapy.
A small part of the mixing circuits were just realized. During my work I firstly created a framework in the MATLAB-Simulink environment that were able to simulate pressure and flow values, then I made more accurate model of the elements. I also made measurements that I used for the simulation and that made the simulation more precise. Finally I compared the operation of the simulator with the real hemodialysis machine.