How to integrate PCM in battery thermal management system sucessfully ?
14 views (last 30 days)
Show older comments
Objective: Integrate a Phase Change Material (PCM) into the Simulink model EVBatteryCoolingSystem.slx to improve battery thermal management by leveraging latent heat absorption.
Issue: Persistent sscbuild errors ("Cannot find MATLAB namespace 'PCM'") despite:
- Creating a custom PCM component (PCM.ssc) with parameters for melting temperature, latent heat, and mass.
- Organizing folders as +PCM/PCM.ssc (MATLAB package directory).
- Repeated attempts to compile and integrate the PCM block into the Battery subsyste
- Namespace/directory compliance issues during compilation.
- Uncertainty about PCM code syntax or structural errors.
- Difficulty validating PCM behavior in simulations.
- how to resolve namespace errors, validate PCM code/structure, and ensure correct thermal network integration.
3 Comments
Yifeng Tang
on 21 Jul 2025
Hi Ali, there isn't any custom .ssc or library associated with what you shared. are you able to share the PCM.ssc file that you mentioned to reproduce the sscbuild errors?
Answers (0)
See Also
Categories
Find more on PCM in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!