We construct so-called Darboux transformations and solutions of the dynamical systems, which are of a general interest and are also closely related to the port-Hamiltonian systems in the important and insufficiently studied case of several space variables. The corresponding energy relations are written down as well. The method is illustrated by several examples, where explicit solutions are given.