Grid reinforcement
In plain terms
Reinforcement (grid expansion) is eDisGo’s answer to the question “what does it cost to make this grid handle the load and generation?”. It looks for lines and transformers that are overloaded and buses whose voltage is out of bounds, then applies the measures a German distribution grid operator would typically use (parallel cables, bigger/extra transformers, split feeders) until all problems are solved — and reports the cost.
Which function to use
There is one reinforcement algorithm,
reinforce_grid(), and two ways of running it
more robustly. All three use the same checks and the same measures; the robust
variants only add fallbacks for grids in which the power flow does not converge, and
enhanced_reinforce_grid() adds two measures of
its own.
In the table, standard is reinforce(), catch is
reinforce(catch_convergence_problems=True) and enhanced is
enhanced_reinforce_grid().
What is done |
standard |
catch |
enhanced |
|---|---|---|---|
Measures for overloading and voltage issues |
yes |
yes |
yes |
Parallel lines when a split diverges |
yes |
yes |
yes |
Converging time steps first, scaling |
– |
yes |
yes |
Level by level, LV grid by LV grid |
– |
– |
yes |
Separation of overloaded LV grids |
– |
– |
yes |
Cost-distorting last resort |
– |
– |
optional |
The rows are explained in Standard reinforcement: reinforce() (measures),
When the split line is weaker than the bypassed path (parallel lines when the power flow does not converge
after a split), Non-converging power flow: catch_convergence_problems, Enhanced reinforcement: enhanced_reinforce_grid(),
Separating overloaded LV grids (on by default, separate_lv_grids) and
Cost-distorting last resort (only with activate_cost_results_disturbing_mode=True).
The presets of the run pipeline (edisgo.run) call
reinforce(), some of them with
catch_convergence_problems=True.
enhanced_reinforce_grid() is used neither by
the run pipeline nor by eGo; it has to be called directly.
Standard reinforcement: reinforce()
Reinforcement is orchestrated by
reinforce_grid() (exposed as
reinforce()). It runs the following measures in order:
Reinforce stations and lines due to overloading.
Reinforce MV lines due to voltage issues.
Reinforce distribution substations (MV/LV stations) due to voltage issues.
Reinforce LV lines due to voltage issues.
Reinforce stations and lines due to overloading again — the lower impedance created by the voltage measures can produce new overloads.
Fig. 2 Grid reinforcement measures and the order in which issues are identified and solved.
Overloading is usually fixed in a single step. Voltage issues can only be solved
iteratively: after each measure a power flow is run and the voltages are
re-checked, up to max_while_iterations times (default 20). If an issue remains
after that, MaximumIterationError is raised.
Click a step to see what is checked and which function applies the measure. The
second tab shows the steps of
enhanced_reinforce_grid(), see
Enhanced reinforcement: enhanced_reinforce_grid().
Click a step to see what is checked, which function applies the measure and which settings matter.
Useful options of reinforce():
copy_grid=True— compute the needs without changing the grid topology.mode— restrict to"mv","mvlv"or"lv".split_voltage_band— split the allowed voltage band between the voltage levels MV, MV/LV stations and LV (defaultTrue; see below).reduced_analysis— only analyse the most critical time steps to save time.catch_convergence_problems=True— handle a power flow that does not converge, see Non-converging power flow: catch_convergence_problems.choose_cheaper_voltage_measure=True— split a feeder due to voltage issues only if this is cheaper than reinforcing the lines on the path, see cheaper-voltage-measure.
Identifying problems
Constraint checking lives in
check_tech_constraints.
Overloading is determined from allowed load factors
(config_grid_expansion, section grid_expansion_load_factors). These factors
can differ between load and feed-in case (Load case and feed-in case), but for normal
operation they all default to 1.0; case-dependent factors (e.g. 0.5 for the MV load
case) exist only in the currently unusable n-1 section.
Lines:
mv_line_max_relative_overload()andlv_line_max_relative_overload()return lines whose relative loading exceeds 1.0. The allowed and relative loads are computed bylines_allowed_load()andlines_relative_load(). The allowed current uses the manufacturer’sI_max_th(tables LV cables, MV cables, MV overhead lines).Stations:
hv_mv_station_max_overload()andmv_lv_station_max_overload()use the transformer ratingS_nom(tables LV transformers, MV transformers);stations_relative_load()gives the relative loading.
Voltage problems are determined by
voltage_issues() against the allowed
deviations in config_grid_expansion (section
grid_expansion_allowed_voltage_deviations). With split_voltage_band=True
(default) the band is split between MV, MV/LV stations and LV, which get separate
limits — a combined limit can leave almost no room in the LV grids when the MV
deviation is already close to the limit.
voltage_deviation_from_allowed_voltage_limits()
returns the absolute deviations.
With the default settings the allowed voltage drop in the load case is split as follows. The voltage rise in the feed-in case is split into the same levels with other limits: 5 % MV, 1.5 % MV/LV station and 3.5 % LV.
Level |
Allowed drop |
Relative to |
|---|---|---|
MV buses |
1.5 % |
HV/MV station |
MV/LV stations |
2 % |
station, MV side |
LV buses |
6.5 % |
station, LV side |
all, without split |
10 % |
1 p.u. |
The values are mv_max_v_drop, mv_lv_station_max_v_drop and lv_max_v_drop.
The HV/MV station voltage is 1 p.u. plus hv_mv_trafo_offset, narrowed by
hv_mv_trafo_control_deviation (both 0 by default). Without the split, the limits are
fixed at 0.9 and 1.1 p.u.
Move the sliders to set the voltage drop in each level and switch between both modes. The example shows the load case, i.e. the voltage drop; shaded areas are below the allowed voltage.
Physics
Loading / current. A line’s apparent power must stay below \(S_\text{allowed} = S_\text{nom}\cdot \text{load factor}\), with the current \(I = S / (\sqrt{3}\,V)\). A transformer’s loading uses \(S = \sqrt{P^2 + Q^2} \le S_\text{nom}\cdot \text{load factor}\).
Voltage. The voltage deviation along a feeder is approximately \(\Delta V \approx I\,Z\) (with line impedance \(Z = R + \mathrm{j}X\)). The configured allowed deviations follow DIN EN 50160 (combined ±10 %) and VDE-AR-N 4105 (LV voltage drop); the component-connection limits in
config_gridadditionally reference VDE-AR-N 4100/4110. Reinforcement reduces \(\Delta V\) either by lowering \(Z\) (parallel lines, shorter feeders) or by adding transformer capacity.
Reinforcement measures
Measures are implemented in reinforce_measures.
Lines due to overloading
reinforce_lines_overloading() decides per
line up front, in three cases:
Lines that are already of standard type get as many additional parallel standard lines as needed: \(\lceil \text{overload} \cdot n \rceil\) lines in total for \(n\) existing lines.
Single-circuit cables with a relative overload below 2 get one parallel line of the same type, which doubles their capacity.
All other lines, i.e. overhead lines, lines with several systems and cables with an overload of 2 or more, are replaced by \(\lceil S_\text{nom,old} \cdot \text{overload} / S_\text{nom,standard} \rceil\) parallel standard lines.
The relative overload is the largest ratio of current to allowed current over all analysed time steps. One step solves the overload of the analysed time steps; the loop only repeats if the changed impedances create new overloads elsewhere.
Choose a line and an overload to see which case applies, the result and its cost.
Equipment data from equipment-parameters_LV_cables.csv, …_MV_cables.csv and …_MV_overhead_lines.csv (20 kV); costs from costs_cables for rural areas. The relative overload is the largest current over the allowed current of all analysed time steps.
Stations due to overloading
reinforce_hv_mv_station_overloading()
and reinforce_mv_lv_station_overloading()
compare the missing power \(S_\text{missing}\) with the existing transformers:
If the largest existing transformer is at least \(S_\text{missing}\), a copy of the smallest existing transformer that covers \(S_\text{missing}\) is added.
Otherwise, all existing transformers are replaced by \(\lceil (S_\text{missing} + \sum S_\text{nom}) / S_\text{nom,standard} \rceil\) standard transformers (
hv_mv_transformer,mv_lv_transformer).
Choose the existing transformers and move the peak load, the largest residual apparent power (load minus generation) of the station, to see which measure applies.
MV/LV transformers from equipment-parameters_LV_transformers.csv, standard transformer 630 kVA (mv_lv_transformer), 10 kEUR per transformer (costs_transformers.lv), load factor 1.0. HV/MV stations work the same way with the 40 MVA standard transformer.
MV/LV stations due to voltage issues
reinforce_mv_lv_station_voltage_issues()
installs a parallel standard transformer at every station whose voltage difference
between primary and secondary side exceeds the allowed value, re-runs the power flow
and repeats until the voltage is within limits or the iteration limit is reached. A
parallel transformer lowers the impedance of the station and with it the voltage
difference across it.
Lines due to voltage issues
reinforce_lines_voltage_issues()
addresses, per feeder, the critical node farthest from the station (by path
length). Only one voltage problem per feeder is treated per iteration, because each
measure affects the whole feeder. There are two measures:
the feeder is split and its rear part is connected to the station by a new line (Splitting a feeder), or,
if the node at two thirds of the path is already directly connected to the station, so there is nothing to split, the lines on the path to the critical node are reinforced (Reinforcing lines on the path to the critical node).
By default, the feeder is always split if possible. With
choose_cheaper_voltage_measure=True in reinforce(),
the costs of both measures are compared first and the cheaper one is applied:
the split costs the new standard line, cable and earthwork, over the length of the path to the split node;
the path reinforcement costs the lines that Reinforcing lines on the path to the critical node would reinforce to reduce \(\sum r \cdot I\) by the full share, not only by the half that is reinforced per iteration, as a split usually solves the voltage issue at once. If even reinforcing the path that far does not reach the full share, the feeder is split.
This avoids e.g. splitting a feeder and installing a long new line where replacing a single short, thin cable on the path would solve the voltage issue (openego/eDisGo#781). Whether the split solves the voltage issue is not estimated.
In LV grids, the feeder is only split outside buildings, and house connections, the lines to buses in buildings, are never reinforced due to voltage issues. House connections often do not belong to the grid operator, and as short lines they would otherwise look like the cheapest measure.
Both measures are rules of thumb; what they cannot do is summarised in Limits of line reinforcement due to voltage issues.
The example below runs the iterations on three small LV feeders. Choose a feeder,
change the load, switch choose_cheaper_voltage_measure and step through the
iterations; the final costs of both settings are shown side by side. It uses a
simplified model (resistance only, \(\cos\varphi = 1\)) and the default
configuration values. The log names the measures with the terms share and
\(\sum r \cdot I\), which are explained in Reinforcing lines on the path to the critical node. The next
section shows the split with a full power flow.
Simplified model: resistance only, cos φ = 1, load case, 6.5 % allowed drop, rural costs (60 kEUR/km incl. earthwork, 9 kEUR/km per additional cable). The selection logic follows reinforce_lines_voltage_issues; eDisGo runs a full power flow after every iteration.
Splitting a feeder
Find the split node. It is the first node on the path to the critical node at or beyond two thirds of the path length. In LV grids it is moved back towards the station until it lies outside a building, as loads and generators in buildings cannot be connected to the station directly. In MV grids it is moved forward to the next LV station, as only LV stations have the switch disconnectors needed to operate the feeder as a half ring; if there is none up to the critical node, the critical node itself is connected to the station.
Connect it to the station. The line ending at the split node, the split line, is disconnected from its predecessor and connected to the station. It becomes one standard line (
lv_line,mv_line_10kvormv_line_20kvin config_grid_expansion) with the length of the path from the station to the split node, i.e. the new cable is assumed to be laid along the existing route. The split node and everything behind it now form a feeder of their own. The front part keeps its lines but no longer carries the load behind the split.Run the power flow. After all feeders with voltage issues are treated, the power flow is repeated and the voltages are checked again. If it does not converge, see When the split line is weaker than the bypassed path.
Note
The MV line reinforcement that splits a feeder with voltage issues at an LV
station does not insert a switch disconnector at the split point
(reinforce_lines_voltage_issues()), so
the resulting half-rings are not switchable in the model. See
Switches for the role of switch disconnectors in reinforcement.
The two thirds come from the distribution grid study of Baden-Württemberg ([BW]). For a uniformly loaded feeder of length \(L\) that is split at \(a\) and fed again by a new line of the same type, the voltage drop at the end of the front part is proportional to \(a^2/2\) and at the end of the rear part to \((L^2 - a^2)/2\). The larger of the two is smallest where both are equal, at \(a = L/\sqrt{2} \approx 0.71\,L\); two thirds is an approximation of this.
When the split line is weaker than the bypassed path
The split line replaces the path from the station to the split node for everything behind the split. Usually the old path consists of thinner or older cables, and the standard line has a lower resistance. If the path is built from thicker or parallel cables, the split line can have a higher resistance than the path it bypasses, while it carries the whole load behind the split.
Then the voltage behind the split gets worse instead of better, and with enough load the power flow has no solution at all, because a line can transfer only a limited power to its end. For a purely resistive line with the voltage \(U\) at the station this limit is
reached when half of the voltage drops along the line; beyond it, a larger current reduces the voltage more than it increases the power. Reactive power lowers the limit further. The Newton-Raphson power flow then does not converge.
So that reinforcement does not abort in this case, the following is done if the power
flow after a reinforcement step due to voltage issues does not converge and feeders
were split in that step (_analyze_after_voltage_reinforcement in
reinforce_grid):
Find the grids that cause it. Every LV grid with split lines is analysed on its own (
mode="lv", only the time steps that did not converge). This finds the few LV grids without a solution among the many reinforced in one step. If all split lines are in one grid, e.g. the MV grid, this check is skipped.Add a parallel line to the split lines of the LV grids that do not converge on their own, or to all split lines of the step if every LV grid converges on its own or the check was skipped.
Repeat the power flow with the same settings as the reinforcement step. If it still does not converge, steps 1 and 2 are repeated for the split lines that got a parallel line, in up to four rounds, i.e. at most four additional lines per split line. After that, the power flow error is raised.
The added lines are written to equipment_changes and are part of the costs. In
grids whose power flow converges after the split, nothing changes.
The example below shows an LV feeder with six lines in two variants: older, thinner
cables, where the split works as intended, and a feeder with a thick first section,
in which L1 has five parallel NAYY 4x1x150 and L2 and L3 have two parallel
NAYY 4x1x300 each, modelled on a real LV grid after spatial complexity reduction.
Loads have a \(\cos\varphi\) of
about 0.95, the allowed voltage drop is 6.5 % (lv_max_v_drop with
split_voltage_band=True), and the voltages come from a Newton-Raphson power flow
of the example feeder.
Select a variant and move the slider to go through the split step by step. The lower chart shows the voltage drop at the end of the feeder for increasing load behind the split node; a curve ends where the power flow has no solution.
Fig. 3 Split of the feeder with a thick first section. (a) B3 to B6 exceed the allowed voltage drop; the split node is B3, the first bus beyond two thirds of the path to B6. (b) L3 is connected to the station as a 0.78 km standard line. With one line (0.161 Ω instead of 0.036 Ω for the bypassed path) the power flow has no solution: at most 187 kW can be supplied behind B3, which has 214 kW. (c) With a second, parallel line the power flow converges, but the voltage drop at B6 is larger than before the split. (d) Voltage drop at B6 over the load behind B3; each curve ends at the largest load for which a power flow solution exists.
In this example, the split with two parallel lines makes the voltage at B6 worse than before. The next iteration treats the new feeder: its node at two thirds is B3, which is now directly connected to the station, so the lines on the path are reinforced as described in the next section.
Reinforcing lines on the path to the critical node
The split node at two thirds of the path is often the first node of the feeder, for
example when an earlier iteration split the feeder and installed a long new line from
the station. Then no line can be split and the lines on the path from the station to
the critical node are reinforced. In every iteration of the grid reinforcement, the
helper _reinforce_lines_on_path in
reinforce_measures does the following for all lines on the
path except house connections:
Estimate how much needs to be removed. The voltage deviation at the critical node is divided by the voltage difference between station and critical node:
\[\mathit{share} = \frac{\Delta u_\mathrm{deviation}}{|u_\mathrm{node} - u_\mathrm{station}|}\]Set the target. The voltage difference along the path is estimated as \(\sum_i r_i \cdot I_i\), the resistance times the current of each line on the path at the time step of the voltage issue. It is to be reduced by \(share / 2\). Only half of the share is used, because using the full share led to more reinforcement than needed in the test grids. Remaining voltage issues are handled in the next iteration, after a new power flow.
Reinforce one line at a time. For every line on the path, the reduction of \(r \cdot I\) and the cost of the possible measure are calculated:
a line of standard type gets one more parallel line, which reduces its resistance from \(r\) to \(r \cdot n / (n + 1)\) for \(n\) parallel lines,
any other line is replaced by one standard line, unless this would increase its resistance, e.g. because it has a larger cross section than the standard line. In that case it gets a parallel line of the same type.
The cost of a measure is the cost of the new cable plus the earthwork, if the line was not reinforced before. Earthwork is paid only once per line (see Grid-expansion costs), so another parallel line on an already reinforced line is cheaper than reinforcing a new one. The measure with the largest reduction of \(r \cdot I\) per cost is applied, until the target is reached.
The example below shows a 10 kV feeder with five lines. A generator at B5 and a PV plant at B3 raise the voltage at all buses above the allowed 5 %. The current on L1 to L3 is 1.4 times the current on L4 and L5, because the PV plant feeds in at B3. The example uses a simplified model in which the voltage rise is proportional to \(\sum r \cdot I\) and costs follow the default costs for rural MV cables (60 kEUR/km earthwork, 20 kEUR/km cable); eDisGo itself runs a power flow after every iteration.
Move the slider to go through the reinforcement measure by measure. The table shows, for every line, the measure that would be applied, its reduction of \(r \cdot I\) and its costs. The highlighted row is the chosen measure.
Fig. 4 Reinforcement of the example feeder. In the first iteration, the overhead lines L4 and L5 are replaced by standard lines and then get a second, parallel standard line, which is cheap because the earthwork is already paid. In the second iteration L1, which carries the highest current, gets a parallel line. L2 and L3 are not changed, as a standard line would increase their resistance.
Limits of line reinforcement due to voltage issues
Both measures follow rules of thumb of grid planning and are corrected by the power flow of the next iteration; they are not optimised. This keeps reinforcement fast and close to what a grid operator would do, but has limits:
Splitting is not compared with other measures by default. If the node at two thirds can be split, the feeder is split, even where replacing a single short, thin cable on the path would be much cheaper. With
choose_cheaper_voltage_measure=Truethe costs are compared, but only by the costs of the measures, not by whether the split solves the voltage issue (see cheaper-voltage-measure).House connections are never reinforced due to voltage issues. If a voltage issue is caused mainly by a long house connection, reinforcing the other lines on the path cannot solve it, and the reinforcement ends with
MaximumIterationError. In the ding0 test grids, house connections are at most 33 m long.The split node only depends on the path length. Loads and line types are not considered. With unevenly distributed loads, or in grids reduced by the spatial complexity reduction with few buses per feeder, the bus after two thirds can carry most of the load of the feeder.
The split line is not compared with the bypassed path. It is always one standard line. Where the path is thicker or has parallel lines, the voltage behind the split gets worse, also when the power flow still converges. This is not detected as such; it shows up as a voltage issue in the next iteration and is then solved by reinforcing the lines on the path, which can cost more than reinforcing the old path directly would have.
Parallel lines after a non-converging power flow restore convergence, they do not size the line. The smallest number of lines with which the power flow converges is installed, not the number that solves the voltage issue. In the example with a thick first section (When the split line is weaker than the bypassed path), the voltage drop at B6 with two lines is 23 % instead of 14 % before the split.
LV grids are checked on their own, with the slack at the secondary side of the MV/LV station. If the power flow of the whole grid does not converge although each LV grid converges on its own, the cause cannot be attributed, and all split lines of the step get a parallel line, more than needed. Split lines in the MV grid always get one. The check costs one power flow per LV grid with split lines.
The cause of a non-converging power flow is not checked. If feeders were split in the step, up to four parallel lines are added to them before the error is raised, even if the power flow does not converge for another reason.
The loading of the split line is not checked when splitting. An overloaded split line is reinforced in the final step due to overloading (see Standard reinforcement: reinforce()).
The split line follows the existing route. Its length, and therefore its cost, is the length of the path to the split node; a shorter route is not searched for. In MV grids no switch disconnector is inserted at the split node (see the note in Splitting a feeder).
Path reinforcement uses a linear estimate. The voltage difference along the path is estimated as \(\sum r \cdot I\) with the currents of one time step, the one with the largest deviation at the critical node, before reinforcement. Reactance and the change of the currents by the reinforcement are neglected, and the factor of one half on the share is empirical (see Reinforcing lines on the path to the critical node).
Non-converging power flow: catch_convergence_problems
With catch_convergence_problems=True, reinforce()
runs catch_convergence_reinforce_grid(). It
uses the standard reinforcement unchanged and only reacts when the power flow does not
converge:
Try the standard reinforcement with all time steps.
Reinforce with the converging time steps only, then try again with the time steps that did not converge at first, as the grid is now stronger.
Scale the time series if some time steps still do not converge: load and feed-in are scaled down, starting from a factor of 0.05, the grid is reinforced and the factor is increased step by step until the original time series are reached, in up to 10 iterations.
It only catches a power flow that does not converge. A voltage issue or overload that
the measures cannot solve still ends with
MaximumIterationError.
Enhanced reinforcement: enhanced_reinforce_grid()
On very large or heavily overloaded grids even
catch_convergence_problems=True can fail to find a feasible grid.
enhanced_reinforce_grid() is a more robust
wrapper that reinforces voltage level by voltage level and falls back to ever
more drastic measures until a grid is found on which the power flow converges:
Separate heavily overloaded LV grids (if
separate_lv_grids=True, default). An LV grid whose largest residual apparent power (load minus generation and storage) exceedsseparation_thresholdtimes the nominal apparent power of its MV/LV transformer(s) is split by adding a new MV/LV station, see Separating overloaded LV grids.Reinforce each LV grid on its own. If a single LV grid does not converge in the power flow, it is separated first (Separating overloaded LV grids) and then reinforced.
Reinforce everything at once. If that fails, it runs, in sequence (each step is attempted regardless of whether the previous one succeeded), the MV level only, then MV + MV/LV stations (
mode="mvlv"), then each LV grid separately (again splitting any that do not converge).Cost-distorting last resort (only if
activate_cost_results_disturbing_mode=True), see Cost-distorting last resort.A final full reinforcement is run over the now-feasible grid. Note that the fallback sequence in step 3, the cost-distorting measures in step 4 and this final reinforcement only run if the “everything at once” attempt at the start of step 3 fails; if it converges right away, the function returns at that point.
All calls of reinforce() inside use
catch_convergence_problems=True, so everything described in
Standard reinforcement: reinforce() and Non-converging power flow: catch_convergence_problems applies to each of them.
Use it when reinforce() with
catch_convergence_problems=True still raises convergence or iteration errors; for
well-behaved grids the standard reinforcement is sufficient.
Measures used only by enhanced_reinforce_grid()
Two measures are not part of the standard reinforcement and are only applied by
enhanced_reinforce_grid().
Separating overloaded LV grids
separate_lv_grid() splits a heavily
overloaded LV grid by adding a new MV/LV station at the location of the existing one.
reinforce() never does this. It is only used inside
enhanced_reinforce_grid(): in its first step
through run_separate_lv_grids(), which
separates every LV grid whose largest residual apparent power (load minus generation
and storage) exceeds separation_threshold (default 2) times the rated power of its
transformers, and later for every LV grid whose power flow does not converge.
Feeders are treated from the one with the fewest buses to the one with the most. For each feeder the bus at half of the path length to its last bus is found; like the split node above, it is moved towards the station until it lies outside a building.
The rear half moves to the new grid. The line ending at that bus is removed, and the bus and everything behind it are connected to the new station by a new line of the length of the old path. The new line is of the standard type, with as many parallel lines as needed to be at least as strong (\(S_\text{nom}\)) as the line it replaces, so the separation does not create a weaker connection.
Feeders that are too short. If the bus at half the length is the first bus of the feeder, the feeder cannot be split. Then every second such feeder moves to the new grid as a whole.
Transformers. The new station gets standard transformers (
mv_lv_transformer) until its rated power is at least that of the old station. The old station keeps its transformers.
The example starts above the threshold of twice the rated power of the 400 kVA transformer; reduce the load below about ×2.55 to see a grid that is not separated. Change the cable type of the feeders to see how strong the new lines to the new station become.
Illustrative feeders with cos φ = 1, so kW equals kVA. Feeders are treated from the one with the fewest buses to the one with the most. The 630 kVA standard transformer (mv_lv_transformer) and NAYY 4x1x150 (lv_line, 275 A) are the defaults; the new station gets standard transformers until its rated power is at least that of the old station.
Cost-distorting last resort
Only with activate_cost_results_disturbing_mode=True and only for LV grids that
still cannot be reinforced, enhanced_reinforce_grid()
first replaces all lines of the LV grid by standard lines. If the grid still cannot
be reinforced, all its components are aggregated at the MV/LV station. Both make
the power flow converge but distort the result: the replaced lines are part of the
costs, the aggregation leaves no trace in the costs, so the total is an underestimate.
A warning is logged and the measure is recorded in edisgo.results.measures.
Grid-expansion costs
Costs are computed by grid_expansion_costs() (which
uses line_expansion_costs();
transformer_expansion_costs() is a standalone helper
not called by it). The total is the sum of the cost of every added transformer and
line. Costs are distinguished only by voltage level, not by equipment type, and for
lines additionally by whether they run in a rural (≤ 500 inhabitants/km², lower
earthwork cost) or urban area ([DENA]). Unit costs come from
config_grid_expansion.
For a line, the earthwork is paid once, however many cables are laid, and every added cable costs the cable price:
with the line length \(l\) and the number \(q\) of added cables. Transformers
cost a fixed amount each (costs_transformers: 10 kEUR for MV/LV, 1000 kEUR for
HV/MV), independent of their size.
Choose the voltage level and the area type and move the sliders to see how the cost of a reinforced line and of added transformers is made up.
Unit costs from costs_cables and costs_transformers in config_grid_expansion_default.cfg. A grid district counts as rural up to 500 inhabitants/km².