Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

SE4SG 2013 : MODAM: A MODular Agent-Based Modelling Framework


Published on

SE4SG 2013 Presentation by Fanny Boulaire at 2nd International Workshop on Software Engineering Challenges for the Smart Grid.

Please cite our workshop at
Ian Gorton, Yan Liu, Heiko Koziolek, Anne Koziolek, and Mazeiar Salehie. 2013. 2nd international workshop on software engineering challenges for the smart grid (SE4SG 2013). In Proceedings of the 2013 International Conference on Software Engineering (ICSE '13). IEEE Press, Piscataway, NJ, USA, 1553-1554.

Published in: Technology, Education
  • Be the first to comment

  • Be the first to like this

SE4SG 2013 : MODAM: A MODular Agent-Based Modelling Framework

  1. 1. Queensland University of TechnologyMODAM: A MODular Agent-BasedModelling FrameworkFanny Boulaire, Mark Utting, Robin Drogemuller
  2. 2. a university for the worldrealRBackground• Developing a planning tool to help decision-makers planfor the future grid– Optimal investment strategies for distribution networks over large areasand long planning horizons– Consider the role of renewables, storage, and demand management, aswell as network upgrades• Development of a framework that models both1. technical network constraints2. economic and sustainability challenges of minimising network costand carbon intensity
  3. 3. a university for the worldrealR05101520251997199920012003200520072009201120132015201720192021202320252027Demand Side ManagementOverall Electricity consumption020406080100120140MondaySatur…Electricityconsumption(kWh)Residential Consumption for small feederHow to capture allthis information?
  4. 4. a university for the worldrealRSoftware Architecture(detailed simulation of a given scenario) (find the lowest costscenario out of 1000s)networkWeatherBatteryMeteredconsumptionBilling
  5. 5. a university for the worldrealRAgent-Based Modelling• ABM is used to model complex systems comprised of autonomousand interacting agents• When to use an ABM?– “When it is important that agents have a spatial component to their behavioursand interactions– When scaling-up to arbitrary levels is important in terms of the number ofagents, agent interactions and agent states– When the past is no predictor of the future because the processes of growth andchange are dynamic“ [1]• Agents can be specified at various scales, defining the granularity ofthe model-> ABM is used to represent the different system units accurately anddynamically, following the changes over time and at different levels ofdetail in the distribution network51 C. M. Macal and M. J. North, "Agent-Based Modeling AndSimulation," in 2005 Winter Simulation Conference, 2005.
  6. 6. a university for the worldrealRExamples of Outputs1. Simulate customer demand over the next 20 years2. Simulate PV output from temperature and cloud data3. Find optimal battery placement in a network, and determine thebest battery control algorithms to shave peak load4. Model transformer load, temperature, and loss of lifeZone 1: Effect of PV onpeak demandZone 2: Effect of PV on peak demand5 10 15 20 25 30 350.880.90.920.940.960.9811.021.04Voltage(p.u.)5 10 15 20 25 30 350.950.960.970.980.9911. LocationsOptimal battery placement:bus33=38.5kVA, bus52=15kVAVoltage profile at peak load
  7. 7. a university for the worldrealRModular Agent-Based Model• Built for extensibility– New elements– New behaviours of existingassets• and flexibility– Different data inputs• Extension of model to otherdomainsMODAM FrameworkNetwork AssetsPV AssetsKnownPVsPV AgentsWeatherBatteriesVehiclesBatteryControlHistoricalPV outputPVPenetrationRates3 phasenetworkReaderSWERReaderDemandReaderDSMcalculations
  8. 8. a university for the worldrealRThe modular architecture• Eclipse Plugins – OSGi bundles• Breakdown of the software into reusable modules– Module = Name + Assets + Agents + Data• Extension points for MODAM<?xml version="1.0" encoding="UTF-8"?><?eclipse version="3.4"?><plugin><extension-point id="dataprovider" name="Data Provider"schema="schema/datareader.exsd"/><extension-point id="agentfactory" name="Agent Factory"schema="schema/agentfactory.exsd"/><extension-point id="assetfactory" name="Asset Factory"schema="schema/assetfactory.exsd"/></plugin>
  9. 9. a university for the worldrealRThe modular architecture• Modularity within the agent-based model– Separation into assets and agents• Ease when trying new behaviour (e.g. new policy, or batterycontrol algorithm)• Maintains fixed parameters (e.g. premise consumption due tobuilding characteristics vs. tenants behaviour)• Modularity when populating the model– Use of data providers to switch between databases
  10. 10. a university for the worldrealRLifecycle of the ABM simulation tool
  11. 11. a university for the worldrealRSetting up a simulation+M= assetreader+C=assetreader.NetworkReader+C=assetreader.LocationReader+M=demandreader+C=demandreader.historical.HistoricalDemandReader+C=demandreader.billing.BillingDataReader+M=assetnetwork+C=assetnetwork.ergon.NetworkAssetFactory+C=assetnetwork.agent.NetworkAgentFactory-from=2010-01-01 -to=2010-01-08-output=tempOutDirScenarioConfigurationFiles (XML)
  12. 12. a university for the worldrealRConclusion and Future Work• Implementation of a modular agent-based modelas a planning tool for the future grid– Use of existing technology (OSGi) and– Adaptation of agent-based model for modularity• Future work– Increase the number of plugins and test the use of themodular agent-based model
  13. 13. a university for the you for your attention