2

How to change temperature in Energyplus

  1. I have a model of building in energyplus (EP) with Ground heat exchanger which works well.
  2. I developed an in-house software simulating heat conduction around ground heat exchanger. It is a C++ code equipped with Functional Mockup Interface. On input it takes inlet temperature and mass flow rate, on the output it returns outlet temperature.
  3. I managed to partly connect EP with the FMU code. The EP sends the inlet temperature and mass flow rate to FMU, FMU computes the response and sends back outlet temperature.
  4. The problem is that I didn't find any way how can I change the temperature in pipes in the EP model according to the outlet temperature of the FMU. What object can I use? Actuators does not seem to have such functionality, set point managers only sets goals, not the actual temperature. I need hard rewrite of a primary value in the EP model.

Conclusion: Is there any way haw can I directly change temperature at some node of the EnergyPlus model? Otherwise I do not know how can I connect the FMU models with EP.

Thank you for your help, Jan

Jan's avatar
21
Jan
asked 2022-08-10 08:28:22 -0500
Aaron Boranian's avatar
14.1k
Aaron Boranian
updated 2022-08-10 09:19:58 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

2 Answers

1

That sounds like a job for the PlantComponent:UserDefined (I don't think PlantComponent:TemperatureSource which is simpler would work well).

Take a look at EMSUserDefined5ZoneAirCooled.idf or the Python version PythonPluginUserDefined5ZoneAirCooled.idf + PythonPluginUserDefined5ZoneAirCooled.py

Julien Marrec's avatar
29.7k
Julien Marrec
answered 2023-04-05 07:17:51 -0500, updated 2023-04-05 07:19:11 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
0

If you can't change these temperatures using EnergyPlus Actuators, Schedules, or erl variables, then you will not be able to change them using the FMI interface since it relies on those. Please check the documentation of the EnergyPlus External Interface to see how it works.

Thierry Nouidui's avatar
1.5k
Thierry Nouidui
answered 2023-04-05 06:07:12 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments