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

Product thermal load, EnergyPlus/Matlab Cosimulation

asked 2023-05-23 10:29:21 -0500

Zakaria's avatar

updated 2023-06-13 03:06:04 -0500

Hello everyone! I have a question that may be silly

I am currently working on a project to model a product's thermal load using EnergyPlus and Matlab, and I use BCVTB to exchange data between the two programs.

I am using Matlab to calculate the heat load of the product and send it to E+ using BCVTB. E+ then calculates the temperature inside the freezer and send it back to Matlab to re-calculate the new heat load for the next step, and so on.

My question is how do I know that E+ takes in consederation the exchanged thermal load.

Updates

Related to the comment below.

Fig.1 image description

Fig.2 image description

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2023-05-24 07:37:34 -0500

Prior to using the BCVTB, I suggest that you set up your IDF without any external interface objects and that you use an EnergyPlus schedule object (for instance) to add heat thermal load to your system. Once you see the effect on your output variable (e.g. freezer temperature) and you are satisfied with it, you could then replace this schedule with an external interface schedule where the heat load calculation will be done externally prior to being passed to E+. You may also report the external interface schedule value as an E+ output variable to see if you are passing the right thing.

edit flag offensive delete link more

Comments

Thank you for your suggestion. I have followed another approach in which I set the initial Q-thermal load to a wrong high value (Q = 13270 W) to see if it affected the internal temperature, as shown in Fig.1 above. When I plotted the internal temperature (Fig.2 above), it was affected by the thermal load, however, for the internal temperature at t = 0, it was -19.24°Cas if the Q = 13270 W was not taken into consideration, and then the temperature rose, meaning that there a data exchange for the next time step. Any idea why this is happening Thank you.

Zakaria's avatar Zakaria  ( 2023-06-07 03:39:01 -0500 )edit

Your Answer

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

Add Answer

Careers

Question Tools

1 follower

Stats

Asked: 2023-05-23 10:29:21 -0500

Seen: 50 times

Last updated: Jun 13 '23