Distributed computing, where the underlying network is complex, heterogeneous and un-reliable, is hard to realize with traditional approaches. Energy Distribution Automation (DA), where the power line is used for communication, and the processing is highly distributed, is our application domain for assessments of new technologies for this kind of system. In this paper we propose a Multi-Agent approach with a large expected number of heavily distributed, medium grain agents. The concept of Agent-Oriented Programming (AOP) is adopted, and an architecture, the DA-SoC, is developed. The language DAAL is used for pro-gramming the agents, and the most important feature is a novel programmable Model of Inter-action (MoI), which al...