{"ref":{"kind":"component","id":"mezzanine_debt_period","key":"sha256:4cd8d64c072d0b544d55e0851915fe0d616e86bc126c6015137ece561ca81dca"},"label":"Acquisition Mezzanine Debt Period","description":"Fund, accrue, and repay one mezzanine debt period.","inputs":[{"label":"Current Rate","name":"current_rate","valueType":{"axes":[],"dtype":"f64","unit":"%"}},{"label":"Day Count","name":"day_count","valueType":{"axes":[],"dtype":"f64","unit":"1"}},{"label":"Funding","name":"funding","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Opening","name":"opening","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Pays Off","name":"pays_off","valueType":{"axes":[],"dtype":"f64","unit":"flag"}},{"label":"PIK Rate","name":"pik_rate","valueType":{"axes":[],"dtype":"f64","unit":"%"}},{"label":"Services","name":"services","valueType":{"axes":[],"dtype":"f64","unit":"flag"}}],"outputs":[{"label":"Beginning","name":"beginning","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Current Interest","name":"current_interest","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Ending","name":"ending","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"PIK Interest","name":"pik_interest","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Principal Payoff","name":"principal_payoff","valueType":{"axes":[],"dtype":"f64","unit":"$"}}],"dependencies":[],"libraries":["acquisition_debt"],"notes":{},"calculation":{"nodes":[{"id":"input-current_rate","label":"Current Rate","kind":"input"},{"id":"input-day_count","label":"Day Count","kind":"input"},{"id":"input-funding","label":"Funding","kind":"input"},{"id":"input-opening","label":"Opening","kind":"input"},{"id":"input-pays_off","label":"Pays Off","kind":"input"},{"id":"input-pik_rate","label":"PIK Rate","kind":"input"},{"id":"input-services","label":"Services","kind":"input"},{"id":"step-available","label":"Available","kind":"step","rule":"(Opening + Funding)","sources":[{"node":"input-opening"},{"node":"input-funding"}]},{"id":"output-beginning","kind":"output","label":"Beginning","rule":"Opening","sources":[{"node":"input-opening"}]},{"id":"step-current_interest","label":"Current Interest","kind":"step","rule":"if Services, then (((Available × Current Rate) × Day Count) ÷ 360), otherwise 0","sources":[{"node":"input-services"},{"node":"step-available"},{"node":"input-current_rate"},{"node":"input-day_count"}]},{"id":"step-pik_interest","label":"PIK Interest","kind":"step","rule":"if Services, then (((Available × PIK Rate) × Day Count) ÷ 360), otherwise 0","sources":[{"node":"input-services"},{"node":"step-available"},{"node":"input-pik_rate"},{"node":"input-day_count"}]},{"id":"output-current_interest","kind":"output","label":"Current Interest","rule":"Current Interest","sources":[{"node":"step-current_interest"}]},{"id":"step-before_payoff","label":"Before payoff","kind":"step","rule":"(Available + PIK Interest)","sources":[{"node":"step-available"},{"node":"step-pik_interest"}]},{"id":"output-pik_interest","kind":"output","label":"PIK Interest","rule":"PIK Interest","sources":[{"node":"step-pik_interest"}]},{"id":"step-principal_payoff","label":"Principal Payoff","kind":"step","rule":"if Pays Off, then Before payoff, otherwise 0","sources":[{"node":"input-pays_off"},{"node":"step-before_payoff"}]},{"id":"step-ending","label":"Ending","kind":"step","rule":"(Before payoff − Principal Payoff)","sources":[{"node":"step-before_payoff"},{"node":"step-principal_payoff"}]},{"id":"output-principal_payoff","kind":"output","label":"Principal Payoff","rule":"Principal Payoff","sources":[{"node":"step-principal_payoff"}]},{"id":"output-ending","kind":"output","label":"Ending","rule":"Ending","sources":[{"node":"step-ending"}]}],"topics":[{"label":"Acquisition Mezzanine Debt Period","results":["output-beginning","output-current_interest","output-ending","output-pik_interest","output-principal_payoff"]}]},"usedBy":[{"kind":"recipe","id":"hotel","key":"sha256:bf0956eceaed37e652044e718371c50f6d742ef9dc4b93edf968a748eda841c3"},{"kind":"recipe","id":"multifamily","key":"sha256:397eeb7b5a8b1a4584c66bc4c75f1a85494dbe812871f2e39c9192beb8a51f18"}]}
