You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running on an up-to-date pypsa-usa environment. Update via conda env update -f envs/environment.yaml
The Issue
Not sure what happened, but some sort of recent PR introduced a bug to the sector network that leads to this error in solve_network
Traceback (most recent call last):
File "/home/trevor/master/pypsa-usa/workflow/.snakemake/scripts/tmp7j1x2iw6.solve_network.py", line 1748, in <module>
n = solve_network(
^^^^^^^^^^^^^^
File "/home/trevor/master/pypsa-usa/workflow/.snakemake/scripts/tmp7j1x2iw6.solve_network.py", line 1685, in solve_network
status, condition = n.optimize(**kwargs)
^^^^^^^^^^^^^^^^^^^^
File "/home/trevor/miniforge3/envs/pypsa-usa/lib/python3.11/site-packages/pypsa/optimization/optimize.py", line 615, in __call__
return optimize(self._parent, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/trevor/miniforge3/envs/pypsa-usa/lib/python3.11/site-packages/pypsa/optimization/optimize.py", line 578, in optimize
m = create_model(
^^^^^^^^^^^^^
File "/home/trevor/miniforge3/envs/pypsa-usa/lib/python3.11/site-packages/pypsa/optimization/optimize.py", line 284, in create_model
define_nodal_balance_constraints(
File "/home/trevor/miniforge3/envs/pypsa-usa/lib/python3.11/site-packages/pypsa/optimization/constraints.py", line 605, in define_nodal_balance_constraints
raise ValueError("Empty LHS with non-zero RHS in nodal balance constraint.")
ValueError: Empty LHS with non-zero RHS in nodal balance constraint.
Steps To Reproduce
No response
Expected Behavior
No response
Error Message
Anything else?
No response
The text was updated successfully, but these errors were encountered:
Checklist
master
branchpypsa-usa
environment. Update viaconda env update -f envs/environment.yaml
The Issue
Not sure what happened, but some sort of recent PR introduced a bug to the sector network that leads to this error in
solve_network
Steps To Reproduce
No response
Expected Behavior
No response
Error Message
Anything else?
No response
The text was updated successfully, but these errors were encountered: