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

How to change temperature in Energyplus

asked 2022-08-10 08:28:22 -0600

Jan's avatar

updated 2022-08-10 09:19:58 -0600

  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

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2023-04-05 07:17:51 -0600

updated 2023-04-05 07:19:11 -0600

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

edit flag offensive delete link more
0

answered 2023-04-05 06:07:12 -0600

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.

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

Careers

Question Tools

1 follower

Stats

Asked: 2022-08-10 08:27:36 -0600

Seen: 292 times

Last updated: Apr 05 '23