A device and method for treatment of intracranial vasospasm is provided. Measurements obtained at m different points in time of the event intensity aevent for a number n of key events occurring in a reference system are used to form the simulation model, together with measurements of the total load L in the reference system at the m different points in time. Piezoelectric actuators are disposed in confrontation with the diaphragm in a one-to-one correspondence with the ink chambers.