Skip to content

Commit

Permalink
model: improves message for sectoral impacts being to big
Browse files Browse the repository at this point in the history
  • Loading branch information
spjuhel committed May 30, 2024
1 parent ff61993 commit 0960286
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boario/model_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -895,7 +895,7 @@ def production_cap(self) -> npt.NDArray:
production_cap = production_cap * self.overprod
if (production_cap < 0).any():
raise ValueError(
"Production capacity was found negative for at least on industry"
"Production capacity was found negative for at least on industry. It may be caused by an impact being to important for a sector."
)
return production_cap

Expand Down

0 comments on commit 0960286

Please sign in to comment.