 This paper compared two types of controllers, a traditional proportional integral derivative, PID, controller and a fuzzy logic controller, FLC, for a model-based simulation of an HVAC system in Simulink. The FLC achieved better integral control quality indicators, IA, ISE, ITA, ITSI, as well as smaller supply air temperature variations and a reduction in energy consumption. Additionally, the FLC resulted in a 12.7% decrease in energy consumption compared to the untuned PID, which can help reduce energy costs and improve overall efficiency. This article was authored by Adrian Czeciki, Arcadius Zembrozak, and Piotr Borkowski.