/
dcline.rst
86 lines (62 loc) · 2.1 KB
/
dcline.rst
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
.. _dcline:
=============
DC Line
=============
.. seealso::
:ref:`Unit Systems and Conventions <conventions>`
Create Function
=====================
.. autofunction:: pandapower.create_dcline
Input Parameters
=====================
*net.dcline*
.. tabularcolumns:: |p{0.10\linewidth}|p{0.1\linewidth}|p{0.25\linewidth}|p{0.4\linewidth}|
.. csv-table::
:file: dcline_par.csv
:delim: ;
:widths: 10, 10, 25, 40
.. |br| raw:: html
<br />
\*necessary for executing a power flow calculation |br| \*\*optimal power flow parameter
.. note::
DC line is only able to model one-directional loadflow for now, which is why p_mw / max_p_mw have to be > 0.
Electric Model
=================
A DC line is modelled as two generators in the loadflow:
.. image:: dcline1.png
:width: 20em
:alt: alternate Text
:align: center
.. image:: dcline2.png
:width: 20em
:alt: alternate Text
:align: center
The active power at the from side is defined by the parameters in the dcline table. The active power at the to side is equal to the active power on the from side minus the losses of the DC line.
.. math::
:nowrap:
\begin{align*}
P_{from} &= p\_mw \\
P_{to} &= - (p\_mw - loss\_mw) \cdot (1 - \frac{loss\_percent}{100})
\end{align*}
The voltage control with reactive power works just as described for the generator model. Maximum and Minimum reactive power limits are considered in the OPF, and in the PF if it is run with enforce_q_lims=True.
Result Parameters
==========================
*net.res_dcline*
.. tabularcolumns:: |p{0.10\linewidth}|p{0.10\linewidth}|p{0.50\linewidth}|
.. csv-table::
:file: dcline_res.csv
:delim: ;
:widths: 10, 10, 50
.. math::
:nowrap:
\begin{align*}
p\_from\_mw &= P_{from} \\
p\_to\_mw &= P_{to} \\
pl\_mw &= p\_from\_mw + p\_to\_mw \\
q\_from\_mvar &= Q_{from} \\
q\_to\_mvar &= Q_{to} \\
va\_from\_degree &= \angle \underline{v}_{from} \\
va\_to\_degree &= \angle \underline{v}_{to} \\
vm\_from\_degree &= |\underline{v}_{from}| \\
vm\_to\_degree &= |\underline{v}_{to}| \\
\end{align*}