pyperfectforesight.solve_auxiliary_nested#

pyperfectforesight.solve_auxiliary_nested(X_dyn_t, params_dict, model_funcs, vars_dyn, exog_t=None, aux_guess=None)[source]#

Solve auxiliary equations numerically for a single time period (nested method)

Parameters:#

X_dyn_tarray (n_dyn,)

Dynamic variable values at time t

params_dictdict

Parameter values

model_funcsdict

Model functions from process_model

vars_dynlist

List of dynamic variable names

exog_tarray (n_exo,), optional

Exogenous variable values at time t

aux_guessarray (n_aux,), optional

Initial guess for auxiliary variables

Returns:#

array (n_aux,) : Solution for auxiliary variables at time t