Reducing blockchain transaction costs in a distributed energy market application

dc.contributorAalto-yliopistofi
dc.contributorAalto Universityen
dc.contributor.advisorSeppälä, Timo
dc.contributor.authorHukkinen, Taneli
dc.contributor.schoolPerustieteiden korkeakoulufi
dc.contributor.supervisorSmolander, Kari
dc.date.accessioned2018-04-03T13:23:36Z
dc.date.available2018-04-03T13:23:36Z
dc.date.issued2018-03-19
dc.description.abstractThis thesis explains the working of a previously undocumented blockchain application developed for the energy sector. The application enables distributed market coordination for small-scale decentralized energy systems. An Ethereum smart contract is employed as a core component of the application, facilitating a marketplace for transacting electrical energy. A design science research methodology was applied to the application in an attempt to further develop it. The problem of high fees in the energy marketplace was identified, resulting from the smart contract's inefficient use of Ethereum gas. Two particular sources of inefficiency were identified, and solutions for fixing these inefficiencies were designed and implemented. Savings in transaction fees were created by replacing a function of the smart contract with off blockchain communication, and by editing the fund withdrawal mechanism of the smart contract so that it requires users to create fewer blockchain transactions. As a result, the smart contract's gas consumption was reduced by up to 11% in a certain use case. The reduction in gas consumption was not sufficient to make the deployment and use of the application economically feasible on the canonical public Ethereum blockchain. A Plasma child chain or a dedicated Ethereum blockchain were suggested as potentially more feasible deployment environments for the application. It was noted that the application relies on centralized components, and it is debatable whether its current blockchain-based implementation is justifiable.en
dc.description.abstractTämä diplomityö selostaa erään energiasektorille kehitetyn, aiemmin dokumentoimattoman lohkoketjusovelluksen toiminnan. Sovellus mahdollistaa hajautetun markkinakoordinoinnin toteuttamisen vaihtoehtoisille mikrosähköverkossa toimiville energiajärjestelmille. Sovelluksen keskeisenä komponenttina on Ethereum-alustalle toteutettu älykäs sopimus, joka hallitsee kaupankäyntiä energiamarkkinapaikalla. Työssä sovellettiin erästä design science -tutkimusmenetelmää lohkoketjusovellukseen, tarkoituksena kehittää sovellusta. Havaittiin, että vuorovaikutus sovelluksen älykkään sopimuksen kanssa on tarpeettoman kallista suurten lohkoketjutransaktiokulujen vuoksi. Älykkään sopimuksen toteutuksesta tunnistettiin kaksi lähdettä suurille kustannuksille. Näille ongelmakohdille suunniteltiin ja toteutettiin korjaukset. Korjaukset pohjautuivat älykkään sopimuksen erään funktion korvaamiseen lohkoketjun ulkopuolisella kommunikaatiolla, sekä älykkään sopimuksen varojen kotiutusmekanismin muokkaamiseen siten, että se vaatii käyttäjää tekemään vähemmän lohkoketjutransaktioita. Lopputuloksena älykkään sopimuksen kanssa toimimisesta syntyvät transaktiokulut vähenivät eräässä käyttötapauksessa 11%. Transaktiokulut eivät pienentyneet niin merkittävästi, että julkisen Ethereum-lohkoketjun käyttö sovelluksen alustana olisi transaktiokustannusten kannalta järkevää. Mahdollisina vaihtoehtoisina alustoina sovellukselle ehdotimme Plasma-lapsiketjua tai omaa erillistä Ethereum-lohkoketjua. Näissä vaihtoehdoissa transaktiokulut saattaisivat olla siedettävämpiä. Työssä huomattiin, että energiamarkkinasovellus tukeutuu keskitettyihin osiin, joten on kyseenalaista, onko sen nykyinen lohkoketjupohjainen toteutus perusteltu.fi
dc.format.extent59 + 8
dc.format.mimetypeapplication/pdfen
dc.identifier.urihttps://aaltodoc.aalto.fi/handle/123456789/30509
dc.identifier.urnURN:NBN:fi:aalto-201804031973
dc.language.isoenen
dc.programmeMaster’s Programme in Computer, Communication and Information Sciencesfi
dc.programme.majorComputer Sciencefi
dc.programme.mcodeSCI3042fi
dc.subject.keywordblockchainen
dc.subject.keywordEthereumen
dc.subject.keyworddecentralized applicationsen
dc.subject.keywordsmart contractsen
dc.subject.keywordenergy industryen
dc.subject.keyworddistributed marketplaceen
dc.titleReducing blockchain transaction costs in a distributed energy market applicationen
dc.titleErään hajautetun energiamarkkinasovelluksen lohkoketjutransaktiokulujen vähentäminenfi
dc.typeG2 Pro gradu, diplomityöfi
dc.type.ontasotMaster's thesisen
dc.type.ontasotDiplomityöfi
local.aalto.electroniconlyyes
local.aalto.openaccessyes

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
master_Hukkinen_Taneli_2018.pdf
Size:
824.19 KB
Format:
Adobe Portable Document Format