/
sgen.rst
74 lines (48 loc) · 1.85 KB
/
sgen.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
==================
Static Generator
==================
.. note::
Static generators should always have a positive p_mw value, since all power values are given in the generator convention. If you want to model constant power consumption, it is recommended to use a load element instead of a static generator with negative active power value.
If you want to model a voltage controlled generator, use the generator element.
.. seealso::
:ref:`Unit Systems and Conventions <conventions>`
Create Function
=====================
.. autofunction:: pandapower.create_sgen
.. autofunction:: pandapower.create_sgen_from_cosphi
Input Parameters
=====================
*net.sgen*
.. tabularcolumns:: |p{0.10\linewidth}|p{0.10\linewidth}|p{0.25\linewidth}|p{0.40\linewidth}|
.. csv-table::
:file: sgen_par.csv
:delim: ;
:widths: 10, 10, 25, 40
.. |br| raw:: html
<br />
\*necessary for executing a power flow calculation |br| \*\*optimal power flow parameter
Electric Model
=================
Static Generators are modelled as PQ-buses in the power flow calculation:
.. image:: pq.png
:width: 8em
:alt: alternate Text
:align: center
The PQ-Values are calculated from the parameter table values as:
.. math::
:nowrap:
\begin{align*}
P_{sgen} &= p\_mw \cdot scaling \\
Q_{sgen} &= q\_mvar \cdot scaling \\
\end{align*}
.. note::
The apparent power value sn_mva is provided as additional information for usage in controller or other applications based on panadapower. It is not considered in the power flow!
Result Parameters
==========================
*net.res_sgen*
.. tabularcolumns:: |p{0.10\linewidth}|p{0.10\linewidth}|p{0.50\linewidth}|
.. csv-table::
:file: sgen_res.csv
:delim: ;
:widths: 10, 10, 50
The power values in the net.res_sgen table are equivalent to :math:`P_{sgen}` and :math:`Q_{sgen}`.