Skip to content

Values greater than 2^31 cause integer overflow error in LK callbacks #496

@brtietz

Description

@brtietz

Putting 1,000,000,000 in strings in parallel in a PV subarray or 1.7e7 in battery capacity will cause the resulting calculated fields in LK to overflow into negative numbers. Update paths in SAM and or LK repositories to ensure all relevant functions use size_t instead of int.

Occurs in 2020.11.29, and possibly additional prior versions.

Metadata

Metadata

Assignees

Labels

UIUser interface issue that applies across performance and financial modelsbug

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions