Confronted with the climate crisis, the world is making tremendous efforts in energy transition, such as expanding renewable energy that does not emit carbon. The importance of virtual power plant (VPP) operation technology has emerged to secure grid flexibility in response to the expanding renewable energy implemented due to these efforts. Accordingly, VPPs, which include photovoltaics, wind turbines, heating, ventilation, and air conditioning (HVAC), load, and EV, have been constructed. HVAC, one of the component resources, is a system that controls and regulates temperature, humidity, and airflow. Since it responds sensitively to the building’s heat capacity and changes in the external environment, it requires continuous and stable control. In this paper, we used data-based modeling to implement the HVAC required for the optimal operation of VPP. Since accurately creating an equation-based HVAC model was difficult considering building information modeling and external environment variables, we used historical HVAC operation data to perform data-based modeling. The model was implemented using nonlinear regression and machine learning, such as a support vector machine and artificial neural network. Then, the data-based HVAC and the actual HVAC operation results were comparatively analyzed based on a case study, and the model’s goodness-of-fit was evaluated based on performance metrics. Model performance indicators confirmed that the ANN-based HVAC model was most similar to the actual HVAC system.