First time here? Check our help page!
2

Product thermal load, EnergyPlus/Matlab Cosimulation

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

Zakaria's avatar
902
Zakaria
asked 2023-05-23 10:29:21 -0500, updated 2023-06-13 03:06:04 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

1

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.

Thierry Nouidui's avatar
1.5k
Thierry Nouidui
answered 2023-05-24 07:37:34 -0500
edit flag offensive 0 remove flag delete link

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°C as 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
add a comment see more comments