How mohamedimli/multi-agent-smart-grid-simulator works
This repository is a multi-agent smart-grid simulator, with a Java application and bundled JCommon/JFreeChart sources. Its intended user-to-result workflow is to launch the application, run a smart-city energy simulation involving grid actors and appliances, and inspect statistics or visual output. The README establishes the simulator’s purpose, but application and agent source excerpts were not provided; consequently, internal runtime links are shown as unverified rather than asserted. Bundled charting and XML facilities are represented as supporting capabilities, not as the simulator’s core workflow.
Main entry points: comportements Agent behaviors · interfaceGraphique Simulator interface · agents Statistics agents · Demarrage.java Application launch
Components 20
Application
- Application launch
code_source/src/lancementApplication/Demarrage.java - Simulator interface
code_source/src/interfaceGraphique - Interface agent
code_source/src/interfaceGraphique/agents/AgentInterfaceGraphique.java - Preferences
code_source/src/utilitaires/Preferences.java - FIFO utility
code_source/src/utilitaires/FIFO.java
Grid simulation
- Household agent
code_source/src/agents/AgentFoyer.java - Local producer
code_source/src/agents/AgentProducteurLocal.java - Electrical appliances
code_source/src/appareils/AppareilElectrique.java - Air conditioning
code_source/src/appareils/ConditionnementAir.java - Agent behaviors
code_source/src/comportements
Statistics
- Statistics agents
code_source/src/statistiques/agents - Statistics processing
code_source/src/statistiques/statisticien/comportements/TraitementStatisticienComportement.java
Charting and XML
- Chart panel
code_source/lib/libJchart/jfreechart-1.0.14/source/org/jfree/chart/ChartPanel.java - Chart model
code_source/lib/libJchart/jfreechart-1.0.14/source/org/jfree/chart/JFreeChart.java - Gantt datasets
code_source/lib/libJchart/jfreechart-1.0.14/source/org/jfree/data/gantt/TaskSeriesCollection.java - Chart editor factory
code_source/lib/libJchart/jfreechart-1.0.14/source/org/jfree/chart/editor/ChartEditorManager.java - XML object reader
code_source/lib/libJchart/jcommon-1.0.16/source/org/jfree/xml/parser/RootXmlReadHandler.java - XML object writer
code_source/lib/libJchart/jcommon-1.0.16/source/org/jfree/xml/writer/RootXmlWriteHandler.java - Logging
code_source/lib/libJchart/jcommon-1.0.16/source/org/jfree/util/Log.java
Other components
- User
Connections 17
- User → Application launch: launches
- Application launch → Simulator interface: opens
- Simulator interface → Interface agent: interacts with
- Interface agent → Agent behaviors: coordinates
- Agent behaviors → Household agent: simulates
- Agent behaviors → Local producer: simulates
- Household agent → Electrical appliances: uses
- Electrical appliances → Air conditioning: includes
- Agent behaviors → Statistics agents: produces data
- Statistics agents → Statistics processing: processes
- Simulator interface → Preferences: configures
- Agent behaviors → FIFO utility: may use
- Simulator interface → Chart panel: may display
- Chart panel → Chart model: displays
- Statistics agents → Gantt datasets: may chart
- Chart editor factory → Chart model: creates editor for
code_source/lib/libJchart/jfreechart-1.0.14/source/org/jfree/chart/editor/ChartEditorManager.java - XML object reader → XML object writer: serializes counterpart