pypsa-eur/doc/configtables/solving.csv
2023-04-24 12:33:55 +02:00

2.2 KiB

1UnitValuesDescription
2options
3-- formulation--Any of {'angles', 'kirchhoff', 'cycles', 'ptdf'}Specifies which variant of linearized power flow formulations to use in the optimisation problem. Recommended is 'kirchhoff'. Explained in `this article <https://arxiv.org/abs/1704.01881>`_.
4-- load_sheddingbool/float{'true','false', float}Add generators with very high marginal cost to simulate load shedding and avoid problem infeasibilities. If load shedding is a float, it denotes the marginal cost in EUR/kWh.
5-- noisy_costsbool{'true','false'}Add random noise to marginal cost of generators by :math:`\mathcal{U}(0.009,0,011)` and capital cost of lines and links by :math:`\mathcal{U}(0.09,0,11)`.
6-- min_iterations--intMinimum number of solving iterations in between which resistance and reactence (``x/r``) are updated for branches according to ``s_nom_opt`` of the previous run.
7-- max_iterations--intMaximum number of solving iterations in between which resistance and reactence (``x/r``) are updated for branches according to ``s_nom_opt`` of the previous run.
8-- nhours--intSpecifies the :math:`n` first snapshots to take into account. Must be less than the total number of snapshots. Rather recommended only for debugging.
9-- clip_p_max_pup.u.floatTo avoid too small values in the renewables` per-unit availability time series values below this threshold are set to zero.
10-- skip_iterationsbool{'true','false'}Skip iterating, do not update impedances of branches. Defaults to true.
11-- track_iterationsbool{'true','false'}Flag whether to store the intermediate branch capacities and objective function values are recorded for each iteration in ``network.lines['s_nom_opt_X']`` (where ``X`` labels the iteration)
12-- seed--intRandom seed for increased deterministic behaviour.
13solver
14-- name--One of {'gurobi', 'cplex', 'cbc', 'glpk', 'ipopt'}; potentially more possibleSolver to use for optimisation problems in the workflow; e.g. clustering and linear optimal power flow.
15-- options--Key listed under ``solver_options``.Link to specific parameter settings.
16solver_optionsdictDictionaries with solver-specific parameter settings.
17memMBintEstimated maximum memory requirement for solving networks.