I dagens samhälle går elen enbart i en riktning. Elen som går igenom ellinorna kan komma från multipla elkällor även om din elleverantör säger att den enbart säljer grön el. All el går in i en lina och därefter ut till alla hus. Detta görs då genom att skapa ett sammankopplat samhälle där alla är kopplade till alla. Elen kan då gå från hus till hus. Grannar kan då sälja sin egenproducerade el från solceller. Detta görs genom att kombinera smartgrids med blockchain. Blockchain teknologi har funnits länge men växer fortfarande och börjar bli mer och mer populärt. Intresset för blockchain växer till största delen på grund av dess säkerhet som ges genom att lägga in information i en oföränderlig kjedja av block. Detta examensarbete visar en implementation av ett blockchain system och tester av dess prestanda på olika storlekar på blockkjedjan men även med flera användare för att testa dess skalbarhet. Jag har gjort en sådan implementation i ett blockchain system som kallas Hyperledger Fabric. Jag utförde och analyserade flertal tester. Från resultatet så kan det ses att detta system fungerar best i mindre samhällen. Med denna analys så finns även framtida arbeten presenterat men även sociala och etiska aspekter.
The standard electrical grid in today’s society is a one-way street. The electricity can come from many multiple sources even though the supplier only sells electricity from let’s say solar powered cells. All electricity goes through one line and from there out to the buyers. This is by creating a smart community and connecting everything and everyone. The electricity can then go from house to house. Neighbors can sell electricity from their own solar cells. This is done by combining smartgrid technologies with blockchain. Blockchain technologies have been around for a long time, but it is still growing and becoming more and more popular in today’s society. The interest is growing mainly because of the security blockchain technologies given by creating and adding information into an immutable ledger. This thesis provides an implementation of a blockchain system and testing its performance with different blockchain sizes but also with one and multiple users to test its scalability. I did such an implementation upon a blockchain system called Hyperledger Fabric. I performed and analyzed multiple tests. From the results we can see that this system works best in smaller communities. With the analysis I proposed future work to be done for this implementation but also ethical and societal aspects of this work.