forked from e2nIEE/pandapower
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' of gitlab:pp/pandapower into develop
# Conflicts: # pandapower/opf/make_objective.py # pandapower/test/opf/test_basic.py
- Loading branch information
Showing
34 changed files
with
489 additions
and
215 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
*.pyc | ||
*~ | ||
build/ | ||
.pytest_cache/ | ||
dist/ | ||
.cache/ | ||
.idea | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
include LICENSE AUTHORS README.rst requirements.txt CHANGELOG.rst | ||
global-include *.p | ||
global-include *.mat | ||
global-include *.json | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,18 @@ | ||
Citing pandapower | ||
================== | ||
|
||
We are currently working on publishing a paper about pandapower, which is available as a `preprint on arxiv <https://arxiv.org/abs/1709.06743>`_. | ||
Until the paper has passed peer-review, please acknowledge the usage of pandapower in your paper as follows: :: | ||
|
||
@online{pandapower, | ||
author = {{Thurner}, L. and {Scheidler}, A. and {Sch{\"a}fer}, F. and {Menke}, J.-H. and {Dollichon}, J. and {Meier}, F. and {Meinecke}, S. and {Braun}, M.}, | ||
title = "{pandapower - an Open Source Python Tool for Convenient Modeling, Analysis and Optimization of Electric Power Systems}", | ||
year = 2017, | ||
url = {https://arxiv.org/abs/1709.06743}, | ||
note = {preprint} | ||
} | ||
A paper describing pandapower has been accepted for publication in IEEE Transaction on Power Systems, a preprint of this paper is available on `arXiv <https://arxiv.org/abs/1709.06743>`_. Please acknowledge the usage of pandapower by citing the Paper as follows: | ||
|
||
- **L. Thurner, A. Scheidler, F. Schäfer et al**, `pandapower - an Open Source Python Tool for Convenient Modeling, Analysis and Optimization of Electric Power Systems <https://arxiv.org/abs/1709.06743>`_, IEEE Transactions on Power Systems, `DOI:10.1109/TPWRS.2018.2829021 <https://doi.org/10.1109/TPWRS.2018.2829021>`_, 2018. | ||
|
||
You can use the following BibTex entry: :: | ||
|
||
@ARTICLE{pandapower.2018, | ||
author={L. Thurner and A. Scheidler and F. Schafer and J. H. Menke and J. Dollichon and F. Meier and S. Meinecke and M. Braun}, | ||
journal={IEEE Transactions on Power Systems}, | ||
title={pandapower - an Open Source Python Tool for Convenient Modeling, Analysis and Optimization of Electric Power Systems}, | ||
year={2018}, | ||
doi={10.1109/TPWRS.2018.2829021}, | ||
url={https://arxiv.org/abs/1709.06743}, | ||
ISSN={0885-8950} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
================== | ||
Storage | ||
================== | ||
|
||
.. seealso:: | ||
:ref:`Unit Systems and Conventions <conventions>` | ||
|
||
Create Function | ||
===================== | ||
|
||
.. autofunction:: pandapower.create_storage | ||
|
||
Input Parameters | ||
===================== | ||
|
||
*net.storage* | ||
|
||
.. tabularcolumns:: |p{0.10\linewidth}|p{0.10\linewidth}|p{0.25\linewidth}|p{0.40\linewidth}| | ||
.. csv-table:: | ||
:file: storage_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 | ||
================= | ||
|
||
Storages are modelled as PQ-buses in the power flow calculation: | ||
|
||
.. image:: storage.png | ||
:width: 8em | ||
:alt: alternate Text | ||
:align: center | ||
|
||
The PQ-Values are calculated from the parameter table values as: | ||
|
||
.. math:: | ||
:nowrap: | ||
\begin{align*} | ||
P_{storage} &= p\_kw \cdot scaling \\ | ||
Q_{storage} &= q\_kvar \cdot scaling \\ | ||
\end{align*} | ||
.. note:: | ||
|
||
Since all power values are given in the consumer system, negative power models charging and positive activee power models discharging. | ||
|
||
.. note:: | ||
|
||
The apparent power value sn_kva, state of charge soc and storage capacity max_e_kwh are 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_storage* | ||
|
||
.. tabularcolumns:: |p{0.10\linewidth}|p{0.10\linewidth}|p{0.50\linewidth}| | ||
.. csv-table:: | ||
:file: storage_res.csv | ||
:delim: ; | ||
:widths: 10, 10, 50 | ||
|
||
The power values in the net.res_storage table are equivalent to :math:`P_{storage}` and :math:`Q_{storage}`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
**Parameter**;**Datatype**;**Value Range**;**Explanation** | ||
name;string;;name of the storage unit | ||
bus*;integer;;index of connected bus | ||
p_kw*;float;:math:`\leq` 0;Momentary real power of the storage (positive for charging, negative for discharging) | ||
q_kvar*;float;;Reactive power of the storage [kVar] | ||
sn_kva;float;:math:`>` 0;Nominal power ot the storage [kVA] | ||
scaling*;float;:math:`\geq` 0;scaling factor for the active and reactive power | ||
max_e_kwh ;float;;The maximum energy content of the storage (maximum charge level) | ||
min_e_kwh ;float;;The minimum energy content of the storage (minimum charge level) | ||
max_p_kw**;float;;Maximum active power | ||
min_p_kw**;float;;Minimum active power | ||
max_q_kvar**;float;;Maximum reactive power | ||
min_q_kvar**;float;;Minimum reactive power | ||
controllable**;bool;;States if sgen is controllable or not, sgen will not be used as a flexibilty if it is not controllable | ||
in_service*;boolean;True / False;specifies if the generator is in service. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
**Parameter**;**Datatype**;**Explanation** | ||
p_kw;float;resulting active power after scaling [kW] | ||
q_kvar;float;resulting reactive power after scaling [kVar] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
__version__ = "1.4.3" | ||
__version__ = "1.5.0" | ||
|
||
from pandapower.auxiliary import * | ||
from pandapower.create import * | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.