# Simulation using PCM and NoMass materials

**URL:** <https://discourse.ladybug.tools/t/simulation-using-pcm-and-nomass-materials/23272>\
**Category:** honeybee\
**Tags:** pcm\
**Created:** [November 19, 2023, 9:41am UTC](https://discourse.ladybug.tools/t/simulation-using-pcm-and-nomass-materials/23272 "2023-11-19T09:41:46Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![yanayuliana](https://discourse.ladybug.tools/user_avatar/discourse.ladybug.tools/yanayuliana/32/25527_2.png) [@yanayuliana](https://discourse.ladybug.tools/u/yanayuliana)\
**Post date:** [November 19, 2023, 9:41am UTC](https://discourse.ladybug.tools/t/simulation-using-pcm-and-nomass-materials/23272/1 "2023-11-19T09:41:46Z")

</div>

Hello helpful communities!

I need to confirm is my work correct or not.  
I want to simulate a hypothetical room which have 2 scenario.  
First, the wall consist of several layers, such as Plywood, Alumunium Foil, and PCM. PCM is in the middle of the wall, where alumunium covered it all before plywood covered and become the outer side of the wall  
Second, the wall only consist of two layer plywood, where there are no materials between the plywoods.  
Here I attached the visualisation of the hypothetical rooms

 ![2 options materials](https://discourse.ladybug.tools/uploads/default/original/3X/2/2/22150afa6999f2647675dfbaa26790fabfa183c4.jpeg)

And please take a look to my script  
[Surface Temperature\_With PCM.gh](https://discourse.ladybug.tools/uploads/short-url/uMeeK38INetJ4kjwc2KreQPyhM4.gh) (252.0 KB)  
[Surface Temperature\_Without PCM.gh](https://discourse.ladybug.tools/uploads/short-url/1534HCX2BPQ42nDNdcBES2w3GyU.gh) (241.1 KB)

I already read a forum discussed PCM in their wall, however, it was 7 years ago and they use Legacy and “additional strings”. I haven’t deep dive into it and decided to change the conductivity, density and specific heat to represent the PCM materials. I don’t know is it enough?

I already conducted the simulation, however, the simulation results is not similar with measurement result, where surface temperature of the wall with PCM is smaller than the wall without PCM. I guess there is something wrong, but I still haven’t figure it out yet.

To conclude, my questions are  
(1) Is it true to apply PCM in our walls, we have to settings the additional strings?  
(2) Is there something wrong with my script? Currently I am not using any additional strings settings for applying PCM

Thank you in advance!

---

<div class="post-metadata">

**Author:** ![yanayuliana](https://discourse.ladybug.tools/user_avatar/discourse.ladybug.tools/yanayuliana/32/25527_2.png) [@yanayuliana](https://discourse.ladybug.tools/u/yanayuliana)\
**Post date:** [November 19, 2023, 2:01pm UTC](https://discourse.ladybug.tools/t/simulation-using-pcm-and-nomass-materials/23272/2 "2023-11-19T14:01:54Z")

</div>

Hi, can anyone assist me for this case? I appreciate for any response 🙏 thank you @chris @AbrahamYezioro

---

<div class="post-metadata">

**Author:** ![meftah416](https://discourse.ladybug.tools/letter_avatar_proxy/v4/letter/m/a4c791/32.png) [@meftah416](https://discourse.ladybug.tools/u/meftah416)\
**Post date:** [November 19, 2023, 10:08pm UTC](https://discourse.ladybug.tools/t/simulation-using-pcm-and-nomass-materials/23272/3 "2023-11-19T22:08:56Z")

</div>

Hi. Could you complete your simulation using PCM?

---

<div class="post-metadata">

**Author:** ![yanayuliana](https://discourse.ladybug.tools/user_avatar/discourse.ladybug.tools/yanayuliana/32/25527_2.png) [@yanayuliana](https://discourse.ladybug.tools/u/yanayuliana)\
**Post date:** [November 19, 2023, 10:39pm UTC](https://discourse.ladybug.tools/t/simulation-using-pcm-and-nomass-materials/23272/4 "2023-11-19T22:39:07Z")

</div>

I completed my simulation using PCM by modifying the material properties, such as conductivity, density and specific heat. However, the results seem not normal, because it different with the real measurement. I think I made a mistake but I still don’t know what it is

---

<div class="post-metadata">

**Author:** ![meftah416](https://discourse.ladybug.tools/letter_avatar_proxy/v4/letter/m/a4c791/32.png) [@meftah416](https://discourse.ladybug.tools/u/meftah416)\
**Post date:** [November 25, 2023, 5:44am UTC](https://discourse.ladybug.tools/t/simulation-using-pcm-and-nomass-materials/23272/5 "2023-11-25T05:44:22Z")

</div>

Hi Yanayuliana.  
Assalamu alaikum.  
I could edit your file and run the simulation after reading through tons of documents and forum help. I edited the script and added new PCM properties to your solution. You can enhance the script as there as several warnings, but it runs well. It will be difficult to explain everything. I can explain via a Zoom call or other means if you wish to. You can check the idf I edited.  
—Changed timestep to 30  
—Changed PCM properties and added MaterialProperty: PhaseChange  
—Removed GENERIC PAINTED MATERIAL layers and Air Gap as well.  
—Changed to ConductionFiniteDifference for heat transfer equation

Thanks for the issue you mentioned. I could explore new things in the meantime.  
[pcm\_trial.idf](https://discourse.ladybug.tools/uploads/short-url/8eS0WyjrbUPsZi73RacO6RVkHzC.idf) (384.0 KB)

---

<div class="post-metadata">

**Author:** ![yanayuliana](https://discourse.ladybug.tools/user_avatar/discourse.ladybug.tools/yanayuliana/32/25527_2.png) [@yanayuliana](https://discourse.ladybug.tools/u/yanayuliana)\
**Post date:** [November 25, 2023, 6:14pm UTC](https://discourse.ladybug.tools/t/simulation-using-pcm-and-nomass-materials/23272/6 "2023-11-25T18:14:09Z")

</div>

wa’alaikumussalam. hey it’s very kind of you.  
sure, I’ll check it first and we can manage a zoom call for further explanation.

---

<div class="post-metadata">

**Author:** ![Abeer](https://discourse.ladybug.tools/letter_avatar_proxy/v4/letter/a/dbc845/32.png) [@Abeer](https://discourse.ladybug.tools/u/Abeer)\
**Post date:** [October 23, 2024, 9:30am UTC](https://discourse.ladybug.tools/t/simulation-using-pcm-and-nomass-materials/23272/7 "2024-10-23T09:30:48Z")

</div>

Hi Meftah…  
Hope you are doing well… I would like to ask you for the PCM modelling set up if possible? are you still available and willing to help ?

Abeer

---

<div class="post-metadata">

**Author:** ![meftah416](https://discourse.ladybug.tools/letter_avatar_proxy/v4/letter/m/a4c791/32.png) [@meftah416](https://discourse.ladybug.tools/u/meftah416)\
**Post date:** [October 29, 2024, 4:30pm UTC](https://discourse.ladybug.tools/t/simulation-using-pcm-and-nomass-materials/23272/8 "2024-10-29T16:30:18Z")

</div>

Hi Abeer,  
I am doing good. Thanks for asking.  
Please let me know in details. In which part you are having trouble?

---

<div class="post-metadata">

**Author:** ![Abeer](https://discourse.ladybug.tools/letter_avatar_proxy/v4/letter/a/dbc845/32.png) [@Abeer](https://discourse.ladybug.tools/u/Abeer)\
**Post date:** [October 31, 2024, 5:24am UTC](https://discourse.ladybug.tools/t/simulation-using-pcm-and-nomass-materials/23272/9 "2024-10-31T05:24:52Z")

</div>

Hi Meftah,

Thanks for your response! I’ve tried to follow the setup instructions for the PCM definition in Grasshopper as precisely as possible, but I’m still running into an issue. I’m not sure where the problem might be, so I’m sharing my Grasshopper file here. If you have a chance to take a look, I’d appreciate any insights you might have on where things could be going wrong.

Additionally, I’d love some advice on reading the simulation results—specifically on how the PCM is expected to impact indoor temperature and energy usage. Any pointers on interpreting these outcomes would be super helpful!  
[pcm.3dm](https://discourse.ladybug.tools/uploads/short-url/xQtMSUkh6jNz2TstCEjCylFsCtl.3dm) (704.6 KB)  
[pcm.gh](https://discourse.ladybug.tools/uploads/short-url/1nlQkgv7YpjBEeEDFy6nerYuHNu.gh) (238.2 KB)

Thanks again for your help!

---

<div class="post-metadata">

**Author:** ![Abeer](https://discourse.ladybug.tools/letter_avatar_proxy/v4/letter/a/dbc845/32.png) [@Abeer](https://discourse.ladybug.tools/u/Abeer)\
**Post date:** [November 10, 2024, 7:54am UTC](https://discourse.ladybug.tools/t/simulation-using-pcm-and-nomass-materials/23272/10 "2024-11-10T07:54:31Z")

</div>

@meftah416 …Reminder
