Step-by-step walkthrough for R experts: each model stage shown as JavaScript (left) and R (right).
include_milpa
include_apiculture
include_cover_crop
include_meliferous_species
include_wood_products_income
include_cash_crops
financing_mode
loan_horizon_years
loan_start_year
loan_basis_years
discount_rate
interest_rate_financing
horizon_years
include_carbon_revenue
These values are wired into cashflow_and_npv and the options come directly from your parameter sheets.
cashflow_and_npv
type_investment_cost
type_variable_cost
type_fixed_cost
type_income
cafe_system_label
product_cafe_arabica
product_cacao
product_cardamom
product_banana
product_wood_products
loan_disbursement_year
financing_initial_balance
loan_zero_tolerance
These are read from parameter sheets (Farm/Cafe/MILPA/Apiculture) and used by cashflow_and_npv.
Farm
Cafe
MILPA
Apiculture
system
year
type
product
total_mxn