Skip to content

Solve simple, dynamic firm investment problem #3

@azev77

Description

@azev77

Hi and thanks for this package!
I'd like to use your package to solve a simple problem.
image

First the deterministic version:

using MacroModelling;

@model m begin
    I[0]  = ((ρ + δ - Z)/(1 - δ))  - ((1 + ρ)/(1 - δ)) * I[-1]
end
@parameters m begin
    ρ = 0.05
    δ = 0.10
    Z = .17
end
m_ss = get_steady_state(m)
# note the ss can be solved in closed form
#I_SS = (Z-ρ-δ)/(ρ+δ);  #(.17-0.05-0.10)/(0.05 + 0.10) # 0.13333333333333333

m_sol = get_solution(m) 
ERROR: TypeError: in Type, in parameter, expected Type, got a value of type Vector{Any}

Not sure what to do about this error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions