Conversation
@cpaulgilman , could you please clean (and delete SAM-private\build_windows folder if testing from the SAM-private build) and make sure the ssc.dll used is the latest I am not able to replicate the error unless "Straight line" depreciation is selected - tested Federal and State switching between all Depreciation mode selections runs without error. |
sjanzou
left a comment
There was a problem hiding this comment.
reviewed and tests with @mjprilliman
Changes verified with recompiled ssc dll
SKIP_CONSTRAINT_CHECK should be used anywhere for an optional ssc variable that is required only if some other variable is set to a specific value. The example of SAM issue NatLabRockies/SAM#1733 is a perfect example in which the optional "years" value for straight line depreciation is required only if the depreciation selection is 2. Then the "years" input for the user should be checked to be positive (the CONSTRAINT field in the vartable). |




To test:
See NatLabRockies/SAM#1733 for simulation error in current release.