File Exchange

image thumbnail

Vehicle HVAC System in Simscape

version 1.1.0.0 (197 KB) by Leo Ng
Vehicle HVAC system model in a custom Simscape moist air library.

27 Downloads

Updated 09 Aug 2017

View License

This example models moist air flow in a vehicle heating, ventilation, and air conditioning (HVAC) system in Simscape. The vehicle cabin is represented as a volume of moist air exchanging heat with the external environment. The moist air flows through a recirculation flap, a blower, an evaporator, a blend door, and a heater before returning to the cabin. The recirculation flap selects flow intake from the cabin or from the external environment. The blender door diverts flow around the heater to control the temperature.
The example HVAC component library is built on a custom moist air domain using the Simscape language. The across variables are pressure, dry-bulb temperature, and water vapor mass fraction. The through variables are mixture mass flow rate, energy flow rate, and water vapor mass flow rate. The moist air is assumed to be a perfect gas. Additional moisture may be added to a moist air volume. When a moist air volume reaches saturation, liquid water condenses and is removed from the volume.
Please read the README.txt file to get started.

To find other Simscape examples, search for posts with the keyword "physical modeling"
http://www.mathworks.com/matlabcentral/fileexchange/?term=%22physical+modeling%22

To learn more about MathWorks Simscape Products, go to:
http://www.mathworks.com/physical-modeling/

Cite As

Leo Ng (2020). Vehicle HVAC System in Simscape (https://www.mathworks.com/matlabcentral/fileexchange/62811-vehicle-hvac-system-in-simscape), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (1)

YuQQ

Updates

1.1.0.0

Corrected typo.

MATLAB Release Compatibility
Created with R2016a
Compatible with any release
Platform Compatibility
Windows macOS Linux

VehicleHVAC/

VehicleHVAC/Libraries/