gen_ajuste_demanda: Simulates demand adjust for line 4 PPP

Description Usage Arguments Value Examples

Description

This function allows the user to simulate amount do be paid or received according to dsifference between forecasted and "real" (simulated) demand. By setting the sensibilidade paramter, the user adjust how much the demand will be higher or lower. It computes the "MD".

Usage

1
2
3
gen_ajuste_demanda(sensibilidade = 1, num_years, t_0 = 2.14, ipc_0,
  ipgm_0, a, b, ipc_realizado = NA, igpm_realizado = NA,
  ajuste_inflacao = FALSE)

Arguments

sensibilidade

A vector

num_years

A number

t_0

A number

ipc_0

A number

ipgm_0

A number

a

A number

b

A number

ipc_realizado

A number

igpm_realizado

A number

ajuste_inflacao

logical

Value

a vector of demand adjustement of size equal to num_years - input to compute implicit rate

Examples

1
 gen_ajuste_demanda(sensibilidade = 1.3, num_years=33)

mgaldino/line4PPPsim documentation built on May 6, 2019, 7:03 p.m.