Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question
1

How to add Phase Change Material to open studio?

asked 2026-01-23 05:45:15 -0600

Abdalla Khatieb's avatar

updated 2026-01-25 10:04:27 -0600

Hello, I have been trying to add PCM to wall in my openstudio model using a measure from BCL, I used two measures both give the same error message "SWIG director type mismatch in output value of type 'bool'"

I have tried to add a material with phase change properties from material tab but I couldn't find anyone in my library. Also tried to edit the xml file of the measure to make the default values as I need in a way to help ignore this error when I run simulation with "classic CLI" checked, but of no use. Can anyone help?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2026-01-25 10:28:21 -0600

Are you referring to this BCL measure? I get the same error message.

However, I have been able to run @MatthewSteen 's EnergyPlus measure envelope_material_property_phase_change, discussed here. Works - no errors. There's not a lot of hand-holding, so you may need to switch things up first using the OpenStudio Application (Simulation Settings tab):

  • e.g. 20 timesteps per hour
  • short simulation run for initial testing (e.g. 1st week of January)
  • ConductionFiniteDifference heat balance algorithm

I'd also delete/replace problematic materials (e.g. highly conductive metal siding, massless layers). In fact, I suggest testing this BEFORE trying out the measure.


edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Question Tools

1 follower

Stats

Asked: 2026-01-23 05:45:15 -0600

Seen: 236 times

Last updated: Jan 25