Passing values from an array in ModeliingToolkit framework

I have a previously solved system (dt=1/200, ~adaptive=false, tspan = (0, 50)), stored as an array say 'A.' I want to use these values in another modelingtoolkit setup.

A is essentially like a sinusoidal signal.

eqs = [ 
    D(r) ~ r*(1 - r^2)*r
    D(θ) ~ 2 + "Values_from_A"
]

Does anyone have any suggestions, I thought I could do something like

data_time_convert(t) = model_a_encoder_1_layers(data_mod_signal)[1, trunc(Int64, (t%50)*200) + 1]'
@register_symbolic data_time_convert(t)

Deeply appreciate any suggestions.

Make A(t) a time-dependent parameter and pass in the interpolation to generate A(t) as one of the parameter pieces.

Hey, thanks for the suggestion, however, placing A(t) in the equations throws the following error. (I have defined A(t) as a variable.) As the following,

@variables A(t)
eqs = [ 
    D(r) ~ r*(1 - r^2)*r
    D(θ) ~ 2 + A(t)
]

Sym (A(t)) is not callable. Use @syms (A(t))(var1, var2,...) to create it as a callable.

Or, I have horribly misunderstood your suggestions.

@variables A(t)
eqs = [ 
    D(r) ~ r*(1 - r^2)*r
    D(θ) ~ 2 + A
]