Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
European LV distribution grid example #96
- Loading branch information
1 parent
98591e8
commit 24eb90b
Showing
15 changed files
with
8,805 additions
and
10 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
1,876 changes: 1,876 additions & 0 deletions
1,876
pandapower/networks/IEEE_European_LV_Off_Peak_end.json
Large diffs are not rendered by default.
Oops, something went wrong.
1,876 changes: 1,876 additions & 0 deletions
1,876
pandapower/networks/IEEE_European_LV_Off_Peak_start.json
Large diffs are not rendered by default.
Oops, something went wrong.
1,876 changes: 1,876 additions & 0 deletions
1,876
pandapower/networks/IEEE_European_LV_On_Peak_mid.json
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# -*- coding: utf-8 -*- | ||
""" | ||
Created on Wed Aug 28 12:15:13 2019 | ||
@author: uk067483 | ||
""" | ||
|
||
import os | ||
import pandapower as pp | ||
from pandapower.pf.runpp_3ph import runpp_3ph | ||
from pandapower import pp_dir | ||
|
||
|
||
def ieee_european_lv_asymmetric(scenario="on_mid"): | ||
""" | ||
Loads the IEEE European LV network, a generic 0.416 kV network serviced by one 0.8 MVA MV/LV transformer | ||
station. The network supplies 906 LV buses and 55 1-PH loads | ||
The network layout is mostly radial | ||
The network can be loaded with three different scenarios for On-Peak and Off-Peak load | ||
which are defined by scaling factors for loads / generators . | ||
These scenarios are a good starting point for working with this | ||
network, but you are of course free to parametrize the network for your use case. | ||
The network also includes geographical information of lines and buses for plotting. | ||
OPTIONAL: | ||
**scenario** - (str, "on_mid"): defines the scaling for load and generation | ||
- "on_mid": high load scenario | ||
- "off_start": low load scenario at 12:01 AM | ||
- "off_end": low load scenario at mignight | ||
OUTPUT: | ||
**net** - pandapower network | ||
EXAMPLE: | ||
import pandapower.networks | ||
net = pandapower.networks.ieee_european_lv_asymmetric("off_start") | ||
""" | ||
if scenario == "on_mid": | ||
net = pp.from_json(os.path.join(pp_dir, "networks", "IEEE_European_LV_On_Peak_mid.json")) | ||
elif scenario == "off_start": | ||
net = pp.from_json(os.path.join(pp_dir, "networks", "IEEE_European_LV_Off_Peak_start.json")) | ||
elif scenario == "off_end": | ||
net = pp.from_json(os.path.join(pp_dir, "networks", "IEEE_European_LV_Off_Peak_end.json")) | ||
else: | ||
raise ValueError("Unknown scenario %s - chose 'on_mid' or 'off_start' or 'off_start'" % scenario) | ||
|
||
runpp_3ph(net) | ||
return net |
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
Large diffs are not rendered by default.
Oops, something went wrong.
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.