Hey Philipp,
how about reformulating the constraint, i.e.
grid_import <= x * electrical_demand
?
Best,
Fabian H
--
You received this message because you are subscribed to the Google Groups "pypsa" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pypsa+un...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/pypsa/4c141d19-9929-47a9-93c1-61eb8a0f55b3n%40googlegroups.com.
-- Fabian Hofmann Postdoctoral Researcher Institute of Energy Technology Technische Universität Berlin Group website: https://tub-ensys.github.io/