andes.core.var.AliasState#

class andes.core.var.AliasState(var, **kwargs)[source]#

Alias state variable.

Refer to the docs of AliasAlgeb.

__init__(var, **kwargs)[source]#

Methods

get_names()

link_external(ext_model)

Update variable addresses provided by external models

reset()

Reset the internal numpy arrays and flags.

set_address(addr[, contiguous])

Assigns address for equation RHS.

set_arrays(dae[, inplace, alloc])

Access dae.h or dae.i for the RHS of external variables when e_str exists..

Attributes

class_name

e_code

r_code

t_const

v_code