Commit 1c842aa2 by sp2668

### change nomenclature in tut3

parent 98fb8a5b
No preview for this file type
 ... @@ -112,58 +112,59 @@ ... @@ -112,58 +112,59 @@ \end{axis} \end{axis} \end{tikzpicture} \end{tikzpicture} \caption{Diurnal and synoptic variations of wind and solar power generation \caption{Diurnal and synoptic variations of wind and solar power generation $$G_{N,w}(t)$$ $$G^{N}_{w}(t)$$ \autoref{figref:w} and $$G_{S,s}(t)$$ \autoref{figref:w} and $$G^{S}_{s}(t)$$ \autoref{figref:s}, and a constant load (all in per-unit) $$L(t)$$ \autoref{figref:s}, and a constant load (all in per-unit) $$L(t)$$ \autoref{figref:l}.} \autoref{figref:l}.} \label{fig:variations} \label{fig:variations} \end{wrapfigure} \end{wrapfigure} Imagine a two-node Germany. The South can install solar panels with a capacity factor $Cf_s$ to cover its load $L_S$, while the North uses wind turbines that have a capacity factor $Cf_w$ Imagine a two-node Germany. The South can install solar panels with a capacity factor $Cf_s$ to cover its load $L^S$, while the North uses wind turbines that have a capacity factor $Cf_w$ to feed their load $L_N$. Figure \ref{fig:variations} shows approximations to the daily and synoptic variations of per-unit wind and solar power generation $$G_{N,w}(t)$$ and $$G_{S,s}(t)$$ and a constant load $$L_{N/S}(t)$$: to feed their load $L^N$. Figure \ref{fig:variations} shows approximations to the daily and synoptic variations of per-unit wind and solar power generation $$G^{N}_{w}(t)$$ and $$G^{S}_{s}(t)$$ and a constant load $$L^{N/S}(t)$$: \vspace{-0.5em} \vspace{-0.5em} \begin{align*} \begin{align*} G_{N,w}(t) & = Cf_w(1+A_w \sin \omega_w t), \\ G_{w}^N(t) & = Cf_w(1+A_w \sin \omega_w t), \\ G_{S,s}(t) & = Cf_s(1+A_s \sin \omega_s t), \\ G_{s}^S(t) & = Cf_s(1+A_s \sin \omega_s t), \\ L_{N/S}(t) & = A_{l,N/S}. L^{N/S}(t) & = A_{l}^{N/S}. \end{align*} \end{align*} The capacity factors and constants are The capacity factors and constants are \vspace{-0.25em} \vspace{-0.25em} \begin{align*} \begin{align*} A_{l,N} & = 20 \si{\giga\watt}, & A_{l,S} & = 30 \si{\giga\watt}, \\ A_{l}^{N} & = 20 \si{\giga\watt}, & A_{l}^{S} & = 30 \si{\giga\watt}, \\ Cf_w & = 0.3, & A_w & = 0.9, & \omega_w & = \frac{2\pi}{7 \text{d}}, \\ Cf_w & = 0.3, & A_w & = 0.9, & \omega_w & = \frac{2\pi}{7 \text{d}}, \\ Cf_s & = 0.12, & A_s & = 1.0, & \omega_s & = \frac{2\pi}{1 \text{d}}. \\ Cf_s & = 0.12, & A_s & = 1.0, & \omega_s & = \frac{2\pi}{1 \text{d}}. \\ \end{align*} \end{align*} \vspace{-0.3em} \vspace{-0.3em} For now, assume the stores are lossless. Losses will be considered in III.2. For now, assume the stores are lossless. Losses will be considered in Problem III.2. \begin{enumerate}[(a)] \begin{enumerate}[(a)] % (a) % (a) \item How much wind capacity $G_{N,w}$ must be installed in the North and solar capacity $G_{S,s}$ in the South? \item How much wind capacity $G^{N}_{w}$ must be installed in the North and solar capacity $G_s^S$ in the South? % (b) % (b) \item What is the amount of store and dispatch power capacity $G_{s,store}=\max(-g_s(t))$ and $G_{s,dispatch}= \max g_s(t)$ the storage units must have in the North and in the South? \item What is the amount of store and dispatch power capacity $G_{st,store}=\max(-\Delta(t))$ and $G_{st,dispatch} = \max \Delta(t)$ the storage units must have in the North and in the South to account for the mismatch $\Delta(t)=L(t)-G_{w/s}\cdot G_{w/s}(t)$? % (c) % (c) \item What is the amount of energy capacity one needs in the North and in the South? \item What is the amount of energy capacity one needs in the North and in the South? \begin{equation*} \begin{equation*} E_s = \max_t e_s(t) = \max_t \int_{0}^{t} (-g_s(t')) \;\mathrm{d}t' E_{st} = \max_t e_{st}(t) = \max_t \int_{0}^{t} -\Delta(t') \;\mathrm{d}t' \end{equation*} \end{equation*} % (d) % (d) \item Should they choose hydrogen or battery storage? And how much would it cost them with the prices in Table 1? Is the South or the North paying more for their energy? \item Should they choose hydrogen or battery storage? And how much would it cost them with the prices in Table 1? Is the South or the North paying more for their energy? % (e) \item What do you imagine would change if you considered the storage losses given in Table 1 in your results (a)-(d)? Support your statement with a graphical illustration. \item What do you imagine would change if you considered the storage losses given in Table 1 in your results (a)-(d)? Support your statement with a graphical illustration. \end{enumerate} \end{enumerate} Now we lift the restriction against transmission and allow them to bridge their 500 km separation with a transmission line. Now we lift the restriction against transmission and allow them to bridge their 500 km separation with a transmission line. \begin{enumerate}[(e)] \begin{enumerate}[(f)] % (e) % (f) \item Estimate the cost-optimal technology mix by assuming wind energy in the North is only stored in the North and solar energy in the South is likewise only stored in the South! What would happen if you dropped that assumption? \item Estimate the cost-optimal technology mix by assuming wind energy in the North is only stored in the North and solar energy in the South is likewise only stored in the South! What would happen if you dropped that assumption? \end{enumerate} \end{enumerate} ... @@ -189,7 +190,7 @@ Now we lift the restriction against transmission and allow them to bridge their ... @@ -189,7 +190,7 @@ Now we lift the restriction against transmission and allow them to bridge their Python for Power System Analysis (PyPSA) is a free software toolbox for optimising modern power systems that include features such as variable wind and solar generation, storage units, etc\.. Use the toolbox to extend on your findings in Problem III.1. Python for Power System Analysis (PyPSA) is a free software toolbox for optimising modern power systems that include features such as variable wind and solar generation, storage units, etc\.. Use the toolbox to extend on your findings in Problem III.1. \begin{enumerate}[(a)] \begin{enumerate}[(a)] \item Build a network in PyPSA with the two buses North and South and attach the load at each bus and attach the wind and solar generators with availability according to $G_{N,w}(t) = Cf_w(1+A_w\sin \omega_w t)$ and $G_{S,s}(t) = Cf_s(1+A_s\sin \omega_s t)$ for a year (you have to call \texttt{set\_snapshots} for the year) and with \texttt{p\_nom\_extendable} set to True. As help you should have a look at the minimal LOPF example\footnote{\url{https://www.pypsa.org/examples/minimal_example_lopf.html}}, understand what the components documentation\footnote{\url{https://pypsa.org/doc/components.html}} of PyPSA gives you and that you can find the underlying objective function and constraints in the LOPF documentation\footnote{\url{https://pypsa.org/doc/optimal_power_flow.html\#linear-optimal-power-flow}}. \item Build a network in PyPSA with the two buses North and South and attach the load at each bus and attach the wind and solar generators with availability according to $G^{N}_{w}(t) = Cf_w(1+A_w\sin \omega_w t)$ and $G^{S}_{s}(t) = Cf_s(1+A_s\sin \omega_s t)$ for a year (you have to call \texttt{set\_snapshots} for the year) and with \texttt{p\_nom\_extendable} set to True. As help you should have a look at the minimal LOPF example\footnote{\url{https://www.pypsa.org/examples/minimal_example_lopf.html}}, understand what the components documentation\footnote{\url{https://pypsa.org/doc/components.html}} of PyPSA gives you and that you can find the underlying objective function and constraints in the LOPF documentation\footnote{\url{https://pypsa.org/doc/optimal_power_flow.html\#linear-optimal-power-flow}}. \item Attach extendable storage units at the North and the South! The storage units have to be modelled as a \texttt{H2-bus} (a bus with \texttt{carrier='H2'}) linked to the \texttt{AC-bus} North with a \texttt{Link} where \texttt{p\_nom\_extendable=True} with the \texttt{capital\_cost} of the power capacity and an also extendable \texttt{Store} with the \texttt{capital\_cost} of the energy capacity, for instance. The losses can be set on the links as \texttt{efficiency}. \item Attach extendable storage units at the North and the South! The storage units have to be modelled as a \texttt{H2-bus} (a bus with \texttt{carrier='H2'}) linked to the \texttt{AC-bus} North with a \texttt{Link} where \texttt{p\_nom\_extendable=True} with the \texttt{capital\_cost} of the power capacity and an also extendable \texttt{Store} with the \texttt{capital\_cost} of the energy capacity, for instance. The losses can be set on the links as \texttt{efficiency}. \item Run an investment optimization by calling the \texttt{lopf} function. \item Run an investment optimization by calling the \texttt{lopf} function. \item How do your results \texttt{objective} and \texttt{{generators,stores,links}.p\_nom\_opt} compare with the results of III.1(d)? \item How do your results \texttt{objective} and \texttt{{generators,stores,links}.p\_nom\_opt} compare with the results of III.1(d)? ... ...
No preview for this file type
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment