Skip to content

Commit 41ecbdb

Browse files
committed
increased tolerance for comparison
1 parent 6e9a3cd commit 41ecbdb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/pypsa-de/export_ariadne_variables.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1246,6 +1246,7 @@ def get_primary_energy(n, region):
12461246
assert isclose(
12471247
var["Primary Energy|Gas"],
12481248
_gas_primary,
1249+
atol=1e-1,
12491250
)
12501251

12511252
var["Primary Energy|Gas|Gases"] = (
@@ -5231,7 +5232,7 @@ def get_data(
52315232

52325233
if "debug" == "debug": # For debugging
52335234
var = pd.Series()
5234-
idx = 2
5235+
idx = 6
52355236
n = networks[idx]
52365237
c = costs[idx]
52375238
_industry_demand = industry_demands[idx]

0 commit comments

Comments
 (0)