Heart cluster state machine simulating the heart and the circulatory system of an individual, achieved by fusions of finite heart muscle cell state machines to form a DeltaV-pump state machine defined by boundary conditions of the heart muscle cell state machines and of the DeltaV-pump state machine. The cluster state machine works in accordance with the boundary conditions of the surrounding tissue and inlet and outlet vessels to the heart. The state machine is realized by a system including input elements ( 2 ) for receiving a set of input values ( 4 ) related to the heart and the circulatory system, and for applying the set of values to a processing unit ( 6 ) adapted to determine, by using the set of input values, a relational database system being such that it both satisfies the working regimen of the heart muscle cell state machine and the working regimen of the DeltaV-pump state machine of the heart cluster state machine.