# Blanchard & Kahn conditions are not satisfied indeterminacy

Dear all,
I receive the error message"Blanchard & Kahn conditions are not satisfied: indeterminacy."
Residuals of the static equations:

Equation number 1 : 0 : 1.)Household Euler Equation-inter-temporal condition
Equation number 2 : 0 : 2.)New Keynesian Phillips Curve, NKPC
Equation number 3 : 0 : 3.)Market equilibrium
Equation number 4 : 0 : 4.)FOC Capital
Equation number 5 : 0 : 5.)Technology shocks
Equation number 6 : 0 : 6.)Taylor rule
Equation number 7 : -0.00052429 : 7.)Central governemnt revenue
Equation number 8 : -0.00052429 : 8.)Production function
Equation number 9 : 0 : 9.)Period Utility function
Equation number 10 : -0.00058443 : 10.)Marginal cost
Equation number 11 : 0 : 11.)Total Tax revenue

I have checked my time setting so many times but cannot get any breakthrough.
Another question is that my residuals are realy close to zero but not equal to zero, but my target is to substitute them into the ramsey optimal policy model, how to modify the ramsey_model(instruments=(te),planner_discount=beta,planner_discount_latex_name=\beta);

    stoch_simul(order=1,irf=20,periods=500);
evaluate_planner_objective;


code in ramsey optimal model appropriately to hold on the tolf=0.001 setting in baseline model ?

The code is attached below, any help is appriciated!
Baseline_Ramsey0730.mod (7.1 KB)
Best reguard
haruka

The timing for K and Z was wrong. Use

Baseline_Ramsey0730.mod (7.1 KB)

Dear professor jpfeifer,
Many much thanks for the help! This code works!!!
Best reguard
Haruka