{"ref":{"kind":"component","id":"funded_reserve_ledger","key":"sha256:97ab878c9b573b435fc31b0c26f4541235c1909d0002a5226702c695a1596c92"},"label":"Funded Reserve Ledger","description":"Roll one bounded target-balance reserve without an opaque recurrence.","inputs":[{"label":"Annual cash yield","name":"annual_yield","valueType":{"axes":[],"dtype":"f64","unit":"%"}},{"label":"Deficit cash flow","name":"deficit_cash_flow","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Initial funding","name":"initial_funding","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Release month","name":"release_month","valueType":{"axes":[],"dtype":"f64","unit":"mo"}},{"label":"Replenishment cash flow","name":"replenishment_cash_flow","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}}],"outputs":[{"label":"Beginning balance","name":"beginning","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Deposits","name":"deposits","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Draws","name":"draws","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Ending balance","name":"ending","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Interest earned","name":"interest","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Net activity","name":"net_activity","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Reconciliation error","name":"reconciliation_error","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Releases","name":"releases","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Uncovered deficit","name":"uncovered","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}}],"dependencies":[{"id":"funded_reserve_period","key":"sha256:317fd6cc99ce9a2ef3960d7b7a6273f27183a0863873f43c85e4629d93710aec","kind":"component"}],"libraries":["funded_reserve"],"notes":{"conventions":["Fund the nonnegative initial target at opening.","Before release, draw from the beginning balance, then replenish toward the target from positive cash.","Earn annual yield divided by 12 on the balance after draws and deposits, including opening, before release.","Release the beginning balance only at the specified month after opening; a release month of zero leaves funding in reserve."]},"calculation":{"nodes":[{"id":"input-annual_yield","label":"Annual cash yield","kind":"input"},{"id":"input-deficit_cash_flow","label":"Deficit cash flow","kind":"input"},{"id":"input-initial_funding","label":"Initial funding","kind":"input"},{"id":"input-release_month","label":"Release month","kind":"input"},{"id":"input-replenishment_cash_flow","label":"Replenishment cash flow","kind":"input"},{"id":"step-target","label":"Target","kind":"step","rule":"Higher of Initial funding and 0","sources":[{"node":"input-initial_funding"}]},{"id":"step-periods","label":"Periods","kind":"step","rule":"Run Funded Reserve Period for each month. Carry the closing state into the next period.","sources":[{"node":"input-annual_yield"},{"node":"input-deficit_cash_flow"},{"node":"input-release_month"},{"node":"input-replenishment_cash_flow"},{"node":"step-target"}],"calls":[{"component":"funded_reserve_period","label":"Funded Reserve Period","purpose":"Fund, draw, earn, replenish, and release one target-balance reserve period.","bindings":[{"name":"annual_yield","label":"Annual cash yield","value":"Annual cash yield"},{"name":"deficit_cash_flow","label":"Deficit cash flow","value":"Deficit cash flow"},{"name":"period","label":"Month","value":"(Positions in series(Deficit cash flow) × 1)"},{"name":"release_month","label":"Release month","value":"Release month"},{"name":"replenishment_cash_flow","label":"Replenishment cash flow","value":"Replenishment cash flow"},{"name":"target_balance","label":"Target balance","value":"Target"}],"carry":[{"input":"opening_balance","output":"ending","label":"Opening balance","initial":"0"}]}]},{"id":"output-beginning","kind":"output","label":"Beginning balance","rule":"Periods · Beginning balance","sources":[{"node":"step-periods","field":"beginning","fieldLabel":"Beginning balance","url":"/catalog/components/funded_reserve_period/#output-beginning"}]},{"id":"output-deposits","kind":"output","label":"Deposits","rule":"Periods · Deposit","sources":[{"node":"step-periods","field":"deposits","fieldLabel":"Deposit","url":"/catalog/components/funded_reserve_period/#output-deposit_amount"}]},{"id":"output-draws","kind":"output","label":"Draws","rule":"Periods · Draw","sources":[{"node":"step-periods","field":"draws","fieldLabel":"Draw","url":"/catalog/components/funded_reserve_period/#output-draw_amount"}]},{"id":"output-ending","kind":"output","label":"Ending balance","rule":"Periods · Ending balance","sources":[{"node":"step-periods","field":"ending","fieldLabel":"Ending balance","url":"/catalog/components/funded_reserve_period/#output-ending"}]},{"id":"output-interest","kind":"output","label":"Interest earned","rule":"Periods · Interest income","sources":[{"node":"step-periods","field":"interest","fieldLabel":"Interest income","url":"/catalog/components/funded_reserve_period/#output-interest_income"}]},{"id":"output-net_activity","kind":"output","label":"Net activity","rule":"Periods · Net activity","sources":[{"node":"step-periods","field":"net_activity","fieldLabel":"Net activity","url":"/catalog/components/funded_reserve_period/#output-net_activity"}]},{"id":"output-reconciliation_error","kind":"output","label":"Reconciliation error","rule":"Periods · Reconciliation error","sources":[{"node":"step-periods","field":"reconciliation_error","fieldLabel":"Reconciliation error","url":"/catalog/components/funded_reserve_period/#output-reconciliation_error"}]},{"id":"output-releases","kind":"output","label":"Releases","rule":"Periods · Release","sources":[{"node":"step-periods","field":"releases","fieldLabel":"Release","url":"/catalog/components/funded_reserve_period/#output-release_amount"}]},{"id":"output-uncovered","kind":"output","label":"Uncovered deficit","rule":"Periods · Uncovered deficit","sources":[{"node":"step-periods","field":"uncovered","fieldLabel":"Uncovered deficit","url":"/catalog/components/funded_reserve_period/#output-uncovered"}]}],"topics":[{"label":"Funded Reserve Period","results":["output-beginning","output-deposits","output-draws","output-ending","output-interest","output-net_activity","output-reconciliation_error","output-releases","output-uncovered"]}]},"usedBy":[{"kind":"recipe","id":"condo_development","key":"sha256:e1e317fbad79babd19d06f30b451bf1b5fc74bf415bd554eb16205d31d5a7996"},{"kind":"recipe","id":"data_center_acquisition","key":"sha256:a3de19f40187caf36db2e6ce0da98119726e3c4bf05500115912b18e3fc8c1ca"},{"kind":"recipe","id":"data_center_development","key":"sha256:b76434a51896bf65e497e8679d3a1c7a72f5c0ed2705618ed598fbad02e7ef0e"},{"kind":"recipe","id":"hotel","key":"sha256:bf0956eceaed37e652044e718371c50f6d742ef9dc4b93edf968a748eda841c3"},{"kind":"recipe","id":"multifamily","key":"sha256:397eeb7b5a8b1a4584c66bc4c75f1a85494dbe812871f2e39c9192beb8a51f18"},{"kind":"recipe","id":"multifamily_development","key":"sha256:bd5fced62c36e2251666c32d8cd629753c9f945e2292b401f90f46ce957e1bcd"},{"kind":"recipe","id":"single_family_development","key":"sha256:7cbf7a6885faf03497d0f91f19204cb9d504c05b3623fa3a362281037883288e"}]}
