Overview
- This model implements the communication system of the agent
library as a partial model
- It is based on communication via UDP
- It is used by all implemented agents
Concept
The communication takes place via UDP network communication and
is implemented with the help of elements from the DeviceDriver
library. The inbox is refreshed based on a sample time, the outbox
is triggered by an external boolean input.
Since sampling creates time events, the simulation performance
will be bad for models with a high number of equations. For this
reason, an alternative refresh mechanism can be used with
"usePoke=true". In order to use this mechanism the component
"MessageNotification" needs to be added to the system.
The partial agent implements the message parameters
performative, sender, receiver, reply to, content, ontology and
message ID. The parameters are described in the reference.
References
- Roozbeh Sangi, Felix Bünning, Johannes Fütterer, Dirk Müller. A
Platform for the Agent-based Control of HVAC Systems. Modelica
Conference, 2017, Prague, Czech Republic.
- Felix Bünning, Roozbeh Sangi, Dirk Müller. A Modelica library
for agent-based control of building HVAC systems. Applied Energy,
193:52-59, 2017.
Example Results
- July 2017, by Roozbeh Sangi: Documentation revised
- December 2016, by Felix Bünning: Changed some variables to
Integer type in order to avoid warnings caused by using the "=="
operator
- November 2016, by Felix Bünning: Added feature to use internal
inbox refresh (better performance), updated Info window
- October 2015, by Felix Bünning: Developed and implemented
Generated at 2026-04-15T18:18:36Z by OpenModelicaOpenModelica 1.26.3 using
GenerateDoc.mos