pypsa-eur/doc/configtables/solving.csv
2024-01-24 11:23:56 +01:00

3.9 KiB

1UnitValuesDescription
2options
3-- 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.
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-- skip_iterationsbool{'true','false'}Skip iterating, do not update impedances of branches. Defaults to true.
7-- rolling_horizonbool{'true','false'}Whether to optimize the network in a rolling horizon manner, where the snapshot range is split into slices of size `horizon` which are solved consecutively.
8-- seed--intRandom seed for increased deterministic behaviour.
9-- custom_extra_functionality--strPath to a Python file with custom extra functionality code to be injected into the solving rules of the workflow relative to ``rules`` directory.
10-- io_apistring{'lp','mps','direct'}Passed to linopy and determines the API used to communicate with the solver. With the ``'lp'`` and ``'mps'`` options linopy passes a file to the solver; with the ``'direct'`` option (only supported for HIGHS and Gurobi) linopy uses an in-memory python API resulting in better performance.
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-- 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.
13-- 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.
14-- transmission_lossesint[0-9]Add piecewise linear approximation of transmission losses based on n tangents. Defaults to 0, which means losses are ignored.
15-- linearized_unit_commitmentbool{'true','false'}Whether to optimise using the linearized unit commitment formulation.
16-- horizon--intNumber of snapshots to consider in each iteration. Defaults to 100.
17constraints
18-- CCLbool{'true','false'}Add minimum and maximum levels of generator nominal capacity per carrier for individual countries. These can be specified in the file linked at ``electricity: agg_p_nom_limits`` in the configuration. File defaults to ``data/agg_p_nom_minmax.csv``.
19-- EQbool/string{'false',`n(c| )``; i.e. ``0.5``-``0.7c``}Require each country or node to on average produce a minimal share of its total consumption itself. Example: ``EQ0.5c`` demands each country to produce on average at least 50% of its consumption; ``EQ0.5`` demands each node to produce on average at least 50% of its consumption.
20-- BAUbool{'true','false'}Add a per-``carrier`` minimal overall capacity; i.e. at least ``40GW`` of ``OCGT`` in Europe; configured in ``electricity: BAU_mincapacities``
21-- SAFEbool{'true','false'}Add a capacity reserve margin of a certain fraction above the peak demand to which renewable generators and storage do *not* contribute. Ignores network.
22solver
23-- 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.
24-- options--Key listed under ``solver_options``.Link to specific parameter settings.
25solver_optionsdictDictionaries with solver-specific parameter settings.
26memMBintEstimated maximum memory requirement for solving networks.