DAETimeSeries.get_data(base_vars: Union[andes.core.var.BaseVar, List[andes.core.var.BaseVar]], *, a=None, rhs: bool = False)[source]#

Get time-series data, either for a variable or for the equation associated with the variable.

Each row correspond to a timestamp. Values for different variables will be appended horizontally.

base_varBaseVar or a sequence of BaseVar(s)

The variable types and internal addresses are used for looking up the data.

aan array/list of int or None

Sub-indices into the address of base_var. Applied to each variable.