Be the first to rate this file! 55 Downloads (last 30 days) File Size: 146 KB File ID: #38339
image thumbnail

Engine Cooling Model in Simscape

by Dorian Colas

 

27 Sep 2012 (Updated 08 Oct 2012)

Thermal fluid system in Simscape language using full-flux modeling method

| Watch this File

File Information
Description

This file contains a model of an engine cooling system built using the Simscape language. A radiator, thermostat, hoses, coolant, and a pump are included in the model. Heat is transferred from the engine to the fluid, and the thermostat opens the fluid path through the radiator when the activation temperature is reached. The fluid properties change based on pressure and temperature using lookup tables implemented in the Simscape language. The table lookup data was generated using REFPROP supplied by NIST. This example uses the full-flux modeling technique. Consult the model description as well as the Simscape language source code and comments for more information on this approach.

Please read the README.txt file to get started.

For an explanation of this model and the full-flux modeling method, watch this video (3 min):
http://www.mathworks.com/videos/modeling-an-engine-cooling-system-71894.html

To view a webinar (35 minutes) about the Simscape language, go to: http://www.mathworks.com/company/events/webinars/wbnr49772.html

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

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

Required Products Simscape
Simulink
MATLAB
MATLAB release MATLAB 8.0 (R2012b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
22 Oct 2012 Dorian Colas

Hello there,
Thank you for your comments.
Since table look-up functions have been introduced in Simscape during the 12a release, this example cannot be run in its current state. The underlying reason is that fluid properties, as defined in the main classes ('TwoportsIncompressible.ssc' and 'TwoportsCompressible.ssc'), are described using table look-up functions.
To work around this, you may consider defining your own analytical description of the properties as functions of pressure and temperature.
Thank you,

19 Oct 2012 leclercq

hello
it looks very complete when i read the code. that's a very good job.
but i can't launch it because i have a matlab 2010 version. when i launch startup, it tell me that there is unexpected matlab operator in TwoportsIncompressible.ssc line 42 column 82. if i try to put == instead of =, it tell me that there is a unknow variable 'interpolation'.
is there something to do to launch it on matlab 2010 or can't we?
thanks for answer

Updates
08 Oct 2012

Updated description to add link to video. No change to files.

Contact us