Skip to content

Are ss.alter and ss.set methods equivalent in Andes? #472

Answered by jinningwang
sghqsads asked this question in Q&A
Discussion options

You must be logged in to vote

The functions "alter" and "set" are designed to modify different properties of the model in ANDES. Specifically, "alter" is used to manipulate the property "v" of a model, whereas "set" can be applied to a wider range of properties, including v for values, a for address, and e for equation value, although it is less common for users to change the "a" or "e" properties.

You can find the source code for these functions in the ANDES repository at the following links: alter and set.

As ANDES is an open-source software, all of its code is available for review and revision as needed.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sghqsads
Comment options

Answer selected by sghqsads
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants