EnergyPlus does not yet have an object to simulate a central air-to-water heat pump object. This is a high priority feature request, and is expected to be part of an EnergyPlus release in the next year.
As there are several modeling projects that require it, openstudio-standards has a method that mimics a central air-to-water heatpump with the PlantComponentUserDefined object in EnergyPlus. You can add this object to a plant loop, or add a whole HVAC system served by an air-source heat pump with the model_add_hvac_system
method with AirSourceHeatPump
as the main_heat_fuel
.