Skip to content

Changes to prepare_buying_goods() are leading to exaggerated growth across all firms #61

@sternluke

Description

@sternluke

The recent changes to prepare_buying_goods() are leading to exaggerated growth even with tfp_base_growth_rate = 0.0. I believe the exaggerated growth is coming from two sources:

  1. the magnitude is of the investment is large where extra_capital_qty often seems to increase target_capital_inputs by up to ~25% per timestep
  2. and the frequency of investment is also high because profitable = hurdle_value > candidate_investment in plan_productivity_investment() is almost always true meaning that target_capital_inputs is increased due to planned_investment on almost all timesteps.

hurdle_rate=0.125 output:

Timestep: 0, Year: 2014, Month:0
unconstrained_target_capital_inputs [10][4] 4.7151e+06
planned_investment [10] 2.4405e+08
weights [10][4] 5.4409e-03
safe_prices [10] 1.1055e+00
extra_capital_qty [10][4] 1.2011e+06
BEFORE: target_capital_inputs [10][4] 4.7151e+06
AFTER APPLYING EXTRA_CAPITAL: target_capital_inputs [10][4] 5.9161e+06

Timestep: 1, Year: 2014, Month:3
unconstrained_target_capital_inputs [10][4] 4.7654e+06
planned_investment [10] 2.3512e+08
weights [10][4] 5.4987e-03
safe_prices [10] 1.0739e+00
extra_capital_qty [10][4] 1.1513e+06
BEFORE: target_capital_inputs [10][4] 4.7654e+06
AFTER APPLYING EXTRA_CAPITAL: target_capital_inputs [10][4] 5.9167e+06

Timestep: 2, Year: 2014, Month:6
unconstrained_target_capital_inputs [10][4] 4.9256e+06
planned_investment [10] 2.2216e+08
weights [10][4] 5.5848e-03
safe_prices [10] 1.0420e+00
extra_capital_qty [10][4] 1.1208e+06
BEFORE: target_capital_inputs [10][4] 4.9256e+06
AFTER APPLYING EXTRA_CAPITAL: target_capital_inputs [10][4] 6.0464e+06

Timestep: 3, Year: 2014, Month:9
unconstrained_target_capital_inputs [10][4] 5.0966e+06
planned_investment [10] 2.1136e+08
weights [10][4] 5.6696e-03
safe_prices [10] 1.0698e+00
extra_capital_qty [10][4] 1.0886e+06
BEFORE: target_capital_inputs [10][4] 5.0966e+06
AFTER APPLYING EXTRA_CAPITAL: target_capital_inputs [10][4] 6.1852e+06

hurdle_rate=0.75 output:

Timestep: 0, Year: 2014, Month:0
unconstrained_target_capital_inputs [10][4] 4.7151e+06
planned_investment [10] 2.4405e+08
weights [10][4] 5.4409e-03
safe_prices [10] 1.1055e+00
extra_capital_qty [10][4] 1.2011e+06
BEFORE: target_capital_inputs [10][4] 4.7151e+06
AFTER APPLYING EXTRA_CAPITAL: target_capital_inputs [10][4] 5.9161e+06

Timestep: 1, Year: 2014, Month:3
unconstrained_target_capital_inputs [10][4] 4.7654e+06
planned_investment [10] 2.3512e+08
weights [10][4] 5.4987e-03
safe_prices [10] 1.0739e+00
extra_capital_qty [10][4] 1.1513e+06
BEFORE: target_capital_inputs [10][4] 4.7654e+06
AFTER APPLYING EXTRA_CAPITAL: target_capital_inputs [10][4] 5.9167e+06

Timestep: 2, Year: 2014, Month:6
unconstrained_target_capital_inputs [10][4] 4.9256e+06
planned_investment [10] 2.2216e+08
weights [10][4] 5.5848e-03
safe_prices [10] 1.0420e+00
extra_capital_qty [10][4] 1.1208e+06
BEFORE: target_capital_inputs [10][4] 4.9256e+06
AFTER APPLYING EXTRA_CAPITAL: target_capital_inputs [10][4] 6.0464e+06

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions