Matteo,
If you're getting an error having to do with an HX node and also with parameter 2 then what might be happening is that the volume of your heat exchanger (or heat exchangers) is larger than the volume of your tank. We are aware of the problem of matching bad parameters to values in the data file (or to the plugin) and we're working on a solution to it.
Best,
David