f1243c3e0c
Assume you have 10 nodes that need to be distributed between 2 countries. What can happen with some of the open source solvers is that one country gets assigned to 9.01 (float) nodes, and the other one to 0.99. Now using .astype(int) would lead to a node distribution of 0 and 9, as the `astype(int)` function round down by default (0.99 -> 0). This assigned zero value breaks the code in case open source solvers are used. Gurobi somehow does deal with it. |
||
---|---|---|
.. | ||
_helpers.py | ||
add_electricity.py | ||
add_extra_components.py | ||
base_network.py | ||
build_bus_regions.py | ||
build_cutout.py | ||
build_hydro_profile.py | ||
build_load_data.py | ||
build_natura_raster.py | ||
build_powerplants.py | ||
build_renewable_profiles.py | ||
build_shapes.py | ||
cluster_network.py | ||
make_summary.py | ||
plot_network.py | ||
plot_p_nom_max.py | ||
plot_summary.py | ||
prepare_links_p_nom.py | ||
prepare_network.py | ||
retrieve_databundle.py | ||
simplify_network.py | ||
solve_network.py | ||
solve_operations_network.py |