{"ref":{"kind":"component","id":"development_principal","key":"sha256:d72df91a040a3ed6edc9de1bf51a2cc5826cffb600d475674b8eef0e1de6fa49"},"label":"Development principal","description":"Reconcile external funding, internal refinancing and each facility's principal.","inputs":[{"label":"Construction Funding","name":"construction_funding","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Opening Funding","name":"opening_funding","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Opening Paydown","name":"opening_paydown","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Opening Payoff","name":"opening_payoff","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Refinance Commitment","name":"refinance_commitment","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Refinance Funding","name":"refinance_funding","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Scheduled Repayment Requirement","name":"scheduled_repayment_requirement","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}}],"outputs":[{"label":"Construction Commitment","name":"construction_commitment","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Construction Ending","name":"construction_ending","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$/end"}},{"label":"Ending Balance","name":"ending_balance","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$/end"}},{"label":"Facility Funding","name":"facility_funding","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Opening Commitment","name":"opening_commitment","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Opening Ending","name":"opening_ending","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$/end"}},{"label":"Rollforward Error","name":"rollforward_error","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Scheduled Repayment","name":"scheduled_repayment","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Senior Commitment","name":"senior_commitment","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Senior Debt Sources","name":"senior_debt_sources","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Senior Funding","name":"senior_funding","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Total Repayment","name":"total_repayment","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Total Repayment Requirement","name":"total_repayment_requirement","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}}],"dependencies":[{"id":"capped_debt_paydown","key":"sha256:c96d42de3135664942c6de148b79db9569f9c3868c1cb7d1b1656aceaa6e3188","kind":"component"}],"libraries":["development_financing"],"notes":{},"calculation":{"nodes":[{"id":"input-construction_funding","label":"Construction Funding","kind":"input"},{"id":"input-opening_funding","label":"Opening Funding","kind":"input"},{"id":"input-opening_paydown","label":"Opening Paydown","kind":"input"},{"id":"input-opening_payoff","label":"Opening Payoff","kind":"input"},{"id":"input-refinance_commitment","label":"Refinance Commitment","kind":"input"},{"id":"input-refinance_funding","label":"Refinance Funding","kind":"input"},{"id":"input-scheduled_repayment_requirement","label":"Scheduled Repayment Requirement","kind":"input"},{"id":"step-opening_senior_commitment","label":"Opening senior commitment","kind":"step","rule":"Sum(Opening Funding)","sources":[{"node":"input-opening_funding"}]},{"id":"step-senior_funding","label":"Senior Funding","kind":"step","rule":"(Opening Funding + Construction Funding)","sources":[{"node":"input-opening_funding"},{"node":"input-construction_funding"}]},{"id":"step-opening_senior_ending_balance","label":"Opening senior ending balance","kind":"step","rule":"Higher of (Running total(Opening Funding) − Running total(Opening Payoff)) and 0","sources":[{"node":"input-opening_funding"},{"node":"input-opening_payoff"}],"calls":[{"function":"development_cash_to_debt_balance","label":"Development cash to debt balance","bindings":[{"name":"cash","label":"Cash","value":"Higher of (Running total(Opening Funding) − Running total(Opening Payoff)) and 0"}],"rule":"Higher of (Running total(Opening Funding) − Running total(Opening Payoff)) and 0"}]},{"id":"step-construction_commitment","label":"Construction Commitment","kind":"step","rule":"(Refinance Commitment + Sum(Construction Funding))","sources":[{"node":"input-refinance_commitment"},{"node":"input-construction_funding"}]},{"id":"step-construction_facility_funding","label":"Construction facility funding","kind":"step","rule":"(Refinance Funding + Construction Funding)","sources":[{"node":"input-refinance_funding"},{"node":"input-construction_funding"}]},{"id":"step-total_repayment_requirement","label":"Total Repayment Requirement","kind":"step","rule":"(Scheduled Repayment Requirement + Opening Paydown)","sources":[{"node":"input-scheduled_repayment_requirement"},{"node":"input-opening_paydown"}]},{"id":"step-senior_debt_sources","label":"Senior Debt Sources","kind":"step","rule":"(Opening senior commitment + Sum(Construction Funding))","sources":[{"node":"step-opening_senior_commitment"},{"node":"input-construction_funding"}]},{"id":"output-opening_commitment","kind":"output","label":"Opening Commitment","rule":"Opening senior commitment","sources":[{"node":"step-opening_senior_commitment"}]},{"id":"output-senior_funding","kind":"output","label":"Senior Funding","rule":"Senior Funding","sources":[{"node":"step-senior_funding"}]},{"id":"output-opening_ending","kind":"output","label":"Opening Ending","rule":"Opening senior ending balance","sources":[{"node":"step-opening_senior_ending_balance"}]},{"id":"step-senior_commitment","label":"Senior Commitment","kind":"step","rule":"(Opening senior commitment + Construction Commitment)","sources":[{"node":"step-opening_senior_commitment"},{"node":"step-construction_commitment"}]},{"id":"output-construction_commitment","kind":"output","label":"Construction Commitment","rule":"Construction Commitment","sources":[{"node":"step-construction_commitment"}]},{"id":"output-facility_funding","kind":"output","label":"Facility Funding","rule":"Construction facility funding","sources":[{"node":"step-construction_facility_funding"}]},{"id":"step-paydown","label":"Paydown","kind":"step","rule":"Result of Capped Debt Paydown","sources":[{"node":"step-senior_funding"},{"node":"step-total_repayment_requirement"}],"calls":[{"component":"capped_debt_paydown","purpose":"Roll one bounded debt balance while capping every repayment at available funded principal.","label":"Capped Debt Paydown","bindings":[{"name":"funding","label":"Debt funding","value":"Senior Funding"},{"name":"repayment_requirement","label":"Debt repayment requirement","value":"Total Repayment Requirement"}]}]},{"id":"output-total_repayment_requirement","kind":"output","label":"Total Repayment Requirement","rule":"Total Repayment Requirement","sources":[{"node":"step-total_repayment_requirement"}]},{"id":"output-senior_debt_sources","kind":"output","label":"Senior Debt Sources","rule":"Senior Debt Sources","sources":[{"node":"step-senior_debt_sources"}]},{"id":"output-senior_commitment","kind":"output","label":"Senior Commitment","rule":"Senior Commitment","sources":[{"node":"step-senior_commitment"}]},{"id":"step-construction_ending_balance","label":"Construction ending balance","kind":"step","rule":"Higher of (Paydown · Ending debt balance − Opening senior ending balance) and 0","sources":[{"node":"step-paydown","field":"ending_balance","fieldLabel":"Ending debt balance","url":"/catalog/components/capped_debt_paydown/#output-ending_balance"},{"node":"step-opening_senior_ending_balance"}]},{"id":"step-debt_rollforward_error","label":"Debt rollforward error","kind":"step","rule":"(Paydown · Ending debt balance − Higher of (Running total(Senior Funding) − Running total(Paydown · Debt repayment)) and 0)","sources":[{"node":"step-paydown","field":"ending_balance","fieldLabel":"Ending debt balance","url":"/catalog/components/capped_debt_paydown/#output-ending_balance"},{"node":"step-senior_funding"},{"node":"step-paydown","field":"repayment","fieldLabel":"Debt repayment","url":"/catalog/components/capped_debt_paydown/#output-repayment"}],"calls":[{"function":"development_debt_balance_to_cash","label":"Development debt balance to cash","bindings":[{"name":"balance","label":"Balance","value":"Paydown · Ending debt balance"}],"rule":"Paydown · Ending debt balance"}]},{"id":"step-scheduled_repayment","label":"Scheduled Repayment","kind":"step","rule":"Higher of (Paydown · Debt repayment − Opening Paydown) and 0","sources":[{"node":"step-paydown","field":"repayment","fieldLabel":"Debt repayment","url":"/catalog/components/capped_debt_paydown/#output-repayment"},{"node":"input-opening_paydown"}]},{"id":"output-ending_balance","kind":"output","label":"Ending Balance","rule":"Paydown · Ending debt balance","sources":[{"node":"step-paydown","field":"ending_balance","fieldLabel":"Ending debt balance","url":"/catalog/components/capped_debt_paydown/#output-ending_balance"}]},{"id":"output-total_repayment","kind":"output","label":"Total Repayment","rule":"Paydown · Debt repayment","sources":[{"node":"step-paydown","field":"repayment","fieldLabel":"Debt repayment","url":"/catalog/components/capped_debt_paydown/#output-repayment"}]},{"id":"output-construction_ending","kind":"output","label":"Construction Ending","rule":"Construction ending balance","sources":[{"node":"step-construction_ending_balance"}]},{"id":"output-rollforward_error","kind":"output","label":"Rollforward Error","rule":"Debt rollforward error","sources":[{"node":"step-debt_rollforward_error"}]},{"id":"output-scheduled_repayment","kind":"output","label":"Scheduled Repayment","rule":"Scheduled Repayment","sources":[{"node":"step-scheduled_repayment"}]}],"topics":[{"label":"Development principal","results":["output-construction_commitment","output-construction_ending","output-facility_funding","output-opening_commitment","output-opening_ending","output-rollforward_error","output-scheduled_repayment","output-senior_commitment","output-senior_debt_sources","output-senior_funding","output-total_repayment_requirement"]},{"label":"Capped Debt Paydown","results":["output-ending_balance","output-total_repayment"]}]},"usedBy":[{"kind":"recipe","id":"condo_development","key":"sha256:e1e317fbad79babd19d06f30b451bf1b5fc74bf415bd554eb16205d31d5a7996"},{"kind":"recipe","id":"data_center_development","key":"sha256:b76434a51896bf65e497e8679d3a1c7a72f5c0ed2705618ed598fbad02e7ef0e"},{"kind":"recipe","id":"multifamily_development","key":"sha256:bd5fced62c36e2251666c32d8cd629753c9f945e2292b401f90f46ce957e1bcd"},{"kind":"recipe","id":"single_family_development","key":"sha256:7cbf7a6885faf03497d0f91f19204cb9d504c05b3623fa3a362281037883288e"}]}
