-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault_config_grid_manage_der.yaml
212 lines (209 loc) · 8.8 KB
/
default_config_grid_manage_der.yaml
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
# 01 GeneralConfig
grid_operation_control_mode: "distributed" # Modes available: decentralised (rbc) / distributed / centralized
method: "rbc" # Control method: (1) "rbc", (2) "rlc"
deltaTime : 15 # Simulation sample time in minutes
maxTime : 180 # Total duration of the simulation
# Set the Mini Photovoltaic (MPV) Settings for Grid Analysis
mpv_settings:
mpv_flag: True # Optional flag parameter to enable/disable MPV analysis.
mpv_benchmark: "simbench" # MPV benchmarking source: (1) "mpvbench" based on real measurements,(2) "simbench" profiles customized to MPV settings, or (3) "customised" for user-defined data.
mpv_scaling: 0.60 # Scaling MPV (0.-10.0).
mpv_concentration_rate_percent: 100 # (beta) MPV Concentration rate as a percentage, ranging from 0 to 100.
mpv_inverter_apparent_power: 600 # (gamma1) Configurable apparent power maximum value of the MPV microinverter
mpv_solar_cell_capacity: 800 # (gamma2) Configurable maximum power value of the MPV solar cells
# Set the Monte Carlo Simulaton Settings
mcs_settings:
flag_monte_carlo: True # Flag to enable Monte Carlo simulation mode.
num_monte_carlo_runs: 2 # Number of Monte Carlo simulation runs (default: 2).
loc: 0.00 # The location parameter for the normal distribution (default: 0.00).
error_std_dev: 0.001 # Standard deviation for the error in simulations.
seed_value: 42 # Initial Seed Value for Monte Carlo Simulations (default: 42, range 0-100).
# Reproducibility (with fixed seed_value=42, i.e., always the same random number generator sequence)
# Stochasticity (with "flag_monte_carlo: True" the "seed_value" starts with the initial value and
# increases incrementally +1 with each new Monte Carlo simulation (given via "num_monte_carlo_runs").
# This generates different random number sequences with each call)
add_noise: True # Flag to indicate whether noise should be added to the simulation.
# 01 cfg:
cfg:
cfg_current_filename: ""
cfg_user: "config_battery_control_user.yaml"
cfg_default: "config_battery_control_default.yaml"
# 02 cfg_settings:
cfg_settings:
run_main_base_path: ""
helper_path: C:\Users\ii6824\Desktop\home\PIDE\helper
input_data_path: C:\Users\ii6824\Desktop\home\PIDE\input\data
output_data_path: C:\Users\ii6824\Desktop\home\PIDE\output\data
output_test_path: C:\Users\ii6824\Desktop\home\PIDE\test
sequence_id_path: ""
output_data_type: ""
output_file_type: ".json" # [".csv", ".xls", ".xlsx", ".json", ".p"]
input_data_type: .pickle
write_to_rawdata: False # (1): True -> YAML save, (2): False -> YAML not save
cfg_default_plot_path: default_plot_config.yaml
cfg_user_plot_path: user_plot_config_grid.yaml
# 02 DataConfig
rawdata:
benchmark: "simbench" # (1): simbench, (2): customised
grid_code: toy_grid # (1): toy_grid, (2): toy_two_bus_grid, (3): rural_grid_15
net_name: rural_grid_15
sb_code: 1-LV-rural1--0-sw
scenario: "0-today" # ("0") The name of the scenario (1):"0-today", (2):"near future", (3):"future", or (4):"customised"
valid_sb_code: ["1-LV-rural1--0-sw", "1-LV-rural2--0-sw", "1-LV-rural3--0-sw", "1-LV-semiurb4--0-sw", "1-LV-semiurb5--0-sw", "1-LV-urban6--0-sw", "Customised"]
valid_sb_base_codes: ["1-LV-rural1--{}-sw", "1-LV-rural2--{}-sw", "1-LV-rural3--{}-sw","1-LV-semiurb4--{}-sw", "1-LV-semiurb5--{}-sw", "1-LV-urban6--{}-sw"]
valid_sb_scenario: ["0-today", "1-near future", "2-future"] # (1): today, (2): near future, (3): future
valid_sb_scenario_storage: ["1-near future", "2-future"] # (1): near future, (2): future
scaling:
pv: 1.0
load: 1.0
wind: 1.0
storage: 1.0
soc_initial: 5.0 # Initial values for the state of charge of the storage (0.00-100.00).
load_case: lPV
# 03 RegulationStandardConfig (VDE/IEEE):
regulation_standard_modes: ["vde", "ieee"] #,"datasource"
standard_modes: ["deadband", "base", "a", "b", "customised"]
# 03 ControlModesConfig
control_modes:
timeseries_ctrl: "manual"
# (1): 'control_module' (PandaPower Time Series Simulation)
# (2): 'test_mode' (Test Control Rules)
# (3): 'manual' (Manual Time Series Simulation)
pv_ctrl: "constant_power_factor_active_power_ctrl"
# *(1): 'datasource' RawData
# *(2): `voltage_reactive_power_ctrl` Reactive Power-Voltage (Q(U))
# *(3): `power_factor_active_power_ctrl` Reactive Power-Active Power (Q(P))
# *(4): `constant_power_factor_active_power_ctrl` Constant Power Factor (cos phi_target,const) (constant_power_factor_active_power_ctrl name anpassen)
storage_ctrl: "datasource"
# (1): 'datasource' RawData
# (2): 'rbc_solar_battery_ctrl'
# (3): 'rbc_load_battery_ctrl'
# (4): 'rbc_load_battery_daynight_ctrl'
# (5): 'rlc_battery_ctrl'
storage_q_ctrl: "constant_power_factor_active_power_ctrl"
# *(1): 'datasource' RawData -> Q -> zero
# *(1): `voltage_reactive_power_ctrl` Reactive Power-Voltage (Q(U))
# *(2): `constant_power_factor_active_power_ctrl` Constant Power Factor (cos phi_target,const) (constant_power_factor_active_power_ctrl name anpassen)
# 04 SimulationConfig
sim:
time_mode: "manual"
# (1): "manual"
# (2): "random" (testen)
resolution: 15
# Simulation resolution, e.g., 15min -> 96 steps_per_day
episode_start_hour: 0
# Start hour of the episode (0-24).
episode_start_day: 0
# Start day of the episode (0-354).
episode_start_min_interval: 0
# Starting interval (0-3).
episode_limit: 96*3
# Maximum number of time steps in an episode.
max_iterations: 180
# Maximum number of iterations. for example: 480 =96*5= 5 days max_iterations
# 05 GridCriticalityConfig
criticality:
transformer_max: 100.00 # Maximum tolerance limit for transformer overheating
lines_max: 90.00 # Maximum tolerance limit for line congestion
v_min: 0.900 # Lower voltage failure limit
v_max: 1.100 # Upper voltage failure limit
v_min_max_delta: 0.100 # Deviation from current voltage
v_crit_lower: 0.920 # Lower critical voltage limit
v_crit_upper: 1.085 # Upper critical voltage limit
v_delta_threshold : 0.01 # Voltage difference threshold
v_max_threshold : 1.035 # Critical limit for voltage jumps for the current time interval
i_max: 0.92 # Maximum current limit for line congestion
i_min: 1.085 # Minimum current limit for line congestion
i_delta_threshold: 0.01 # Current difference threshold
i_max_threshold: 1.035 # Criticality threshold for current jumps at current time instance
#datasource:
# standard_mode: "empty"
# deadband:
# v_nom: 1.00 # Original nominal/reference voltage
# 07.1 StandardModeConfig_vde (VDE-AR-N 4105:2018-11)Status: Active Standard
vde:
standard_mode: "deadband"
deadband:
v_nom: 1.00 # Original nominal/reference voltage
v_nom_net: 1.00 # Grid nominal/reference voltage
v_1: 0.93 # "Low" (0.93)
v_2: 0.97 # "Medium_low"
v_3: 1.00 # "Medium"
v_4: 1.03 # "Medium_high"
v_5: 1.07 # "High" (1.07)
###
v_low_gain: 0.03 # 0.03
v_high_gain: 0.03 # 0.03
v_deadband_gain: 0.06 # 0.00
base:
v_nom: 1.00 # Original nominal/reference voltage
v_nom_net: 1.00 # Grid nominal/reference voltage
v_1: 0.93 # "Low" (0.93)
v_2: 1.00 # "Medium"
v_3: 1.00 # "Medium"
v_4: 1.00 # "Medium"
v_5: 1.07 # "High" (1.07)
###
v_low_gain: 0.00 # 0.00
v_high_gain: 0.00 # 0.00
v_deadband_gain: 0.00 # 0.00
# 07.2 StandardModeConfig_ieee (IEEE Std 1547-2018) Status: Active Standard
ieee:
standard_mode: "a"
a:
v_nom: 1.00 # Original nominal/reference voltage
v_nom_net: 1.00 # Grid nominal/reference voltage
v_1: 0.93 # "Low" (0.93)
v_2: 1.00 # "Medium"
v_3: 1.00 # "Medium"
v_4: 1.00 # "Medium"
v_5: 1.07 # "High" (1.07)
###
v_low_gain: 0.00 # 0.00
v_high_gain: 0.00 # 0.00
v_deadband_gain: 0.00 # 0.00
b:
v_nom: 1.00 # Original nominal/reference voltage
v_nom_net: 1.00 # Grid nominal/reference voltage
v_1: 0.93 # "Low" (0.93)
v_2: 1.00 # "Medium"
v_3: 1.00 # "Medium"
v_4: 1.00 # "Medium"
v_5: 1.07 # "High" (1.07)
###
v_low_gain: 0.00 # 0.00
v_high_gain: 0.00 # 0.00
v_deadband_gain: 0.00 # 0.00
customised:
v_nom: 1.00 # Original nominal/reference voltage
v_nom_net: 1.00 # Grid nominal/reference voltage
v_1: 0.93 # "Low" (0.93)
v_2: 1.00 # "Medium"
v_3: 1.00 # "Medium"
v_4: 1.00 # "Medium"
v_5: 1.07 # "High" (1.07)
###
v_low_gain: 0.00 # 0.00
v_high_gain: 0.00 # 0.00
v_deadband_gain: 0.00 # 0.00
# 08.1 RBCConfig
rbc:
rendering_initialized: True
alpha: 0.5
# 08.2 RLCConfig
rlc:
alg: 0.5
state_space: ["pv", "demand", "reactive", "vm_pu", "va_degree"]
voltage_barrier_type: "l1" # "l1", "l2", "bowl", "courant_beltrami", "bump"
voltage_weight: 1.0
q_weight: 0.1
line_weight: null
dq_dv_weight: null
history: 1
pv_scale: 1.0
demand_scale: 1.0
state_space: ["pv", "demand", "reactive", "vm_pu", "va_degree"]
action_scale: 0.8
action_bias: 0
mode: null # distributed / decentralised
reset_action: True