.AixLib.Controls.HVACAgentBasedControl.Examples.BookTrading.BookTrading

Information

Overview

Concept

The model consists of three BookBuyerAgents and three BookSeller agents. Two of the agents try to buy the book Harry Potter 1 (ISBN=3551555559) and one tries to buy Lord of the Rings (ISBN=0618640150). Two of the seller agents have Harry Potter in Stock, none has Lord of the Rings in stock. The log (which can be found in the simulation tab of the Dymola message window), shows how the different requests are served (see Example Results). For further details, please refer to the first reference.

The logic is implemented with the help of the StateGraph library. Communication is realized with the help of the DeviceDriver library and follows the language standards for multi-agent-systems set by the FIPA to the highest possible extend for Modelica models.

References

Example Results

Revisions


Generated at 2024-12-26T19:25:54Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos