-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]:Error writing cost when we have resources that are not new build and not eligible for retirement #771
Comments
I am also getting a similar issue where outputs and costs do not write even though the model solves. This was occurring after a fresh install. The example cases work but the specific inputs are creating an error it seems. Summary Closest candidates are: Stacktrace: |
Thanks for sending a stack trace, @rowry38 . Looks like the problem is with this line 169 of
Probably could add an |
Thanks for raising the issue @manarjar . Could you please send us your case? We would like to run a test with the fix suggested by Jacob (and make additional fixes, if need be) on a PR. Thanks !!! |
Thanks @manarjar, for bringing this issue to our attention. It's now resolved in |
Closing this issue as resolved. |
Bug description
I have a portfolio with 2 zones, first zone has no generation and has a load profile and the second zone has all generators and some of them are not new build and not eligible for retirement. The
eCFix
becomes a vector of typeAny
. This causes an error when attempting to sum an empty vector for the zone without generation. Digging deeper to this issue I found that we should addvZERO
variable to the expressions similar to what we had in GenX 0.4.0 to solve this issue and make 'eCFix' a vector of type 'AffExpr'Environment and Version
windows 11, Julia 1.10.4, GenX 0.4.1
Relevant error messages
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: