How do I configure temperature-dependent parameters for the “Peltier Device” block in Simscape R2025a?

I am using the “Peltier Device” block and noticed that the adjustable parameters (“Seebeck coefficient”, “Total electrical resistance”, and “Thermal conductance”) are constants, despite being functions of temperature. I would like to configure these parameters based on temperature, potentially by using a lookup table, such that I can: 
  1. Specify vectors of relevant parameters (“Seebeck coefficient”, “Total electrical resistance”, and “Thermal conductance”) at sample temperature values 
  2. Compute the values of these parameters for a given simulation by interpolating the corresponding vectors against an input temperature value 
Does the “Peltier Device” block have built-in functionality to achieve this? If not, are there any workarounds?

 Accepted Answer

Unfortunately, the “Peltier Device” block does not have built-in functionality to configure parameters based on temperature. Our development team has been notified regarding the potential value of such functionality and is considering an enhancement for future releases of Simulink.
In the meantime, a workaround is to define a custom Simscape component that meets your requirements. You can then use the “tablelookup” function to find the appropriate values of the “Seebeck coefficient”, “Total electrical resistance”, and “Thermal conductance” parameters based on the provided temperature.
Please see the attached sample files “my_peltier_device.ssc” and “PeltierCoolerAdjustTemp.slx” that demonstrate the creation of a custom component in the Simscape language. Upon building via the “sscbuild” command, “my_peltier_device.ssc” will create a new component “Custom Peltier Device” with the following adjustable parameters:
  • “Seebeck coefficient lookup”, “Total electrical resistance lookup”, and “Thermal conductance lookup” are used to set the output values for the appropriate lookup tables 
  • “Temperature lookup” is used to set the sample temperature values associated with lookup table output values
  • “Temperature” is used to set the desired temperature and find the associated values of the “Seebeck coefficient”, “Total electrical resistance”, and “Thermal conductance” parameters based on the corresponding lookup tables 
Within the file “my_peltier_device.ssc”, note that the “components” section instantiates the shipped “peltier_device” component from the Simscape library with parameters obtained by searching corresponding lookup tables. 
For general information on the Simscape language and creating custom components, please see the following page: 
For information on the “tablelookup” function, please see the following page: 

More Answers (0)

Categories

Products

Release

R2025a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!