We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 06d35af + ebb816a commit d91476dCopy full SHA for d91476d
1 file changed
src/muse/investments.py
@@ -310,8 +310,6 @@ def scipy_match_demand(
310
311
from muse.constraints import ScipyAdapter
312
313
- df_technologies = technologies.to_dataframe()
314
-
315
if "timeslice" in costs.dims and timeslice_op is not None:
316
costs = timeslice_op(costs)
317
if "year" in technologies.dims and year is None:
@@ -342,7 +340,7 @@ def scipy_match_demand(
342
340
msg = (
343
341
res.message
344
+ "\n"
345
- + f"Error in sector containing {df_technologies.technology.unique()}"
+ + f"Error in sector containing {technologies.technology.values}"
346
)
347
getLogger(__name__).critical(msg)
348
raise GrowthOfCapacityTooConstrained
0 commit comments