Skip to content

Commit 41b8dcb

Browse files
committed
adding changes from remote retrospectively
1 parent e84c7fa commit 41b8dcb

File tree

2 files changed

+43
-30
lines changed

2 files changed

+43
-30
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
# Thesis Repository
22

3-
All latex code is under `src/` while some of the surrounding build tools are written in nodejs (to be switched to python at some point).
3+
All latex code is under `src/`. I'm using pdflatex to compile and the whole thing is written in vim. To see the
4+
configuration necessary to replicate the environment, see my [dotfiles](https://github.com/pascalwhoop/dotfiles).
5+
Generally, a `tex-full` installation should suffice to compile the documents.

src/body.tex

Lines changed: 40 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -775,7 +775,13 @@ \section{PowerTAC: A Competitive Simulation}%
775775

776776
%TODO alternative sources / implementations like powertac
777777
% Simulating the effect on the energy efficiency of smart grid technologies.pdf
778-
In the following chapter, I will introduce the \acl{PowerTAC}. It's simulating a liberalized retail electrical energy
778+
779+
%-------------------------------------------------------------------------------
780+
NOTES :
781+
- pretty much complete.
782+
- missing: analysis of competing broker behaviors
783+
%-------------------------------------------------------------------------------
784+
In the following chapter, I will introduce the \acf{PowerTAC}. It's simulating a liberalized retail electrical energy
779785
market where multiple autonomous agents compete in different markets. Firstly, a retail market where agents, or
780786
\emph{brokers}, compete for numerous end-users through the offering of tariff contracts. Secondly, a wholesale market in
781787
which brokers buy and sell large amounts of electric energy to match their customers demands. This market allows brokers
@@ -785,7 +791,6 @@ \section{PowerTAC: A Competitive Simulation}%
785791
balancing operations. Figure ~\ref{fig:powertacoverview} summarizes this ecosystem.
786792

787793
%TODO have i also explained how the brokers get punished for peaks etc? what about the accounting models.
788-
789794
\begin{figure}[!h]%!h \centering
790795
\includegraphics[width=0.9\textwidth]{powerTACScenarioOverview.png} \caption{PowerTAC overview of markets}
791796
\label{fig:powertacoverview} \end{figure}
@@ -797,34 +802,37 @@ \section{PowerTAC: A Competitive Simulation}%
797802
modeling the technical underpinnings of the system. It therefore doesn't simulate any hardware but rather focuses on the
798803
different agents involved in the market.
799804

800-
%TIMESLOTS
801-
The simulation emulates a time span of approximately 60 days with 1h time slot precision and accelerates this to 5
802-
real-world seconds corresponding to each game-hour. The simulation emulates a time span of approximately 60 days with 1h
803-
time slot precision and accelerates this to 5 real-world seconds corresponding to each game-hour.
805+
Its goal is the exploration of numerous market designs to find designs that give the right incentives to market
806+
participants, allowing for future energy grids to be distributed, failure tolerant and adaptable. Future grids need to handle the
807+
changing landscape of energy production, delivery and consume patterns. Consumers need to be incentivized to behave in
808+
accordance to energy availability.
804809

805810

806811
\subsection{Components}%
807812
\label{sub:components}
808813

809814

810815

811-
The simulation is both technically and logically separated into several components to aid both comprehensibility of the
816+
\ac {PowerTAC} is both technically and logically separated into several components to aid both comprehensibility of the
812817
system and yet allow complex simulations of more realistic scenarios. In the following pages, those logical components
813-
will be explained. Most of these components are easily mappable into the technical implementation.
818+
will be explained. Most of these components are easily mappable into the technical implementation. The technical
819+
structure will not be explained in detail but can be found under the Github \ac{PowerTAC} organization.
820+
814821

815-
\subsubsection{Distribution Utility} The \ac{DU} represents an entity that regulates the real-time electric usage and
822+
\paragraph{Distribution Utility} The \ac{DU} represents an entity that regulates the real-time electric usage and
816823
corrects for any imbalances in brokers portfolios by correcting the overall net-balance of the system. Any broker who
817824
did not balance it's electric supply and demand incurs costs and is therefore incentivized to always balance its
818825
portfolios as good as possible. It also owns the distribution grid and every broker must pay fees for the use of the
819-
grid in proportion to the number of the customers it serves \citep[p.10]{ketter2018powertac}. It also offers tariffs and
820-
is therefore the equivalent of a \emph{baseline broker} whose tariffs create an upper bound on broker profitability.
826+
grid in proportion to the number of the customers it serves \citep[p.10]{ketter2018powertac}. Fees for the grid are
827+
constructed in a way to incentivize brokers to not only balance their portfolio but also to avoid high peak demand.
828+
It further offers tariffs and is therefore the equivalent of a \emph{baseline broker} whose tariffs create an upper bound on broker profitability.
821829

822-
\subsubsection{Accounting} All accounting is managed by the central simulation server as to avoid adversarial brokers
830+
\paragraph{Accounting} All accounting is managed by the central simulation server as to avoid adversarial brokers
823831
from tampering with the games rules. Negative balances are usually punished with a 10\% p.a. interest rate while
824-
positive balances receive a 5\% p.a. interest rate. This components tracks every brokers financial balance as well as
832+
positive balances receive a 5\% p.a. interest rate. This component tracks every brokers financial balance as well as
825833
all brokers customer subscriptions and wholesale market positions \citep[p.11]{ketter2018powertac}.
826834

827-
\subsubsection{Wholesale Market}
835+
\paragraph{Wholesale Market}
828836
%TODO energy or electricity? What's the "right" word? --> ENERGY
829837
Every broker needs to purchase energy before it can sell it to the customers unless the customers of the broker itself
830838
generate sufficient energy to balance its own portfolio. For this, \ac{PowerTAC} offers a wholesale market that operates
@@ -837,7 +845,7 @@ \subsubsection{Wholesale Market}
837845
always served first. After the clearing, all uncleared bids and asks are distributed to the brokers to indicate the
838846
direction of the markets' demand and supply curves.
839847

840-
\subsubsection{Balancing Market} The Balancing market is the last and final trading opportunity for agents and in the
848+
\paragraph{Balancing Market} The Balancing market is the last and final trading opportunity for agents and in the
841849
sense of the game is at $t-0$ meaning that it occurs virtually in parallel to the consume of electricity. Any imbalance
842850
during this phase gets corrected for by the \ac{DU} who imposes forced balancing of brokers with an imbalanced
843851
portfolio. Brokers with too much supply in their portfolio therefore receive very little reimbursement for it and those
@@ -849,19 +857,15 @@ \subsubsection{Balancing Market} The Balancing market is the last and final trad
849857
customers with such balancing capabilities since it offers a buffer capacity against the balancing costs otherwise
850858
incurred through the actions of the \ac{DU} \citep[p.5]{ketter2018powertac} .
851859

860+
\paragraph{Customer Market}
852861

853-
854-
855-
856-
\subsubsection{Customer Market}
857-
858-
The foundation for any broker making profit is a sufficient amount of customers being subscribed to its tariffs. For
859-
this to occur, the broker must publish tariffs that are competitive as to attract customers. On the other hand, if the
862+
The foundation for any brokers ability to generate profit is a sufficient amount of customers being subscribed to its tariffs. For
863+
this to occur, the broker must publish tariffs that are competitive to attract customers. On the other hand, if the
860864
broker offers tariffs that lead to net losses, long term profit will not be possible
861865
\footnote{While the 2017
862-
competition technically allowed for brokers to remain in the game despite offering highly under priced tariffs that
863-
corrupted the simulation results, a proper broker must not pursue such strategies simply because of economical
864-
reasoning.}
866+
competition technically allowed for brokers to remain in the game despite offering highly under-priced tariffs that
867+
corrupted the simulation results, a proper broker must not pursue such strategies simply due to econimic
868+
reasoning.}.
865869

866870
The broker has a wide variety of actions at its disposal to create a rich portfolio. The simulation offers the
867871
creation of a variety of tariff types that have variables which are adaptable by the broker. The types include:
@@ -887,7 +891,7 @@ \subsubsection{Customer Market}
887891

888892
Some of the above types can also be combined to create complex tariff landscapes for customers to choose from.
889893

890-
\subsubsection{Customer models}% \label{sub:customer_models}
894+
\paragraph{Customer models}% \label{sub:customer_models}
891895

892896
The final part of the simulation environment is made up by the customer models which simulate real-world customers.
893897
Each customer can both produce and consume electricity. Consumers are modeled both by factored and elemental models
@@ -997,16 +1001,23 @@ \subsubsection{Counterfactual analysis}%
9971001

9981002
\subsection{Existing broker concepts}%
9991003
\label{sub:existing_broker_concepts}
1000-
Before designing my own agent, it is obvious to investigate previously developed agents and their design to understand
1004+
Before designing my own agent, it is helpful to investigate previously developed agents and their design to understand
10011005
the current state of research. For this, I have analyzed the papers of the AgentUDE, TacTex and COLDPower, as they
10021006
performed well in previous tournaments. Their architectures, models and performances are summarized in the following
1003-
sections.
1007+
sections. These are based on publications that describe the TacTex, COLDPower and AgentUDE agents of 2015, as these are
1008+
the last publications of these brokers that are available on the \ac {PowerTAC} website. Unfortunatley, the source code
1009+
of these agents has not been made available, which does not allow introspection of the exact inner mechanics.
1010+
10041011

10051012

10061013

10071014

10081015
\subsubsection{Decision areas}%
10091016
\label{ssub:decision_areas}
1017+
Of the three main markets, all agents participate actively in the tariff market, only AgentUDE participates in the
1018+
balancing market and obviously every agent participates in the customer market. The way each agent approaches the
1019+
customer or tariff market is very different however.
1020+
%TODO STOP GOOD NIGHT
10101021

10111022

10121023

@@ -1016,8 +1027,8 @@ \subsubsection{Decision models}%
10161027
\subsubsection{Past performances}%
10171028
\label{ssub:past_performances}
10181029

1019-
10201030
\chapter{Implementation}
1031+
\label{cha:implementation}
10211032

10221033
The following chapter will describe the concepts and reasons behind various components needed to allow a broker to
10231034
leverage modern reinforcement learning tools and algorithm libraries in the \ac{PowerTAC} environment. Current state-of-the-art

0 commit comments

Comments
 (0)