├── defense.gif ├── defense.pdf ├── img ├── haag │ ├── haag-i-ob.pdf │ ├── scenario_renovation-caps-Gas.pdf │ ├── scenario_renovation-caps-Elec.pdf │ ├── scenario_renovation-caps-Heat.pdf │ ├── scenario_base-Elec-Moosham-spr_edit.pdf │ ├── scenario_no_electric_heating-caps-Elec.pdf │ ├── scenario_no_electric_heating-caps-Gas.pdf │ ├── scenario_no_electric_heating-caps-Heat.pdf │ ├── scenario_no_electric_heating-peak-Elec.pdf │ ├── scenario_no_electric_heating-peak-Heat.pdf │ └── scenario_cheap_battery-Elec-Moosham-spr_edit.pdf ├── urbs │ ├── res-diagram.pdf │ ├── urbs-ts-graph.pdf │ └── urbs-commit-network-transp.png ├── rivus │ ├── stacked-networks.pdf │ ├── stacked-networks-half.pdf │ └── scen-today-rivus-networks.pdf └── techno-economic-modelling.pdf ├── .gitignore ├── tex ├── setup.tex ├── introduction.tex ├── setup-settings.tex ├── setup-colors.tex ├── development.tex └── models.tex ├── defense.tex ├── README.md ├── beamerthemeJD.sty └── LICENSE /defense.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ojdo/thesis-defense/HEAD/defense.gif -------------------------------------------------------------------------------- /defense.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ojdo/thesis-defense/HEAD/defense.pdf -------------------------------------------------------------------------------- /img/haag/haag-i-ob.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ojdo/thesis-defense/HEAD/img/haag/haag-i-ob.pdf -------------------------------------------------------------------------------- /img/urbs/res-diagram.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ojdo/thesis-defense/HEAD/img/urbs/res-diagram.pdf -------------------------------------------------------------------------------- /img/urbs/urbs-ts-graph.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ojdo/thesis-defense/HEAD/img/urbs/urbs-ts-graph.pdf -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | *.aux 3 | *.log 4 | *.nav 5 | *.snm 6 | *.synctex.gz 7 | *.toc 8 | *.out 9 | *.vrb 10 | -------------------------------------------------------------------------------- /img/rivus/stacked-networks.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ojdo/thesis-defense/HEAD/img/rivus/stacked-networks.pdf -------------------------------------------------------------------------------- /img/techno-economic-modelling.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ojdo/thesis-defense/HEAD/img/techno-economic-modelling.pdf -------------------------------------------------------------------------------- /img/rivus/stacked-networks-half.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ojdo/thesis-defense/HEAD/img/rivus/stacked-networks-half.pdf -------------------------------------------------------------------------------- /img/rivus/scen-today-rivus-networks.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ojdo/thesis-defense/HEAD/img/rivus/scen-today-rivus-networks.pdf -------------------------------------------------------------------------------- /img/urbs/urbs-commit-network-transp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ojdo/thesis-defense/HEAD/img/urbs/urbs-commit-network-transp.png -------------------------------------------------------------------------------- /img/haag/scenario_renovation-caps-Gas.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ojdo/thesis-defense/HEAD/img/haag/scenario_renovation-caps-Gas.pdf -------------------------------------------------------------------------------- /img/haag/scenario_renovation-caps-Elec.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ojdo/thesis-defense/HEAD/img/haag/scenario_renovation-caps-Elec.pdf -------------------------------------------------------------------------------- /img/haag/scenario_renovation-caps-Heat.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ojdo/thesis-defense/HEAD/img/haag/scenario_renovation-caps-Heat.pdf -------------------------------------------------------------------------------- /img/haag/scenario_base-Elec-Moosham-spr_edit.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ojdo/thesis-defense/HEAD/img/haag/scenario_base-Elec-Moosham-spr_edit.pdf -------------------------------------------------------------------------------- /img/haag/scenario_no_electric_heating-caps-Elec.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ojdo/thesis-defense/HEAD/img/haag/scenario_no_electric_heating-caps-Elec.pdf -------------------------------------------------------------------------------- /img/haag/scenario_no_electric_heating-caps-Gas.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ojdo/thesis-defense/HEAD/img/haag/scenario_no_electric_heating-caps-Gas.pdf -------------------------------------------------------------------------------- /img/haag/scenario_no_electric_heating-caps-Heat.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ojdo/thesis-defense/HEAD/img/haag/scenario_no_electric_heating-caps-Heat.pdf -------------------------------------------------------------------------------- /img/haag/scenario_no_electric_heating-peak-Elec.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ojdo/thesis-defense/HEAD/img/haag/scenario_no_electric_heating-peak-Elec.pdf -------------------------------------------------------------------------------- /img/haag/scenario_no_electric_heating-peak-Heat.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ojdo/thesis-defense/HEAD/img/haag/scenario_no_electric_heating-peak-Heat.pdf -------------------------------------------------------------------------------- /img/haag/scenario_cheap_battery-Elec-Moosham-spr_edit.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ojdo/thesis-defense/HEAD/img/haag/scenario_cheap_battery-Elec-Moosham-spr_edit.pdf -------------------------------------------------------------------------------- /tex/setup.tex: -------------------------------------------------------------------------------- 1 | % !TeX root = ../defense.tex 2 | % packages 3 | \usepackage{babel} 4 | \usepackage[utf8]{inputenc} 5 | \usepackage[scaled=0.86]{beramono} 6 | \usepackage{helvet} 7 | \usepackage[T1]{fontenc} 8 | 9 | \usepackage{eurosym} 10 | \usepackage[output-decimal-marker={,},per-mode=symbol,exponent-product={\cdot},retain-unity-mantissa=false]{siunitx} 11 | \usepackage{csquotes} 12 | \usepackage{tikz} 13 | \usepackage{pgfplots} 14 | \usepackage{listings} 15 | \usepackage{mathtools} 16 | \usepackage{textcomp} 17 | \usepackage[version=4]{mhchem} 18 | \usepackage{bm} 19 | \usepackage{tabu} 20 | \usepackage{appendixnumberbeamer} 21 | 22 | % tikz libraries 23 | \usetikzlibrary{arrows.meta} 24 | \usetikzlibrary{calc} 25 | \usetikzlibrary{decorations.pathreplacing} 26 | \usetikzlibrary{positioning} 27 | \usetikzlibrary{shapes} 28 | 29 | % pgfplots libraries 30 | \usepgfplotslibrary{fillbetween} -------------------------------------------------------------------------------- /defense.tex: -------------------------------------------------------------------------------- 1 | % !TeX spellcheck = en_GB 2 | \documentclass[english,11pt,aspectratio=1610,xcolor=table]{beamer} 3 | \input{tex/setup} 4 | \input{tex/setup-colors} 5 | \input{tex/setup-settings} 6 | 7 | \usetheme{JD} 8 | \beamertemplatenavigationsymbolsempty 9 | 10 | % header fields: usage 11 | % \field 12 | % [short form (footline)] 13 | % {long form on title page} 14 | % 15 | \title 16 | [Open Source Modelling of Energy Infrastructure] 17 | {Open Source Modelling and Optimisation of\\ Energy Infrastructure at Urban Scale} 18 | 19 | \subtitle{Final presentation} % short version unused by this template 20 | \author 21 | [J. Dorfner] 22 | {Johannes Dorfner} 23 | \institute 24 | [\hypersetup{urlcolor=jdgrey}% 25 | \href{http://www.tum.de/}{TUM} % 26 | \href{http://www.ei.tum.de/}{EI} % 27 | \href{http://www.ens.ei.tum.de/}{ENS}] 28 | {Chair of Renewable and Sustainable Energy Systems\\% 29 | Department of Electrical and Computer Engineering\\% 30 | Technical University of Munich} 31 | \date 32 | [12/2016] 33 | {06 December 2016} 34 | 35 | \begin{document} 36 | 37 | \maketitle 38 | 39 | \begin{frame}{Outline} 40 | \tableofcontents 41 | \end{frame} 42 | 43 | \input{tex/introduction} 44 | \input{tex/models} 45 | \input{tex/development} 46 | \end{document} 47 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Beamer presentation: thesis defense 2 | 3 | These are the translated and slightly changed slides to my thesis defense presentation. I share them to archive some techniques for creating over-engineered overlay specifications, combined with a mixture of TikZ, matplotlib and geospatial visuals. 4 | 5 | 6 | ## Links 7 | 8 | - The thesis ([PDF full text](https://mediatum.ub.tum.de/doc/1285570/1285570.pdf)): [Open Source Modelling and Optimisation of Energy Infrastructure at Urban Scale ](https://mediatum.ub.tum.de/?id=1285570) 9 | - The models (GitHub repositories): 10 | * [tum-ens/**urbs**](https://github.com/tum-ens/urbs): A linear optimisation model for distributed energy systems *(most versatile; investment and operation planning for complex multi-commodity energy systems; draw-back: everything's linear)* 11 | * [tum-ens/**rivus**](https://github.com/tum-ens/rivus): A mixed integer linear optimisation model for energy infrastructure networks *(think: network planning for multiple commodities like electricity, natural gas and district heating)* 12 | * [tum-ens/**dhmin**](https://github.com/tum-ens/dhmin): Mathematical optimisation model for district energy distrubtion networks *(most specific: does cost-benefit trade-off for a single commodity distribution network)* 13 | 14 | 15 | ## Preview 16 | 17 | ![Slides animated](defense.gif) 18 | 19 | *Preview via [Converting PDF slides to animated GIFs and videos with ImageMagick](http://phyletica.org/imagemagick/) by [Jamie Oaks](http://github.com/joaks1).* 20 | -------------------------------------------------------------------------------- /tex/introduction.tex: -------------------------------------------------------------------------------- 1 | % !TeX root = ../defense.tex 2 | 3 | \section{Energy, Infrastructure, City} 4 | \frame{\sectionpage} 5 | 6 | \begin{frame}{Motivation} 7 | \begin{alertblock}{Questions about Germany's Climate Action Plan 2050\hfill (BMUB 2015/16)} 8 | \begin{enumerate}[<+->]\itemsep9pt 9 | \item How can the almost complete transition from fossil fuels to renewable energy sources for electricity generation be accomplished by 2050? 10 | \item How can we build acceptance for a timely grid expansion? 11 | \item What proportion of fossil fuel burning power stations do we need for a transitional period, and for how long? 12 | \item Which role do decentralised energy supply concepts play? 13 | \item How can the electricity and heating/cooling markets be more closely integrated [\dots]? 14 | \end{enumerate} 15 | \end{alertblock} 16 | 17 | \tiny 18 | \hspace{3.75em}\url{http://www.klimaschutzplan2050.de/en/action-areas/energy-sector/} 19 | \end{frame} 20 | 21 | \begin{frame}{Perspective}{Disciplines for investigating energy topics} 22 | \begin{center} 23 | \begin{tikzpicture}[ 24 | node distance=4.5em and .75cm,font=\small 25 | ] 26 | % flowboxes 27 | \node[flowbox] (physik) { 28 | \fbtitle{Physics}\vphantom{yÖ} 29 | \nodepart{two} 30 | \begin{minipage}{.16\textwidth} 31 | \centering 32 | Theoretical\\ feasibility\\ 33 | \scriptsize (Natural laws) 34 | \end{minipage} 35 | }; 36 | 37 | \node[flowbox,right=of physik] (technik) { 38 | \fbtitle{Engineering}\vphantom{yÖ} 39 | \nodepart{two} 40 | \begin{minipage}{.16\textwidth} 41 | \centering 42 | Technical\\ feasibility\\ 43 | \scriptsize (Technologies) 44 | \end{minipage} 45 | }; 46 | 47 | \node[flowbox,right=of technik] (econ) { 48 | \fbtitle{Economy}\vphantom{yÖ} 49 | \nodepart{two} 50 | \begin{minipage}{.16\textwidth} 51 | \centering 52 | Economic\\ feasibility\\ 53 | \scriptsize (Funding) 54 | \end{minipage} 55 | }; 56 | 57 | \node[flowbox,right=of econ] (society) { 58 | \fbtitle{Society}\vphantom{yÖ} 59 | \nodepart{two} 60 | \begin{minipage}{.16\textwidth} 61 | \centering 62 | Social\\ feasibility\\ 63 | \scriptsize (Decision space) 64 | \end{minipage} 65 | }; 66 | 67 | \uncover<2->{% 68 | \draw [decorate,decoration={brace,amplitude=10pt,mirror},ultra thick,jdblue] 69 | ($(technik.south west) + (-.2em,-1em)$) -- 70 | ($(econ.south east) + (+.2em,-1em)$) coordinate[midway,yshift=-3.8em] (midpoint-below); 71 | 72 | \node[flowbox] at (midpoint-below) (tech-econ) { 73 | \fbtitle{Techno-economic modelling}\vphantom{yÖ} 74 | \nodepart{two} 75 | \begin{minipage}{.4\textwidth} 76 | \centering 77 | How much energy? 78 | For how much?\vphantom{yÖ} 79 | \end{minipage} 80 | }; 81 | } 82 | \end{tikzpicture} 83 | \end{center} 84 | \end{frame} 85 | -------------------------------------------------------------------------------- /tex/setup-settings.tex: -------------------------------------------------------------------------------- 1 | 2 | % Pgfplots settings and styles 3 | \pgfplotsset{% 4 | compat=1.12, 5 | major grid style={thin, color=gray!25}, 6 | minor grid style={thin, color=gray!25}, 7 | tumaxisstyle/.style={ 8 | axis line style={opacity=0}, major tick style={draw=none}, 9 | ymajorgrids, xmajorgrids}, 10 | every axis/.append style={font=\footnotesize}, 11 | legend style={draw=none, legend cell align=left}, 12 | /pgfplots/square ybar legend/.style={ 13 | /pgfplots/legend image code/.code={% 14 | \fill[##1,/tikz/.cd,bar width=.5em] 15 | plot coordinates { (\pgfplotbarwidth,.5em)};}} 16 | } 17 | 18 | % Tikz styles 19 | \tikzset{% 20 | flowbox/.style={rectangle split, rectangle split parts=2, 21 | rectangle split part fill={jddarkblue,jddarkblue!20}, 22 | align=center}, 23 | conn/.style={draw=jdblue, -{Latex[length=3mm]}, 24 | rounded corners=3pt}, 25 | hidden/.style={-{Latex[length=2mm]}, draw=tumdarkgrey, 26 | rounded corners=2pt, densely dotted}, 27 | concept/.style={fill=jddarkgrey!15}, 28 | darrows/.style={{Latex[length=2mm]}-{Latex[length=2mm]}}, 29 | onslide/.code args={<#1>#2}{\only<#1>{\pgfkeysalso{#2}}}, 30 | fb-muted/.style={rectangle split part fill={jdgrey,jdgrey!15}}, 31 | fb-highlight/.style={rectangle split part fill={jdgreen,jdgreen!20}} 32 | } 33 | 34 | % Tikz commands 35 | \newcommand{\fbtitle}[1]{\textbf{\textcolor{jdwhite}{#1}}} 36 | 37 | % custom units for siunitx 38 | \DeclareSIUnit\year{a} 39 | \DeclareSIUnit\billion{$\!$b} 40 | \DeclareSIUnit\million{$\!$m} 41 | \DeclareSIUnit\thousand{$\!$k} 42 | \DeclareSIUnit\USD{\$} 43 | \DeclareSIUnit\EUR{\text{\euro}} 44 | \DeclareSIUnit\kWp{kW$\!_p$} 45 | \DeclareSIUnit{\TWh}{TWh} 46 | \DeclareSIUnit{\GWh}{GWh} 47 | \DeclareSIUnit{\MWh}{MWh} 48 | \DeclareSIUnit{\TW}{\tera\watt} 49 | \DeclareSIUnit{\hectar}{ha} 50 | \AtBeginDocument{\DeclareSIUnit{\kWh}{kWh}} 51 | 52 | % handy commands 53 | \newcommand{\bs}{\boldsymbol} 54 | \newcommand{\st}{\mathsf{s.t.}} 55 | \newcommand{\R}{\mathbb{R}} 56 | \newcommand{\Z}{\mathbb{Z}} 57 | \newcommand{\T}{^\mathsf{T}} 58 | \newcommand{\scenario}[1]{\textcolor{jdgreen}{#1}} 59 | 60 | % beamer dimensions 61 | \newlength{\maxheight} 62 | \setlength{\maxheight}{\textheight} 63 | \addtolength{\maxheight}{-\headheight} 64 | \addtolength{\maxheight}{-\footheight} 65 | \addtolength{\maxheight}{-2em} % guessing :-( 66 | 67 | \AtBeginDocument{% 68 | \newlength{\squeezetwo} 69 | \setlength{\squeezetwo}{.495\paperwidth} 70 | % 71 | \newlength{\squeezethree} 72 | \setlength{\squeezethree}{.33\paperwidth} 73 | % 74 | \newlength{\loosethree} 75 | \setlength{\loosethree}{.29\textwidth} 76 | } 77 | 78 | % listings settings 79 | \lstset{ 80 | basicstyle={\color{jddarkgrey}\ttfamily}, 81 | identifierstyle=\color{jddarkblue}, 82 | commentstyle={\color{jdgreen}}, 83 | stringstyle={\color{gred}}, 84 | keywordstyle={\color{jddarkerblue}}, 85 | emphstyle={\color{jdlightblue}}, 86 | emph={urbs,rivus}, 87 | texcl=true 88 | } 89 | 90 | % hyperref settings 91 | \hypersetup{colorlinks=true,linkcolor=,urlcolor=jdgreen} 92 | -------------------------------------------------------------------------------- /tex/setup-colors.tex: -------------------------------------------------------------------------------- 1 | % !TeX root = ../defense.tex 2 | % colors 3 | % tum main colors 4 | \definecolor{tumblue}{RGB}{0, 101, 189} 5 | \definecolor{tumblack}{RGB}{0, 0, 0} 6 | \definecolor{tumwhite}{RGB}{255, 255, 255} 7 | 8 | % tum blue tones (shades !85, !70, !55 allowed) 9 | \definecolor{tumdarkerblue}{RGB}{0, 51, 89} 10 | \definecolor{tumdarkblue}{RGB}{0, 82, 147} 11 | \definecolor{tummidblue}{RGB}{0, 115, 207} 12 | \definecolor{tumlightblue}{RGB}{100, 160, 200} 13 | \definecolor{tumlighterblue}{RGB}{152, 198, 234} 14 | 15 | % tum grey tones 16 | \definecolor{tumdarkergrey}{RGB}{44, 44, 45} 17 | \definecolor{tumdarkgrey}{RGB}{88, 88, 90} 18 | \definecolor{tumgrey}{RGB}{156, 157, 159} 19 | \definecolor{tumlightgrey}{RGB}{217, 218, 219} 20 | \definecolor{tumlightergrey}{RGB}{235, 236, 237} 21 | 22 | % tum accent colors (shades !85, !70, !55 allowed) 23 | \definecolor{tumorange}{RGB}{227,114,34} 24 | \definecolor{tumgreen}{RGB}{162,173,0} 25 | \definecolor{tumivory}{RGB}{218,215,203} 26 | 27 | % tum extended palette (shades !85, !70, !55 allowed) 28 | \definecolor{tumviolet}{RGB}{105,8,90} 29 | \definecolor{tumdarkviolet}{RGB}{15,27,95} 30 | \definecolor{tumturquois}{RGB}{0,119,138} 31 | \definecolor{tumdarkgreen}{RGB}{0,124,48} 32 | \definecolor{tummidgreen}{RGB}{103,154,29} 33 | \definecolor{tumbrightyellow}{RGB}{255,220,0} 34 | \definecolor{tumbrightorange}{RGB}{249,186,0} 35 | \definecolor{tumbrightred}{RGB}{214,76,19} 36 | \definecolor{tumred}{RGB}{196,7,27} 37 | \definecolor{tumdarkred}{RGB}{156,13,22} 38 | 39 | 40 | % tum presentation colors (styleguide, p.266) 41 | \definecolor{tumpyellow}{RGB}{255,180,0} 42 | \definecolor{tumporange}{RGB}{255,128,0} 43 | \definecolor{tumpred}{RGB}{229,52,24} 44 | \definecolor{tumpdarkred}{RGB}{202,33,63} 45 | \definecolor{tumpblue}{RGB}{0,153,255} 46 | \definecolor{tumpbrightblue}{RGB}{65,190,255} 47 | \definecolor{tumpgreen}{RGB}{145,172,107} 48 | \definecolor{tumpbrightgreen}{RGB}{181,202,130} 49 | 50 | % custom thesis colors 51 | \definecolor{biomass}{RGB}{0, 122, 55} 52 | \definecolor{co2}{RGB}{160, 160, 160} 53 | \definecolor{coal}{RGB}{100, 100, 100} 54 | \definecolor{cool}{RGB}{0, 0, 255} 55 | \definecolor{demand}{RGB}{25, 25, 25} 56 | \definecolor{diesel}{RGB}{116, 66, 65} 57 | \definecolor{gas}{RGB}{128, 64, 0} 58 | \definecolor{elec}{RGB}{255, 170, 0} 59 | \definecolor{heat}{RGB}{230, 112, 36} 60 | \definecolor{hydro}{RGB}{198, 188, 240} 61 | \definecolor{hydrogen}{RGB}{198, 188, 240} 62 | \definecolor{imp}{RGB}{128, 128, 200} 63 | \definecolor{lignite}{RGB}{116, 66, 65} 64 | \definecolor{nuclear}{RGB}{192, 34, 16} 65 | \definecolor{oil}{RGB}{116, 66, 65} 66 | \definecolor{overproduction}{RGB}{190, 0, 99} 67 | \definecolor{slack}{RGB}{163, 74, 130} 68 | \definecolor{solar}{RGB}{243, 174, 0} 69 | \definecolor{storage}{RGB}{60, 36, 154} 70 | \definecolor{wind}{RGB}{122, 179, 225} 71 | \definecolor{stock}{RGB}{222, 222, 222} 72 | 73 | % custom building type colors 74 | \definecolor{basin}{RGB}{110, 75, 56} 75 | \definecolor{chapel}{RGB}{177, 121, 91} 76 | \definecolor{church}{RGB}{177, 121, 91} 77 | \definecolor{commercial}{RGB}{129, 162, 190} 78 | \definecolor{farm}{RGB}{202, 178, 214} 79 | %\definecolor{garage}{RGB}{253, 191, 111} 80 | \definecolor{greenhouse}{RGB}{255, 127, 0} 81 | %\definecolor{hospital}{RGB}{129, 221, 190} 82 | \colorlet{hospital}{tumturquois} 83 | %\definecolor{hotel}{RGB}{227, 26, 28} 84 | \colorlet{hotel}{tumorange!50} 85 | \definecolor{house}{RGB}{181, 189, 104} 86 | \definecolor{industrial}{RGB}{240, 198, 116} 87 | \definecolor{office}{RGB}{129, 162, 190} 88 | %\definecolor{public}{RGB}{129, 162, 190} 89 | \definecolor{residential}{RGB}{181, 189, 104} 90 | \definecolor{restaurant}{RGB}{227, 26, 28} 91 | %\definecolor{retail}{RGB}{129, 162, 190} 92 | \definecolor{school}{RGB}{29, 103, 214} 93 | %\definecolor{warehouse}{RGB}{98, 134, 6} 94 | \colorlet{warehouse}{tumgrey!50} 95 | \colorlet{garage}{tumgrey!75} 96 | \colorlet{public}{commercial!50} 97 | \colorlet{other}{tumgrey} 98 | \colorlet{retail}{commercial!75} 99 | -------------------------------------------------------------------------------- /tex/development.tex: -------------------------------------------------------------------------------- 1 | % !TeX root = ../defense.tex 2 | 3 | \section{Sustainable model use} 4 | \frame{\sectionpage} 5 | 6 | \begin{frame}{Optimisation model workflow} 7 | \begin{center} 8 | \begin{tikzpicture}[node distance=1.2cm and .75cm,font=\small] 9 | \setlength{\leftmargini}{10pt} 10 | 11 | \uncover<3->{% 12 | \node[flowbox] (data) {% 13 | \fbtitle{Data}\vphantom{yÖ} 14 | \nodepart{two} 15 | \begin{minipage}{.17\textwidth} 16 | \begin{itemize}\itemsep0em 17 | \item Tabular 18 | \item Geographic 19 | \item Database 20 | \end{itemize} 21 | \end{minipage}}; 22 | } 23 | 24 | \uncover<1->{% 25 | \node[concept,above=of data,align=center,yshift=-.6cm] (question) {Research question}; 26 | } 27 | \uncover<3->{\draw[conn] (question) -- (data);} 28 | 29 | \uncover<5->{% 30 | \node[flowbox,right=of data,onslide=<8->{fb-highlight}] (proc) {% 31 | \fbtitle{Processing}\vphantom{yÖ} 32 | \nodepart{two} 33 | \begin{minipage}{.17\textwidth} 34 | \begin{itemize}\itemsep0em 35 | \item MATLAB 36 | \item Python 37 | \item Excel 38 | \end{itemize} 39 | \end{minipage}}; 40 | 41 | \draw[conn] (data) -- (proc); 42 | } 43 | 44 | \uncover<4->{% 45 | \node[flowbox,right=of proc] (model) {% 46 | \fbtitle{Model}\vphantom{yÖ} 47 | \nodepart{two} 48 | \begin{minipage}{.17\textwidth} 49 | \begin{itemize}\itemsep0em 50 | \item GAMS 51 | \item Pyomo 52 | \item YALMIP 53 | \end{itemize} 54 | \end{minipage}}; 55 | } 56 | 57 | \uncover<5->{% 58 | \draw[conn] (proc) -- (model); 59 | } 60 | 61 | \uncover<6->{% 62 | \node[flowbox,right=of model] (solver) {% 63 | \fbtitle{Solver}\vphantom{yÖ} 64 | \nodepart{two} 65 | \begin{minipage}{.17\textwidth} 66 | \begin{itemize}\itemsep0em 67 | \item CPLEX 68 | \item Gurobi 69 | \item GLPK 70 | \end{itemize} 71 | \end{minipage}}; 72 | 73 | \draw[conn] (model) -- (solver); 74 | } 75 | 76 | \uncover<7->{% 77 | \node[flowbox,below=of proc] (output) {% 78 | \fbtitle{Result}\vphantom{yÖ} 79 | \nodepart{two} 80 | \begin{minipage}{.17\textwidth} 81 | \begin{itemize}\itemsep0pt 82 | \item Reports 83 | \item Diagrams 84 | \item Maps 85 | \end{itemize} 86 | \end{minipage}}; 87 | } 88 | 89 | % concept text nodes 90 | \uncover<2->{% 91 | \node[concept,above=of model,align=center,yshift=-.6cm] (assump) {Modelling assumptions}; 92 | \draw[hidden] (question.east |- assump) -- 93 | node[below,text=tumdarkgrey,font=\itshape\scriptsize] {informs} 94 | (assump); 95 | } 96 | 97 | \uncover<4->{% 98 | \draw[conn] (assump) -- (model); 99 | } 100 | 101 | \uncover<9->{% 102 | \node[concept,text height=1.5ex] at (output.east -| model.south) (interpret) {Interpretation}; 103 | \draw[conn] (output) -- (interpret); 104 | } 105 | 106 | % connections 107 | \uncover<8->{% 108 | \draw[conn] (solver.south) -- ++(0,-.6cm) -| 109 | node[below,near start] {Raw results} 110 | (proc.290); 111 | \draw[conn] (proc.250) -- (output.north -| proc.250); 112 | } 113 | \uncover<10->{% 114 | \draw[conn] (output) -| 115 | node[below,near start,anchor=north east] {Feedback} 116 | (data); 117 | } 118 | \end{tikzpicture} 119 | \end{center} 120 | \end{frame} 121 | 122 | \begin{frame}{Distributed version control for scientific work} 123 | \begin{center} 124 | \begin{tikzpicture}[ 125 | node distance=3em and 3em, pin distance=.75em, 126 | commit/.style={circle,fill=jdblue,draw=jddarkblue,inner sep=3pt}, 127 | chain/.style={draw=jddarkblue,very thick}, 128 | every pin/.style={draw=jdgreen,text=jdgreen}, 129 | every pin edge/.style={draw=jdgreen}, 130 | master/.style={fill=jdgreen!50,draw=jdgreen}, 131 | summary/.style={anchor=west} 132 | ] 133 | 134 | \node[commit,onslide=<1>{master,pin=right:01.12.}] (origin) {}; 135 | 136 | \uncover<2->{% 137 | \node[commit,right=of origin,onslide=<2>{master,pin=right:02.12.}] (c1) {}; 138 | \draw[chain] (origin) -- (c1);} 139 | 140 | \uncover<3->{% 141 | \node[commit,right=of c1,onslide=<3-4>{master,pin=right:\ttfamily v1}] (c2) {}; 142 | \draw[chain] (c1) -- (c2);} 143 | 144 | \uncover<4->{% 145 | \node[commit,below right=of c2,pin=below:\ttfamily haag15] (fork) {}; 146 | \draw[chain] (c1) -- (c2 |- fork) -- (fork);} 147 | 148 | \uncover<5->{% 149 | \node[commit,right=4.5em of c2,onslide=<5>{master,pin=below:04.12.}] (c3) {}; 150 | \draw[chain] (c2) -- (c3); 151 | \node[commit,above right=3em and 6em of c2,pin=above:\ttfamily feature] (feature) {}; 152 | \draw[chain] (c2) -- ($(feature) - (3em, 0)$) -- (feature);} 153 | 154 | \uncover<6->{% 155 | \node[commit,below right=of feature,onslide=<6->{master}, 156 | pin=below:\ttfamily v3] (merge) {}; 157 | \draw[chain] (feature) -- (merge); 158 | \draw[chain] (c3) -- (merge);} 159 | 160 | \uncover<7->{% 161 | \node[right=4em of merge,summary] (devel) {Development}; 162 | \node[summary] (collab) at (feature -| devel.west) {Collaboration}; 163 | \node[summary] (archiv) at (fork -| devel.west) {Archival}; 164 | } 165 | 166 | \end{tikzpicture} 167 | \end{center} 168 | \end{frame} 169 | 170 | \fullframegraphic{img/urbs/urbs-commit-network-transp} 171 | 172 | \begin{frame}{Conclusion} 173 | \begin{center} 174 | \begin{tikzpicture}[node distance=1em and 2ex,font=\small] 175 | \node[flowbox,fb-muted] (infra) { 176 | \fbtitle{Infrastructure}\vphantom{yÖ} 177 | \nodepart{two} 178 | \begin{minipage}{.29\textwidth} 179 | \centering 180 | \vspace{3.3ex} 181 | \includegraphics[width=.98\textwidth]{img/techno-economic-modelling} 182 | \vspace{3.3ex} 183 | \end{minipage} 184 | }; 185 | 186 | \node[flowbox,fb-muted,right=of infra] (model) { 187 | \fbtitle{Modelling}\vphantom{yÖ} 188 | \nodepart{two} 189 | \begin{minipage}{.29\textwidth} 190 | \centering 191 | \includegraphics[width=.95\textwidth]{img/urbs/urbs-ts-graph} 192 | \vspace{2ex} 193 | \includegraphics[width=.95\textwidth]{img/rivus/scen-today-rivus-networks} 194 | \vspace{1ex} 195 | \end{minipage} 196 | }; 197 | 198 | \node[flowbox,fb-muted,right=of model] (open) { 199 | \fbtitle{Open Source}\vphantom{yÖ} 200 | \nodepart{two} 201 | \begin{minipage}{.29\textwidth}\raggedright 202 | \centering 203 | \vspace{2.9ex} 204 | \includegraphics[width=.95\textwidth]{img/urbs/urbs-commit-network-transp} 205 | \vspace{2.9ex} 206 | \end{minipage} 207 | }; 208 | \end{tikzpicture} 209 | \end{center} 210 | \end{frame} 211 | -------------------------------------------------------------------------------- /beamerthemeJD.sty: -------------------------------------------------------------------------------- 1 | % !TeX root = defense.tex 2 | \RequirePackage{tikz} 3 | 4 | % colors 5 | % greys 6 | \definecolor{jdlightestgrey}{HTML}{ECECEC} 7 | \definecolor{jdverylightgrey}{HTML}{B3B3B3} 8 | \definecolor{jdlightergrey}{HTML}{999999} 9 | \definecolor{jdlightgrey}{HTML}{808080} 10 | \definecolor{jdgrey}{HTML}{666666} 11 | \definecolor{jddarkgrey}{HTML}{4D4D4D} 12 | \definecolor{jddarkergrey}{HTML}{333333} 13 | \definecolor{jddarkestgrey}{HTML}{1A1A1A} 14 | 15 | % blues 16 | \definecolor{jddarkestblue}{HTML}{0B1728} 17 | \definecolor{jddarkerblue}{HTML}{162D50} 18 | \definecolor{jddarkblue}{HTML}{214478} 19 | \definecolor{jdblue}{HTML}{5F8DD3} 20 | \definecolor{jdlightblue}{HTML}{87AADE} 21 | \definecolor{jdlighterblue}{HTML}{AFC6E9} 22 | \definecolor{jdlightestblue}{HTML}{D7E3F4} 23 | 24 | % others 25 | \definecolor{jdgreen}{HTML}{00AA44} 26 | \definecolor{jdblack}{HTML}{050505} 27 | \definecolor{jdwhite}{HTML}{FFFFFF} 28 | 29 | % beamer color definitions 30 | \setbeamercolor{structure}{fg=jddarkerblue} 31 | \setbeamercolor{alerted text}{fg=jddarkblue} 32 | \setbeamercolor{example text}{fg=jdgreen} 33 | \setbeamercolor{author in head/foot}{fg=jdgrey} 34 | \setbeamercolor{institute in head/foot}{fg=jdgrey} 35 | \setbeamercolor{date in head/foot}{fg=jdgrey} 36 | 37 | \setbeamercolor*{block body}{bg=normal text.bg!90!jdlightgrey} 38 | \setbeamercolor*{block body alerted}{bg=normal text.bg!90!jdlightblue} 39 | \setbeamercolor*{block body example}{bg=normal text.bg!90!jdgreen} 40 | \setbeamercolor*{block title}{parent=structure,bg=normal text.bg!75!jdgrey} 41 | \setbeamercolor*{block title alerted}{use={normal text,alerted text},fg=alerted text.fg!75!normal text.fg,bg=normal text.bg!75!alerted text.fg} 42 | \setbeamercolor*{block title example}{use={normal text,example text},fg=example text.fg!75!normal text.fg,bg=normal text.bg!75!example text.fg} 43 | 44 | % geometry 45 | 46 | % custom slide margin 47 | \setbeamersize{text margin left=.4cm} 48 | \setbeamersize{text margin right=.4cm} 49 | 50 | % fonts 51 | \setbeamerfont{title}{series=\bfseries} 52 | \setbeamerfont{subtitle}{series=\normalfont} 53 | 54 | 55 | 56 | 57 | 58 | 59 | % custom commands 60 | \usepackage[export]{adjustbox} 61 | \tikzset{ffgcaption/.style={% 62 | anchor=south east,font=\tiny, 63 | text=jdwhite,fill=jdblack, 64 | fill opacity=.5,text opacity=1,inner sep=2pt, 65 | text height=1ex,text depth=.25ex}} 66 | 67 | % \fullframegraphic 68 | % renders a single image fullscreen, with an optional credit/caption in the 69 | % lower right corner. 70 | % Usage: \fullframegraphic[some optional caption]{path/to/image} 71 | % It does not crop the image, but leads to white borders if image does not match 72 | % the aspect ratio of the slide. See commands \fullframegraphicw and 73 | % \fullframegraphich below for cropping alternatives. 74 | \newcommand{\fullframegraphic}[2][]{% 75 | \begin{frame}[plain]% 76 | \begin{tikzpicture}[remember picture,overlay]% 77 | \node[at=(current page.center)] {% 78 | \includegraphics[height=\paperheight,width=\paperwidth,keepaspectratio]{#2}% 79 | };% 80 | \ifx\relax#1\relax\else% 81 | \node[at=(current page.south east),ffgcaption] {#1};% 82 | \fi% 83 | \end{tikzpicture}% 84 | \end{frame}% 85 | } 86 | 87 | % \fullframegraphicw: scles image to frame width, cropping excess height. 88 | % use for images that are "taller" than the frame aspect ratio 89 | \newcommand{\fullframegraphicw}[2][]{% 90 | \begin{frame}[plain]% 91 | \begin{tikzpicture}[remember picture,overlay]% 92 | \node[at=(current page.center)] {% 93 | \includegraphics[min height=\paperheight,max width=\paperwidth,keepaspectratio]{#2}% 94 | };% 95 | \ifx\relax#1\relax\else% 96 | \node[at=(current page.south east),ffgcaption] {#1};% 97 | \fi% 98 | \end{tikzpicture}% 99 | \end{frame}% 100 | } 101 | 102 | % \fullframegraphich: scales image to frame height, cropping excess width. 103 | % use for images that are wider than the frame aspect ratio 104 | \newcommand{\fullframegraphich}[2][]{% 105 | \begin{frame}[plain]% 106 | \begin{tikzpicture}[remember picture,overlay]% 107 | \node[at=(current page.center)] {% 108 | \includegraphics[max height=\paperheight,min width=\paperwidth,keepaspectratio]{#2}% 109 | };% 110 | \ifx\relax#1\relax\else% 111 | \node[at=(current page.south east),ffgcaption] {#1};% 112 | \fi% 113 | \end{tikzpicture}% 114 | \end{frame}% 115 | } 116 | 117 | % \fullframegraphics: more customisable version of fullframegraphic, allowing 118 | % a third argument to insert additional tikz commands for custom overlays. 119 | % use when tooltips or highlights are required on a large image 120 | \newcommand{\fullframegraphics}[3][]{% 121 | \begin{frame}[plain]% 122 | \begin{tikzpicture}[remember picture,overlay]% 123 | \node[at=(current page.center)] {% 124 | \includegraphics[height=\paperheight,width=\paperwidth,keepaspectratio]{#2}% 125 | };% 126 | \ifx\relax#1\relax\else% 127 | \node[at=(current page.south east),ffgcaption] {#1};% 128 | \fi% 129 | #3% 130 | \end{tikzpicture}% 131 | \end{frame}% 132 | } 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | % beamer templates 142 | 143 | % show logo top right corner, navigation symbols bottom right 144 | \setbeamertemplate{sidebar right} 145 | { 146 | \vskip0.33cm% 147 | \llap{\insertlogo\hskip0.4cm}% 148 | \vfill% 149 | \llap{\usebeamertemplate***{navigation symbols}\hskip0.4cm}% 150 | \vskip2pt% 151 | } 152 | 153 | % slightly adapted footline from the stock 'infolines' outer theme 154 | \setbeamertemplate{footline} 155 | { 156 | \leavevmode% 157 | \hbox{% 158 | \begin{beamercolorbox}[wd=.8\paperwidth,ht=2.25ex,dp=1ex,left]{author in head/foot}% 159 | \usebeamerfont{author in head/foot} 160 | \hspace*{.4cm}\insertshortauthor{}\qquad 161 | \insertshortinstitute{}\qquad 162 | \insertshorttitle{}\qquad 163 | \insertshortdate{} 164 | \end{beamercolorbox} 165 | \begin{beamercolorbox}[wd=.2\paperwidth,ht=2.25ex,dp=1ex,right]{date in head/foot}% 166 | \usebeamerfont{date in head/foot} 167 | \makebox[5em][r]{% 168 | \insertframenumber{} / \inserttotalframenumber\hspace*{.4cm}} 169 | \end{beamercolorbox}}% 170 | \vskip.16cm% 171 | } 172 | 173 | % Title page 174 | \setbeamertemplate{title page} 175 | { 176 | \vskip-1em% 177 | \hfill% 178 | \llap\inserttitlegraphic\par% 179 | \vbox{}% 180 | \vfill 181 | \begin{beamercolorbox}[sep=6pt]{title} 182 | \usebeamerfont{title}\inserttitle\par% 183 | \ifx\insertsubtitle\@empty% 184 | \else% 185 | \vskip0.25em% 186 | {\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle\par}% 187 | \fi% 188 | \end{beamercolorbox}% 189 | \vskip1em\par 190 | \begin{beamercolorbox}[sep=6pt]{author} 191 | \usebeamerfont{author}\insertauthor 192 | \end{beamercolorbox} 193 | \begin{beamercolorbox}[sep=6pt]{institute} 194 | \usebeamerfont{institute}\insertinstitute 195 | \end{beamercolorbox} 196 | \begin{beamercolorbox}[sep=6pt]{date} 197 | \usebeamerfont{date}\insertdate 198 | \end{beamercolorbox} 199 | \vfill 200 | } 201 | 202 | % Part page 203 | \setbeamertemplate{part page} 204 | { 205 | \vspace*{\fill} % \vfill seems not to work here 206 | % workaround from http://www.latex-community.org/forum/viewtopic.php?f=44&t=17339 207 | \begin{beamercolorbox}[sep=6pt]{part name} 208 | \usebeamerfont{part name}\usebeamercolor[fg]{part name}\partname~\insertromanpartnumber 209 | \end{beamercolorbox} 210 | \begin{beamercolorbox}[sep=6pt]{part title} 211 | \usebeamerfont{part title}\insertpart\par 212 | \end{beamercolorbox} 213 | \vspace*{\fill} 214 | } 215 | 216 | 217 | % Section page 218 | \setbeamertemplate{section page} 219 | { 220 | \vfill 221 | \begin{beamercolorbox}[sep=6pt]{section name} 222 | \usebeamerfont{section name}\usebeamercolor[fg]{section name}\sectionname~\insertsectionnumber 223 | \end{beamercolorbox} 224 | \begin{beamercolorbox}[sep=6pt]{part title} 225 | \usebeamerfont{section title}\insertsection\par 226 | \end{beamercolorbox} 227 | \vfill 228 | } 229 | 230 | % Subection page 231 | \setbeamertemplate{subsection page} 232 | { 233 | \vfill 234 | \begin{beamercolorbox}[sep=6pt]{subsection name} 235 | \usebeamerfont{subsection name}\usebeamercolor[fg]{subsection name}\subsectionname~\insertsubsectionnumber 236 | \end{beamercolorbox} \begin{beamercolorbox}[sep=6pt]{part title} 237 | \usebeamerfont{subsection title}\insertsubsection\par 238 | \end{beamercolorbox} 239 | \vfill 240 | } 241 | 242 | % Table of contents - single line 243 | \setbeamertemplate{section in toc} 244 | {\quad{\small\color{jdblue}\bfseries \inserttocsectionnumber}~~\inserttocsection} 245 | -------------------------------------------------------------------------------- /tex/models.tex: -------------------------------------------------------------------------------- 1 | % !TeX root = ../defense.tex 2 | 3 | \section{Mathematical modelling, optimisation, case study} 4 | \frame{\sectionpage} 5 | 6 | \begin{frame}{Model overview}{} 7 | \vspace{3ex} 8 | \begin{center} 9 | \begin{tikzpicture}[node distance=1em and 8ex,font=\small] 10 | % flowboxes 11 | \node[flowbox] (urbs) { 12 | \fbtitle{urbs}\vphantom{yÖ} 13 | \nodepart{two} 14 | \begin{minipage}{.29\textwidth} 15 | \centering 16 | \vspace{1ex} 17 | \includegraphics[width=.95\textwidth]{img/urbs/urbs-ts-graph} 18 | \vspace{3ex} 19 | \includegraphics[width=.95\textwidth]{img/urbs/res-diagram} 20 | \vspace{1ex} 21 | \end{minipage} 22 | }; 23 | \node[anchor=north west] at (urbs.south west) {\tiny \url{https://github.com/tum-ens/urbs}}; 24 | 25 | \node[flowbox,right=of urbs] (rivus) { 26 | \fbtitle{rivus}\vphantom{yÖ} 27 | \nodepart{two} 28 | \begin{minipage}{.29\textwidth} 29 | \centering 30 | \vspace{-1.15ex} 31 | \includegraphics[width=.99\textwidth]{img/rivus/stacked-networks-half} 32 | \vspace{-1.15ex} 33 | \end{minipage} 34 | }; 35 | \node[anchor=north west] at (rivus.south west) {\tiny \url{https://github.com/tum-ens/rivus}}; 36 | \end{tikzpicture} 37 | \end{center} 38 | \end{frame} 39 | 40 | % coordinates for timeseries 41 | \newcommand{\demandts}{( 0,4) ( 1,5) ( 2,5) ( 3,4) ( 4,5) ( 5,5) ( 6,5) ( 7,6) ( 8,7) ( 9,6) (10,6) (11,7) (12,9) (13,8) (14,7) (15,7) (16,6) (17,6) (18,8) (19,9) (20,9) (21,7) (22,6) (23,4) (24,4)} 42 | \newcommand{\windts}{ ( 0,0) ( 1,0) ( 2,2) ( 3,0) ( 4,8) ( 5,7) ( 6,7) ( 7,2) ( 8,3) ( 9,5) (10,5) (11,4) (12,5) (13,3) (14,3) (15,5) (16,2) (17,7) (18,6) (19,3) (20,0) (21,0) (22,2) (23,0) (24,2)} 43 | 44 | \begin{frame}{urbs}{Principle illustrated} 45 | \begin{center} 46 | \begin{tikzpicture} 47 | \begin{axis}[ 48 | tumaxisstyle, 49 | x post scale=1.75, 50 | ymin=-3,ymax=10, 51 | xmin=0,xmax=24, 52 | xlabel={Time of day (\si{\hour})}, 53 | ylabel={Power (\si{\MW})}] 54 | 55 | \path[name path=axis] (0,0) -- (24,0); 56 | 57 | % original wind timeseries 58 | \addplot[name path=ts-wind,draw=none,const plot] 59 | coordinates { \windts }; 60 | 61 | \addplot[name path=ts-wind-half,draw=none,const plot, 62 | y filter/.code={\pgfmathparse{\pgfmathresult/2}\pgfmathresult}] 63 | coordinates {\windts }; 64 | 65 | % finally: demand plot 66 | \addplot[name path=ts-demand,draw=demand,const plot] coordinates { \demandts }; 67 | % slide-show 68 | 69 | \only<2-5>{% 70 | \addplot[fill=wind] fill between[of=axis and ts-wind-half]; 71 | } 72 | \only<2-4>{% 73 | \node[jdblack!75!wind] at (12,1) {Wind turbine}; 74 | } 75 | 76 | \only<3-5>{% 77 | \addplot[fill=gas] fill between[of=ts-wind-half and ts-demand]; 78 | } 79 | \only<3-4>{% 80 | \node[jdwhite!95!gas] at (12,4.5) {Gas plant}; 81 | } 82 | 83 | \only<4|handout:0>{% 84 | \draw[jdblack!75!wind,thick,darrows] (4.5, 0) -- node[right] {$\kappa_\text{w} = 4$} (4.5, 4); 85 | \draw[jdwhite!95!gas,thick,darrows] (20.5, 0) -- node[right] {$\kappa_\text{g} = 9$} (20.5, 9); 86 | } 87 | 88 | \only<6->{% 89 | \addplot[fill=wind] fill between[of=axis and ts-wind]; 90 | \addplot [fill=gas] fill between[of=ts-wind and ts-demand,split, 91 | every segment no 2/.style={fill=none}, 92 | every segment no 5/.style={fill=none}]; 93 | } 94 | 95 | \only<7|handout:0>{% 96 | \draw[jdblack!75!wind,thick,darrows] (4.5, 0) -- node[right] {$\kappa_\text{w} = 8$} (4.5, 8); 97 | \draw[jdwhite!95!gas,thick,darrows] (20.5, 0) -- node[right] {$\kappa_\text{g} = 9$} (20.5, 9); 98 | } 99 | 100 | \only<9->{% 101 | \fill[storage!50] (4, 0) -- (4, -3) -- (5, -3) -- (5, -2) -- (7, -2) -- (7, 0) -- cycle; % store 102 | \fill[storage!50] (19,9) -- (19,8) -- (20,8) -- (20,5) -- (22, 5) -- (22, 7) -- (21, 7) -- (21, 9) -- cycle; % retreive I 103 | } 104 | 105 | \only<10->{% 106 | \draw[jdblack!75!wind,thick,darrows] (4.5, 0) -- node[right] {$\kappa_\text{w} = 8$} (4.5, 8); 107 | \draw[jdwhite!95!gas,thick,darrows] (20.5, 0) -- node[right] {$\kappa_\text{g} = 5$} (20.5, 5); 108 | } 109 | 110 | \only<11>{% 111 | \node[jdblack!85!storage] at (5.5, -1) {$\kappa^\text{c}_\text{s} = 7$}; 112 | \draw[jdblack!85!storage,thick,darrows] (20.5, 5) -- node[right,near end,text=jdblack,xshift=.5em] 113 | {$\kappa^\text{p}_\text{s} = 4$} (20.5, 9); 114 | } 115 | 116 | \addplot[draw=demand,thick,const plot] coordinates { \demandts }; 117 | \draw[black] (0,0) -- (24,0); 118 | \end{axis} 119 | \end{tikzpicture} 120 | \end{center} 121 | \end{frame} 122 | 123 | \begin{frame}{Notation as mathematical optimisation problem} 124 | \begin{align*} 125 | \text{Sets\quad} 126 | & t\in T,\ p\in P,\ s\in S,\ \dots 127 | \\ 128 | \uncover<+->{ 129 | \text{Parameters\quad} 130 | & d_t 131 | \uncover<+->{,\ k^\text{fix}_p,\ k^\text{fix,c}_s,\ k^\text{fix,p}_s} 132 | \uncover<+->{,\ k^\text{var}_p,\ k^\text{var}_s,\ \ldots} 133 | \\ 134 | } 135 | \uncover<+->{ 136 | \text{Variables\quad} 137 | & \kappa_p,\ \kappa_s^\text{c},\ \kappa_s^\text{p} 138 | \uncover<+->{,\ \epsilon_{pt},\ \epsilon_{st}^\text{in},\ \epsilon_{st}^\text{out},\ \epsilon_{st}^\text{con},\ \ldots} 139 | \\ 140 | } 141 | \uncover<+->{ 142 | \text{Objective\quad} 143 | & \min \sum_{p \in P} \Big( k^\text{fix}_p \kappa_p + \sum_{t\in T} k^\text{var} \epsilon_{pt} \Big) + \\ 144 | & \phantom{\min} \sum_{s \in S} \Big( k^\text{fix,c}_s \kappa_s^\text{c} + k^\text{fix,p}_s \kappa_s^\text{p} + \sum_{t\in T} k_s^\text{var} \big(\epsilon^\text{in}_{st} + \epsilon^\text{out}_{st} \big) \Big) 145 | \\ 146 | } 147 | \uncover<+->{ 148 | \text{Constraints\quad} 149 | & \st\; \forall t\in T\colon\ \sum_{p\in P} \epsilon_{pt} + \sum_{s\in S} \big( \epsilon^\text{out}_{st} - \epsilon^\text{in}_{st} \big) = d_t \\ 150 | & \phantom{\st\;} \ldots 151 | } 152 | \end{align*} 153 | \end{frame} 154 | 155 | \begin{frame}{Standard form of linear optimisation problems (LP)} 156 | \begin{alertblock}{Generic form} 157 | \vspace*{-1.5em} 158 | \begin{align*} 159 | \min_{\bs x}\ & z = \bs c\T \bs x \\ 160 | \st\; & \bs A \bs x \leq \bs b 161 | \end{align*} 162 | 163 | \centering 164 | with $\bs x \in \R^n$, $\bs A \in \R^{m \times n}$,\\\, $\bs b \in \R^m$, $\bs c \in \R^n$. 165 | \vspace*{1ex} 166 | \end{alertblock} 167 | \end{frame} 168 | 169 | \begin{frame}{Mixed-integer linear programming (MILP)} 170 | \vspace*{-3em} 171 | \begin{columns}[onlytextwidth,t] 172 | \column{.5\textwidth-.25cm} 173 | \begin{center} 174 | \begin{tikzpicture}[scale=.85] 175 | \begin{axis}[ 176 | tumaxisstyle, 177 | xlabel={$x_i$}, ylabel={$z$ (absolute)}, 178 | xmin=-40, xmax=1000, ymin=0, ymax=600, 179 | y post scale=0.65, ylabel near ticks, clip=false, 180 | grid=both, xticklabels={,0,$m$,,,,$M$}, yticklabels={,0}] 181 | 182 | \addplot[color=tumblue,thick] coordinates { (0,0) (1000, 200) }; 183 | \node at (axis cs:1000,200) [anchor=west,text=tumblue] {LP}; 184 | \only<4->{ 185 | \addplot[color=jdgreen,thick,dotted] coordinates { (0, 0) (0, 300) (200, 340) }; 186 | \addplot[color=jdgreen,thick] coordinates { (200, 340) (1000, 500) }; 187 | \draw[densely dotted] 188 | (axis cs:300,360) 189 | -| (axis cs:500,400) 190 | node[near end,below right] 191 | {$k_i^\text{var}$}; 192 | 193 | \draw[densely dotted] 194 | (axis cs:-15,300) 195 | -- (axis cs:30,300) 196 | node[near end,below right] 197 | {$k_i^\text{fix}$}; 198 | } 199 | \node at (axis cs:1000,500) [text=jdgreen,anchor=west] {{\visible<4->{MILP}}}; 200 | \draw (axis cs:-40,0) -- (axis cs:1000,0); 201 | \end{axis} 202 | \end{tikzpicture} 203 | \end{center} 204 | \vspace*{-2.5em} 205 | 206 | \begin{align*} 207 | \color{tumblue}\text{LP\quad} z &\color{tumblue}= k_i^\text{var} x_i \\ 208 | \color{tumblue}x_i &\color{tumblue}\leq M \\[3pt] 209 | \uncover<4->{ 210 | \color{jdgreen}\text{MILP\quad} z &\color{jdgreen}= k_i^\text{fix} y_i + k_i^\text{var} x_i \\ 211 | \color{jdgreen}y_i &\color{jdgreen}\in \{0,1\} \\ 212 | \color{jdgreen}m\, y_i &\color{jdgreen}\leq x_i \leq M\, y_i 213 | } 214 | \end{align*} 215 | 216 | \column{.5\textwidth-.25cm} 217 | \begin{center} 218 | \begin{tikzpicture}[scale=.85] 219 | \begin{axis}[ 220 | tumaxisstyle, 221 | xlabel={$x_i$}, ylabel={$z/x_i$ (specific)}, 222 | xmin=-40, xmax=1000, ymin=0, ymax=600, 223 | y post scale=0.65, ylabel near ticks, clip=false, 224 | grid=both, xticklabels={,0,$m$,,,,$M$}, yticklabels={,0,$k^\text{var}_i$}] 225 | 226 | \node at (axis cs:1000,200) [anchor=west,text=tumblue,yshift=-.25ex] {{\visible<2->{LP}}}; 227 | \only<2->{ 228 | \addplot[color=tumblue,thick] coordinates { (0,200) (1000, 200) }; 229 | } 230 | \only<3->{ 231 | \addplot[color=jdgreen,thick,dotted,domain=100:200] {200 + 40000/x}; 232 | \addplot[color=jdgreen,thick,domain=200:1000] {200 + 40000/x}; 233 | } 234 | \node at (axis cs:1000,240) [text=jdgreen,anchor=west,yshift=.25ex] {{\visible<3->{MILP}}}; 235 | \draw (axis cs:-40,0) -- (axis cs:1000,0); 236 | \end{axis} 237 | \end{tikzpicture} 238 | \end{center} 239 | \vspace*{-2.5em} 240 | 241 | \begin{align*} 242 | \uncover<2->{ 243 | \color{tumblue}\text{LP\quad} \frac{z}{x_i} &\color{tumblue} = k_i^\text{var} \equiv \text{const} \\[3pt]} 244 | \uncover<3->{ 245 | \color{jdgreen}\text{MILP\quad} \frac{z}{x_i} &\color{jdgreen} = k_i^\text{var} + \frac{k_i^\text{fix}}{x_i}} 246 | \end{align*} 247 | 248 | \end{columns} 249 | \end{frame} 250 | 251 | \begin{frame}{rivus}{Principle illustrated} 252 | \begin{columns}[onlytextwidth,t] 253 | \column{.5\textwidth-.25cm} 254 | \includegraphics[width=\columnwidth,clip=true,trim={0 0 215 0}]{img/rivus/stacked-networks} 255 | \column{.5\textwidth-.25cm} 256 | \uncover<2->{% 257 | \includegraphics[width=\columnwidth,clip=true,trim={210 0 0 0}]{img/rivus/stacked-networks} 258 | } 259 | \end{columns} 260 | \end{frame} 261 | 262 | \fullframegraphics[\color{jdlightestgrey}\hypersetup{urlcolor=jdlighterblue} 263 | Haag in Oberbayern, 264 | data by 265 | \href{http://www.openstreetmap.org/copyright}{OpenStreetMap contributors} 266 | (\href{http://opendatacommons.org/licenses/odbl/}{ODbL}), 267 | extract via 268 | \href{https://mapzen.com/data/metro-extracts/}{Mapzen Metro Extracts}, 269 | map style by 270 | \href{https://github.com/charleyglynn/OSM-Shapefile-QGIS-stylesheets}{Charley Glynn} 271 | (\href{http://creativecommons.org/licenses/by-sa/3.0/}{CC BY-SA})] 272 | {img/haag/haag-i-ob}{% 273 | \uncover<2>{% 274 | \node[at=(current page.north west), 275 | xshift=3.5cm,yshift=-0.9cm, 276 | font=\footnotesize, 277 | text=jddarkergrey!75!jdgreen,text opacity=1, 278 | fill=jdgreen,fill opacity=.5, 279 | inner xsep=3pt, inner ysep=5pt, 280 | rounded corners=1pt] {Moosham}; 281 | }% 282 | } 283 | 284 | \begin{frame}{Input data \textbf{rivus}} 285 | \begin{columns} 286 | \column{\squeezethree} 287 | \centering 288 | \textcolor{elec}{Electricity} \vphantom{gÖ} 289 | \includegraphics[width=\squeezethree]{img/haag/scenario_no_electric_heating-peak-Elec} 290 | \column{\squeezethree} 291 | \centering 292 | \textcolor{heat}{Heat} \vphantom{gÖ} 293 | \includegraphics[width=\squeezethree]{img/haag/scenario_no_electric_heating-peak-Heat} 294 | \column{\squeezethree} 295 | \end{columns} 296 | 297 | \begin{center} 298 | \raggedright\qquad 299 | Light industry (Schletter) biggest single consumer 300 | \end{center} 301 | 302 | {\tiny \url{https://github.com/tum-ens/rivus}/\texttt{data/haag15}} 303 | \end{frame} 304 | 305 | \begin{frame}{Result \textbf{rivus} -- Capacities in scenario \scenario{base}} 306 | \begin{columns} 307 | \column{\squeezethree} 308 | \centering 309 | \textcolor{elec}{Electricity} \vphantom{gÖ} 310 | \includegraphics[width=\squeezethree]{img/haag/scenario_no_electric_heating-caps-Elec} 311 | \column{\squeezethree} 312 | \centering 313 | \textcolor{heat}{Heat} \vphantom{gÖ} 314 | \includegraphics[width=\squeezethree]{img/haag/scenario_no_electric_heating-caps-Heat} 315 | \column{\squeezethree} 316 | \centering 317 | \textcolor{gas}{Gas} \vphantom{gÖ} 318 | \includegraphics[width=\squeezethree]{img/haag/scenario_no_electric_heating-caps-Gas} 319 | \end{columns} 320 | 321 | \begin{center} 322 | Full networks for electricity and gas, several local heating networks 323 | \end{center} 324 | 325 | {\tiny \url{https://github.com/tum-ens/rivus}/\texttt{runhg15.py:scenario\_no\_electric\_heating()}} 326 | \end{frame} 327 | 328 | \begin{frame}{Result \textbf{rivus} -- Capacities in scenario \scenario{future}} 329 | \begin{columns} 330 | \column{\squeezethree} 331 | \centering 332 | \textcolor{elec}{Electricity} \vphantom{gÖ} 333 | \includegraphics[width=\squeezethree]{img/haag/scenario_renovation-caps-Elec} 334 | \column{\squeezethree} 335 | \centering 336 | \textcolor{heat}{Heat} \vphantom{gÖ} 337 | \includegraphics[width=\squeezethree]{img/haag/scenario_renovation-caps-Heat} 338 | \column{\squeezethree} 339 | \centering 340 | \textcolor{gas}{Gas} \vphantom{gÖ} 341 | \includegraphics[width=\squeezethree]{img/haag/scenario_renovation-caps-Gas} 342 | \end{columns} 343 | 344 | \begin{center} 345 | Strong electricity grid, no gas network, only heat pumps 346 | \end{center} 347 | 348 | {\tiny \url{https://github.com/tum-ens/rivus}/\texttt{runhg15.py:scenario\_renovation()}} 349 | \end{frame} 350 | 351 | \begin{frame}{Result \textbf{urbs} -- 1 week electricity in scenarios \scenario{base}} 352 | \begin{center} 353 | \includegraphics[width=.95\textwidth]{img/haag/scenario_base-Elec-Moosham-spr_edit} 354 | \end{center} 355 | \vspace{-1em} 356 | {\tiny \url{https://github.com/ojdo/urbs/tree/haag15}/\texttt{rivhg15.py:scenario\_base()}} 357 | \end{frame} 358 | 359 | \begin{frame}{Result \textbf{urbs} -- 1 week electricity in scenario \scenario{cheap battery}} 360 | \begin{center} 361 | \includegraphics[width=.95\textwidth]{img/haag/scenario_cheap_battery-Elec-Moosham-spr_edit} 362 | \end{center} 363 | \vspace{-1em} 364 | {\tiny \url{https://github.com/ojdo/urbs/tree/haag15}/\texttt{rivhg15.py:scenario\_cheap\_battery()}} 365 | \end{frame} 366 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Attribution-ShareAlike 4.0 International 2 | 3 | ======================================================================= 4 | 5 | Creative Commons Corporation ("Creative Commons") is not a law firm and 6 | does not provide legal services or legal advice. Distribution of 7 | Creative Commons public licenses does not create a lawyer-client or 8 | other relationship. Creative Commons makes its licenses and related 9 | information available on an "as-is" basis. Creative Commons gives no 10 | warranties regarding its licenses, any material licensed under their 11 | terms and conditions, or any related information. Creative Commons 12 | disclaims all liability for damages resulting from their use to the 13 | fullest extent possible. 14 | 15 | Using Creative Commons Public Licenses 16 | 17 | Creative Commons public licenses provide a standard set of terms and 18 | conditions that creators and other rights holders may use to share 19 | original works of authorship and other material subject to copyright 20 | and certain other rights specified in the public license below. The 21 | following considerations are for informational purposes only, are not 22 | exhaustive, and do not form part of our licenses. 23 | 24 | Considerations for licensors: Our public licenses are 25 | intended for use by those authorized to give the public 26 | permission to use material in ways otherwise restricted by 27 | copyright and certain other rights. Our licenses are 28 | irrevocable. Licensors should read and understand the terms 29 | and conditions of the license they choose before applying it. 30 | Licensors should also secure all rights necessary before 31 | applying our licenses so that the public can reuse the 32 | material as expected. Licensors should clearly mark any 33 | material not subject to the license. This includes other CC- 34 | licensed material, or material used under an exception or 35 | limitation to copyright. More considerations for licensors: 36 | wiki.creativecommons.org/Considerations_for_licensors 37 | 38 | Considerations for the public: By using one of our public 39 | licenses, a licensor grants the public permission to use the 40 | licensed material under specified terms and conditions. If 41 | the licensor's permission is not necessary for any reason--for 42 | example, because of any applicable exception or limitation to 43 | copyright--then that use is not regulated by the license. Our 44 | licenses grant only permissions under copyright and certain 45 | other rights that a licensor has authority to grant. Use of 46 | the licensed material may still be restricted for other 47 | reasons, including because others have copyright or other 48 | rights in the material. A licensor may make special requests, 49 | such as asking that all changes be marked or described. 50 | Although not required by our licenses, you are encouraged to 51 | respect those requests where reasonable. More considerations 52 | for the public: 53 | wiki.creativecommons.org/Considerations_for_licensees 54 | 55 | ======================================================================= 56 | 57 | Creative Commons Attribution-ShareAlike 4.0 International Public 58 | License 59 | 60 | By exercising the Licensed Rights (defined below), You accept and agree 61 | to be bound by the terms and conditions of this Creative Commons 62 | Attribution-ShareAlike 4.0 International Public License ("Public 63 | License"). To the extent this Public License may be interpreted as a 64 | contract, You are granted the Licensed Rights in consideration of Your 65 | acceptance of these terms and conditions, and the Licensor grants You 66 | such rights in consideration of benefits the Licensor receives from 67 | making the Licensed Material available under these terms and 68 | conditions. 69 | 70 | 71 | Section 1 -- Definitions. 72 | 73 | a. Adapted Material means material subject to Copyright and Similar 74 | Rights that is derived from or based upon the Licensed Material 75 | and in which the Licensed Material is translated, altered, 76 | arranged, transformed, or otherwise modified in a manner requiring 77 | permission under the Copyright and Similar Rights held by the 78 | Licensor. For purposes of this Public License, where the Licensed 79 | Material is a musical work, performance, or sound recording, 80 | Adapted Material is always produced where the Licensed Material is 81 | synched in timed relation with a moving image. 82 | 83 | b. Adapter's License means the license You apply to Your Copyright 84 | and Similar Rights in Your contributions to Adapted Material in 85 | accordance with the terms and conditions of this Public License. 86 | 87 | c. BY-SA Compatible License means a license listed at 88 | creativecommons.org/compatiblelicenses, approved by Creative 89 | Commons as essentially the equivalent of this Public License. 90 | 91 | d. Copyright and Similar Rights means copyright and/or similar rights 92 | closely related to copyright including, without limitation, 93 | performance, broadcast, sound recording, and Sui Generis Database 94 | Rights, without regard to how the rights are labeled or 95 | categorized. For purposes of this Public License, the rights 96 | specified in Section 2(b)(1)-(2) are not Copyright and Similar 97 | Rights. 98 | 99 | e. Effective Technological Measures means those measures that, in the 100 | absence of proper authority, may not be circumvented under laws 101 | fulfilling obligations under Article 11 of the WIPO Copyright 102 | Treaty adopted on December 20, 1996, and/or similar international 103 | agreements. 104 | 105 | f. Exceptions and Limitations means fair use, fair dealing, and/or 106 | any other exception or limitation to Copyright and Similar Rights 107 | that applies to Your use of the Licensed Material. 108 | 109 | g. License Elements means the license attributes listed in the name 110 | of a Creative Commons Public License. The License Elements of this 111 | Public License are Attribution and ShareAlike. 112 | 113 | h. Licensed Material means the artistic or literary work, database, 114 | or other material to which the Licensor applied this Public 115 | License. 116 | 117 | i. Licensed Rights means the rights granted to You subject to the 118 | terms and conditions of this Public License, which are limited to 119 | all Copyright and Similar Rights that apply to Your use of the 120 | Licensed Material and that the Licensor has authority to license. 121 | 122 | j. Licensor means the individual(s) or entity(ies) granting rights 123 | under this Public License. 124 | 125 | k. Share means to provide material to the public by any means or 126 | process that requires permission under the Licensed Rights, such 127 | as reproduction, public display, public performance, distribution, 128 | dissemination, communication, or importation, and to make material 129 | available to the public including in ways that members of the 130 | public may access the material from a place and at a time 131 | individually chosen by them. 132 | 133 | l. Sui Generis Database Rights means rights other than copyright 134 | resulting from Directive 96/9/EC of the European Parliament and of 135 | the Council of 11 March 1996 on the legal protection of databases, 136 | as amended and/or succeeded, as well as other essentially 137 | equivalent rights anywhere in the world. 138 | 139 | m. You means the individual or entity exercising the Licensed Rights 140 | under this Public License. Your has a corresponding meaning. 141 | 142 | 143 | Section 2 -- Scope. 144 | 145 | a. License grant. 146 | 147 | 1. Subject to the terms and conditions of this Public License, 148 | the Licensor hereby grants You a worldwide, royalty-free, 149 | non-sublicensable, non-exclusive, irrevocable license to 150 | exercise the Licensed Rights in the Licensed Material to: 151 | 152 | a. reproduce and Share the Licensed Material, in whole or 153 | in part; and 154 | 155 | b. produce, reproduce, and Share Adapted Material. 156 | 157 | 2. Exceptions and Limitations. For the avoidance of doubt, where 158 | Exceptions and Limitations apply to Your use, this Public 159 | License does not apply, and You do not need to comply with 160 | its terms and conditions. 161 | 162 | 3. Term. The term of this Public License is specified in Section 163 | 6(a). 164 | 165 | 4. Media and formats; technical modifications allowed. The 166 | Licensor authorizes You to exercise the Licensed Rights in 167 | all media and formats whether now known or hereafter created, 168 | and to make technical modifications necessary to do so. The 169 | Licensor waives and/or agrees not to assert any right or 170 | authority to forbid You from making technical modifications 171 | necessary to exercise the Licensed Rights, including 172 | technical modifications necessary to circumvent Effective 173 | Technological Measures. For purposes of this Public License, 174 | simply making modifications authorized by this Section 2(a) 175 | (4) never produces Adapted Material. 176 | 177 | 5. Downstream recipients. 178 | 179 | a. Offer from the Licensor -- Licensed Material. Every 180 | recipient of the Licensed Material automatically 181 | receives an offer from the Licensor to exercise the 182 | Licensed Rights under the terms and conditions of this 183 | Public License. 184 | 185 | b. Additional offer from the Licensor -- Adapted Material. 186 | Every recipient of Adapted Material from You 187 | automatically receives an offer from the Licensor to 188 | exercise the Licensed Rights in the Adapted Material 189 | under the conditions of the Adapter's License You apply. 190 | 191 | c. No downstream restrictions. You may not offer or impose 192 | any additional or different terms or conditions on, or 193 | apply any Effective Technological Measures to, the 194 | Licensed Material if doing so restricts exercise of the 195 | Licensed Rights by any recipient of the Licensed 196 | Material. 197 | 198 | 6. No endorsement. Nothing in this Public License constitutes or 199 | may be construed as permission to assert or imply that You 200 | are, or that Your use of the Licensed Material is, connected 201 | with, or sponsored, endorsed, or granted official status by, 202 | the Licensor or others designated to receive attribution as 203 | provided in Section 3(a)(1)(A)(i). 204 | 205 | b. Other rights. 206 | 207 | 1. Moral rights, such as the right of integrity, are not 208 | licensed under this Public License, nor are publicity, 209 | privacy, and/or other similar personality rights; however, to 210 | the extent possible, the Licensor waives and/or agrees not to 211 | assert any such rights held by the Licensor to the limited 212 | extent necessary to allow You to exercise the Licensed 213 | Rights, but not otherwise. 214 | 215 | 2. Patent and trademark rights are not licensed under this 216 | Public License. 217 | 218 | 3. To the extent possible, the Licensor waives any right to 219 | collect royalties from You for the exercise of the Licensed 220 | Rights, whether directly or through a collecting society 221 | under any voluntary or waivable statutory or compulsory 222 | licensing scheme. In all other cases the Licensor expressly 223 | reserves any right to collect such royalties. 224 | 225 | 226 | Section 3 -- License Conditions. 227 | 228 | Your exercise of the Licensed Rights is expressly made subject to the 229 | following conditions. 230 | 231 | a. Attribution. 232 | 233 | 1. If You Share the Licensed Material (including in modified 234 | form), You must: 235 | 236 | a. retain the following if it is supplied by the Licensor 237 | with the Licensed Material: 238 | 239 | i. identification of the creator(s) of the Licensed 240 | Material and any others designated to receive 241 | attribution, in any reasonable manner requested by 242 | the Licensor (including by pseudonym if 243 | designated); 244 | 245 | ii. a copyright notice; 246 | 247 | iii. a notice that refers to this Public License; 248 | 249 | iv. a notice that refers to the disclaimer of 250 | warranties; 251 | 252 | v. a URI or hyperlink to the Licensed Material to the 253 | extent reasonably practicable; 254 | 255 | b. indicate if You modified the Licensed Material and 256 | retain an indication of any previous modifications; and 257 | 258 | c. indicate the Licensed Material is licensed under this 259 | Public License, and include the text of, or the URI or 260 | hyperlink to, this Public License. 261 | 262 | 2. You may satisfy the conditions in Section 3(a)(1) in any 263 | reasonable manner based on the medium, means, and context in 264 | which You Share the Licensed Material. For example, it may be 265 | reasonable to satisfy the conditions by providing a URI or 266 | hyperlink to a resource that includes the required 267 | information. 268 | 269 | 3. If requested by the Licensor, You must remove any of the 270 | information required by Section 3(a)(1)(A) to the extent 271 | reasonably practicable. 272 | 273 | b. ShareAlike. 274 | 275 | In addition to the conditions in Section 3(a), if You Share 276 | Adapted Material You produce, the following conditions also apply. 277 | 278 | 1. The Adapter's License You apply must be a Creative Commons 279 | license with the same License Elements, this version or 280 | later, or a BY-SA Compatible License. 281 | 282 | 2. You must include the text of, or the URI or hyperlink to, the 283 | Adapter's License You apply. You may satisfy this condition 284 | in any reasonable manner based on the medium, means, and 285 | context in which You Share Adapted Material. 286 | 287 | 3. You may not offer or impose any additional or different terms 288 | or conditions on, or apply any Effective Technological 289 | Measures to, Adapted Material that restrict exercise of the 290 | rights granted under the Adapter's License You apply. 291 | 292 | 293 | Section 4 -- Sui Generis Database Rights. 294 | 295 | Where the Licensed Rights include Sui Generis Database Rights that 296 | apply to Your use of the Licensed Material: 297 | 298 | a. for the avoidance of doubt, Section 2(a)(1) grants You the right 299 | to extract, reuse, reproduce, and Share all or a substantial 300 | portion of the contents of the database; 301 | 302 | b. if You include all or a substantial portion of the database 303 | contents in a database in which You have Sui Generis Database 304 | Rights, then the database in which You have Sui Generis Database 305 | Rights (but not its individual contents) is Adapted Material, 306 | 307 | including for purposes of Section 3(b); and 308 | c. You must comply with the conditions in Section 3(a) if You Share 309 | all or a substantial portion of the contents of the database. 310 | 311 | For the avoidance of doubt, this Section 4 supplements and does not 312 | replace Your obligations under this Public License where the Licensed 313 | Rights include other Copyright and Similar Rights. 314 | 315 | 316 | Section 5 -- Disclaimer of Warranties and Limitation of Liability. 317 | 318 | a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE 319 | EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS 320 | AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF 321 | ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, 322 | IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, 323 | WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR 324 | PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, 325 | ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT 326 | KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT 327 | ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. 328 | 329 | b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE 330 | TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, 331 | NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, 332 | INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, 333 | COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR 334 | USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN 335 | ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR 336 | DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR 337 | IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. 338 | 339 | c. The disclaimer of warranties and limitation of liability provided 340 | above shall be interpreted in a manner that, to the extent 341 | possible, most closely approximates an absolute disclaimer and 342 | waiver of all liability. 343 | 344 | 345 | Section 6 -- Term and Termination. 346 | 347 | a. This Public License applies for the term of the Copyright and 348 | Similar Rights licensed here. However, if You fail to comply with 349 | this Public License, then Your rights under this Public License 350 | terminate automatically. 351 | 352 | b. Where Your right to use the Licensed Material has terminated under 353 | Section 6(a), it reinstates: 354 | 355 | 1. automatically as of the date the violation is cured, provided 356 | it is cured within 30 days of Your discovery of the 357 | violation; or 358 | 359 | 2. upon express reinstatement by the Licensor. 360 | 361 | For the avoidance of doubt, this Section 6(b) does not affect any 362 | right the Licensor may have to seek remedies for Your violations 363 | of this Public License. 364 | 365 | c. For the avoidance of doubt, the Licensor may also offer the 366 | Licensed Material under separate terms or conditions or stop 367 | distributing the Licensed Material at any time; however, doing so 368 | will not terminate this Public License. 369 | 370 | d. Sections 1, 5, 6, 7, and 8 survive termination of this Public 371 | License. 372 | 373 | 374 | Section 7 -- Other Terms and Conditions. 375 | 376 | a. The Licensor shall not be bound by any additional or different 377 | terms or conditions communicated by You unless expressly agreed. 378 | 379 | b. Any arrangements, understandings, or agreements regarding the 380 | Licensed Material not stated herein are separate from and 381 | independent of the terms and conditions of this Public License. 382 | 383 | 384 | Section 8 -- Interpretation. 385 | 386 | a. For the avoidance of doubt, this Public License does not, and 387 | shall not be interpreted to, reduce, limit, restrict, or impose 388 | conditions on any use of the Licensed Material that could lawfully 389 | be made without permission under this Public License. 390 | 391 | b. To the extent possible, if any provision of this Public License is 392 | deemed unenforceable, it shall be automatically reformed to the 393 | minimum extent necessary to make it enforceable. If the provision 394 | cannot be reformed, it shall be severed from this Public License 395 | without affecting the enforceability of the remaining terms and 396 | conditions. 397 | 398 | c. No term or condition of this Public License will be waived and no 399 | failure to comply consented to unless expressly agreed to by the 400 | Licensor. 401 | 402 | d. Nothing in this Public License constitutes or may be interpreted 403 | as a limitation upon, or waiver of, any privileges and immunities 404 | that apply to the Licensor or You, including from the legal 405 | processes of any jurisdiction or authority. 406 | 407 | 408 | ======================================================================= 409 | 410 | Creative Commons is not a party to its public 411 | licenses. Notwithstanding, Creative Commons may elect to apply one of 412 | its public licenses to material it publishes and in those instances 413 | will be considered the “Licensor.” The text of the Creative Commons 414 | public licenses is dedicated to the public domain under the CC0 Public 415 | Domain Dedication. Except for the limited purpose of indicating that 416 | material is shared under a Creative Commons public license or as 417 | otherwise permitted by the Creative Commons policies published at 418 | creativecommons.org/policies, Creative Commons does not authorize the 419 | use of the trademark "Creative Commons" or any other trademark or logo 420 | of Creative Commons without its prior written consent including, 421 | without limitation, in connection with any unauthorized modifications 422 | to any of its public licenses or any other arrangements, 423 | understandings, or agreements concerning use of licensed material. For 424 | the avoidance of doubt, this paragraph does not form part of the 425 | public licenses. 426 | 427 | Creative Commons may be contacted at creativecommons.org. 428 | 429 | --------------------------------------------------------------------------------