The incorporation of manufacturer data in the file
"heatpump.dat" is not an easy task.
I have been using TYPE127 for a number of years
(which I beleive is the predecessor of TYPE504).
I think that TYPE127 was created based on available
coefficients from one manufacturer (ClimateMaster) .
It is sometimes difficult to use other manufacturer's data
because it is not presented the same way.
The other problem you will run into with TYPE127 (or TYPE504)
is the time of operation of the heatpump during a time step.
The way it is setup right now, the heat pump is either on or off
during a time step which makes it difficult to control. For example,
say that you have a cooling load of 1kw, a heat pump capacity of
10 kW and a one-hour time step, if your controller send a "on" signal to
your heat pump then you will have a 9 kW excess capacity given
to your building during one hour.