{"ref":{"kind":"component","id":"single_family_carry_period","key":"sha256:b69e05a45b300e38c7d59dbf0c5cd0ec8e3f0dd71769ae45bf489af98234e93b"},"label":"Single-Family Carry Period","description":"Accumulate every disclosed carry row through one model month.","inputs":[{"label":"Annual Escalation Pct","name":"annual_escalation_pct","valueType":{"axes":[{"extent":null,"name":"carry","variable":true}],"dtype":"f64","unit":"%"}},{"label":"End Month","name":"end_month","valueType":{"axes":[{"extent":null,"name":"carry","variable":true}],"dtype":"f64","unit":"mo"}},{"label":"Month","name":"month","valueType":{"axes":[],"dtype":"f64","unit":"mo"}},{"label":"Monthly Amount","name":"monthly_amount","valueType":{"axes":[{"extent":null,"name":"carry","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Start Month","name":"start_month","valueType":{"axes":[{"extent":null,"name":"carry","variable":true}],"dtype":"f64","unit":"mo"}}],"outputs":[{"label":"Annual Escalation Pct","name":"annual_escalation_pct","valueType":{"axes":[{"extent":null,"name":"carry","variable":true}],"dtype":"f64","unit":"%"}},{"label":"End Month","name":"end_month","valueType":{"axes":[{"extent":null,"name":"carry","variable":true}],"dtype":"f64","unit":"mo"}},{"label":"Monthly","name":"monthly","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Monthly Amount","name":"monthly_amount","valueType":{"axes":[{"extent":null,"name":"carry","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Row Monthly","name":"row_monthly","valueType":{"axes":[{"extent":null,"name":"carry","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Start Month","name":"start_month","valueType":{"axes":[{"extent":null,"name":"carry","variable":true}],"dtype":"f64","unit":"mo"}}],"dependencies":[],"libraries":["single_family_carry"],"notes":{},"calculation":{"nodes":[{"id":"input-annual_escalation_pct","label":"Annual Escalation Pct","kind":"input"},{"id":"input-end_month","label":"End Month","kind":"input"},{"id":"input-month","label":"Month","kind":"input"},{"id":"input-monthly_amount","label":"Monthly Amount","kind":"input"},{"id":"input-start_month","label":"Start Month","kind":"input"},{"id":"output-annual_escalation_pct","kind":"output","label":"Annual Escalation Pct","rule":"Annual Escalation Pct","sources":[{"node":"input-annual_escalation_pct"}]},{"id":"output-end_month","kind":"output","label":"End Month","rule":"End Month","sources":[{"node":"input-end_month"}]},{"id":"step-factor","label":"Factor","kind":"step","rule":"((Annual Escalation Pct + 1) ^ (Month ÷ 12))","sources":[{"node":"input-annual_escalation_pct"},{"node":"input-month"}],"calls":[{"function":"single_family_carry_percent_base","label":"Single family carry percent base","bindings":[{"name":"base","label":"Base","value":"1"},{"name":"rate","label":"Rate","value":"Annual Escalation Pct"}],"rule":"(Annual Escalation Pct + 1)"},{"function":"single_family_carry_year_fraction","label":"Single family carry year fraction","bindings":[{"name":"month","label":"Month","value":"Month"},{"name":"months_per_year","label":"Months per year","value":"12"}],"rule":"(Month ÷ 12)"},{"function":"single_family_carry_growth_factor","label":"Single family carry growth factor","bindings":[{"name":"base","label":"Base","value":"(Annual Escalation Pct + 1)"},{"name":"exponent","label":"Exponent","value":"(Month ÷ 12)"}],"rule":"((Annual Escalation Pct + 1) ^ (Month ÷ 12))"}]},{"id":"output-monthly_amount","kind":"output","label":"Monthly Amount","rule":"Monthly Amount","sources":[{"node":"input-monthly_amount"}]},{"id":"step-active","label":"Active","kind":"step","rule":"((Month ≥ Start Month) × (Month ≤ End Month))","sources":[{"node":"input-month"},{"node":"input-start_month"},{"node":"input-end_month"}]},{"id":"output-start_month","kind":"output","label":"Start Month","rule":"Start Month","sources":[{"node":"input-start_month"}]},{"id":"step-row_monthly","label":"Row Monthly","kind":"step","rule":"((Monthly Amount × Factor) × Active)","sources":[{"node":"input-monthly_amount"},{"node":"step-factor"},{"node":"step-active"}]},{"id":"output-monthly","kind":"output","label":"Monthly","rule":"Sum(Row Monthly)","sources":[{"node":"step-row_monthly"}]},{"id":"output-row_monthly","kind":"output","label":"Row Monthly","rule":"Row Monthly","sources":[{"node":"step-row_monthly"}]}],"topics":[{"label":"Single-Family Carry Period","results":["output-annual_escalation_pct","output-end_month","output-monthly","output-monthly_amount","output-row_monthly","output-start_month"]}]},"usedBy":[{"kind":"recipe","id":"single_family_development","key":"sha256:7cbf7a6885faf03497d0f91f19204cb9d504c05b3623fa3a362281037883288e"}]}
