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
This is needed (as elaborated in PR #581), however, running sector studies with this causes it to crash with the error below. I believe the origin of the issue has to due with the non-road transport LPG buses (ie. air, boat, and train). But I havent managed to track down the exact cause.
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.
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
In
solve_network
there is an option that sets...This is needed (as elaborated in PR #581), however, running sector studies with this causes it to crash with the error below. I believe the origin of the issue has to due with the non-road transport LPG buses (ie. air, boat, and train). But I havent managed to track down the exact cause.
Relates to issue #428
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: