How to integrate PCM in battery thermal management system sucessfully ?

14 views (last 30 days)
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:
  1. Creating a custom PCM component (PCM.ssc) with parameters for melting temperature, latent heat, and mass.
  2. Organizing folders as +PCM/PCM.ssc (MATLAB package directory).
  3. 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
Ali
Ali on 12 Jul 2025
Edited: Ali on 12 Jul 2025
here i have uploaded my .slx file i have constituted an model for PCM which i created
Yifeng Tang
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?

Sign in to comment.

Answers (0)

Products


Release

R2024b

Community Treasure Hunt

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

Start Hunting!