<?xml version="1.0" encoding="UTF-8"?>

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:019d1c8f-1334-72ef-95f1-cab603fe994f,g:3dcf00c9-683d-42ef-9045-64e0bfe6fc01-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:roleRef roleURI="http://www.tpvg.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES" xlink:type="simple" xlink:href="tpvg-20260331.xsd#CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES"/>
  <link:calculationLink xlink:role="http://www.tpvg.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019d1c8f-1d18-731b-ac59-7e2445674a48" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_019d1c8f-1d18-7fe6-9875-501aef68ac40" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019d1c8f-1d18-731b-ac59-7e2445674a48" xlink:to="loc_us-gaap_CommonStockValue_019d1c8f-1d18-7fe6-9875-501aef68ac40" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_019d1c8f-1d18-76f5-b49a-81445908b8bd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdditionalPaidInCapital"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019d1c8f-1d18-731b-ac59-7e2445674a48" xlink:to="loc_us-gaap_AdditionalPaidInCapital_019d1c8f-1d18-76f5-b49a-81445908b8bd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019d1c8f-1d18-7c8e-805c-e8f0e731a3a6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019d1c8f-1d18-731b-ac59-7e2445674a48" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019d1c8f-1d18-7c8e-805c-e8f0e731a3a6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue_019d1c8f-1d18-78a1-9962-9277e18e44cc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PreferredStockValue"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019d1c8f-1d18-731b-ac59-7e2445674a48" xlink:to="loc_us-gaap_PreferredStockValue_019d1c8f-1d18-78a1-9962-9277e18e44cc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019d1c8f-1d18-7a83-a91c-ab777d5cca30" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnsecuredDebt_019d1c8f-1d18-7e64-a3b1-927ce1e87829" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_UnsecuredDebt"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019d1c8f-1d18-7a83-a91c-ab777d5cca30" xlink:to="loc_us-gaap_UnsecuredDebt_019d1c8f-1d18-7e64-a3b1-927ce1e87829" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCredit_019d1c8f-1d18-76bb-8713-71b98c4c7f1e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LineOfCredit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019d1c8f-1d18-7a83-a91c-ab777d5cca30" xlink:to="loc_us-gaap_LineOfCredit_019d1c8f-1d18-76bb-8713-71b98c4c7f1e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ManagementFeePayable_019d1c8f-1d18-79ac-b71a-0f0d2e84d7c3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ManagementFeePayable"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019d1c8f-1d18-7a83-a91c-ab777d5cca30" xlink:to="loc_us-gaap_ManagementFeePayable_019d1c8f-1d18-79ac-b71a-0f0d2e84d7c3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_019d1c8f-1d18-71d5-8a34-2ca2eb591727" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedLiabilitiesAndOtherLiabilities"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019d1c8f-1d18-7a83-a91c-ab777d5cca30" xlink:to="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_019d1c8f-1d18-71d5-8a34-2ca2eb591727" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncentiveFeePayable_019d1c8f-1d18-79d2-ae8f-ffd66c8123ca" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncentiveFeePayable"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019d1c8f-1d18-7a83-a91c-ab777d5cca30" xlink:to="loc_us-gaap_IncentiveFeePayable_019d1c8f-1d18-79d2-ae8f-ffd66c8123ca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_019d1c8f-1d18-7857-af63-e713d47066df" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019d1c8f-1d18-7b76-a360-4c891e3541dd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019d1c8f-1d18-7857-af63-e713d47066df" xlink:to="loc_us-gaap_Liabilities_019d1c8f-1d18-7b76-a360-4c891e3541dd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019d1c8f-1d18-7ff5-b079-837a0bf29637" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019d1c8f-1d18-7857-af63-e713d47066df" xlink:to="loc_us-gaap_StockholdersEquity_019d1c8f-1d18-7ff5-b079-837a0bf29637" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_019d1c8f-1d18-7aba-9c2e-e3aba0a36389" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019d1c8f-1d18-7857-af63-e713d47066df" xlink:to="loc_us-gaap_CommitmentsAndContingencies_019d1c8f-1d18-7aba-9c2e-e3aba0a36389" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_019d1c8f-1d18-7a56-82f9-042a584567e3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentsOwnedPrincipalInvestmentsAtFairValue_019d1c8f-1d18-77d4-9615-1a21e38cea17" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentsOwnedPrincipalInvestmentsAtFairValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019d1c8f-1d18-7a56-82f9-042a584567e3" xlink:to="loc_us-gaap_FinancialInstrumentsOwnedPrincipalInvestmentsAtFairValue_019d1c8f-1d18-77d4-9615-1a21e38cea17" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019d1c8f-1d18-74bb-adfd-da7b39e50ed9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019d1c8f-1d18-7a56-82f9-042a584567e3" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019d1c8f-1d18-74bb-adfd-da7b39e50ed9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalents_019d1c8f-1d18-72cf-a860-c10b06518703" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedCashAndCashEquivalents"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019d1c8f-1d18-7a56-82f9-042a584567e3" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalents_019d1c8f-1d18-72cf-a860-c10b06518703" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredCostsCurrent_019d1c8f-1d18-757b-9304-288c74b70721" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredCostsCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019d1c8f-1d18-7a56-82f9-042a584567e3" xlink:to="loc_us-gaap_DeferredCostsCurrent_019d1c8f-1d18-757b-9304-288c74b70721" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssets_019d1c8f-1d18-753d-b876-220c58755bf8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PrepaidExpenseAndOtherAssets"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019d1c8f-1d18-7a56-82f9-042a584567e3" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssets_019d1c8f-1d18-753d-b876-220c58755bf8" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.tpvg.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited" xlink:type="simple" xlink:href="tpvg-20260331.xsd#CONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited"/>
  <link:calculationLink xlink:role="http://www.tpvg.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeOperatingAfterExpenseAndTax_019d94f0-c747-712b-9156-44019f2a08e0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentIncomeOperatingAfterExpenseAndTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetInvestmentIncome_019d94f0-c747-7901-bd92-387387cba907" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetInvestmentIncome"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeOperatingAfterExpenseAndTax_019d94f0-c747-712b-9156-44019f2a08e0" xlink:to="loc_us-gaap_NetInvestmentIncome_019d94f0-c747-7901-bd92-387387cba907" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyExciseTaxExpense_019d94f0-c747-7d59-b8ab-092699679906" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentCompanyExciseTaxExpense"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeOperatingAfterExpenseAndTax_019d94f0-c747-712b-9156-44019f2a08e0" xlink:to="loc_us-gaap_InvestmentCompanyExciseTaxExpense_019d94f0-c747-7d59-b8ab-092699679906" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetInvestmentIncome_019d1c8f-1d18-7f4d-a745-d97f5282e33f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetInvestmentIncome"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossInvestmentIncomeOperating_019d1c8f-1d18-7b76-b5e1-f99bc957a016" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GrossInvestmentIncomeOperating"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetInvestmentIncome_019d1c8f-1d18-7f4d-a745-d97f5282e33f" xlink:to="loc_us-gaap_GrossInvestmentIncomeOperating_019d1c8f-1d18-7b76-b5e1-f99bc957a016" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement_019d1c8f-1d18-70ff-82f2-1fc64e5bf351" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetInvestmentIncome_019d1c8f-1d18-7f4d-a745-d97f5282e33f" xlink:to="loc_us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement_019d1c8f-1d18-70ff-82f2-1fc64e5bf351" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeInvestmentExpense_019d1c8f-1d18-7421-ba43-f30ecc3ecb05" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentIncomeInvestmentExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ManagementFeeExpense_019d1c8f-1d18-744a-8314-e5afb163ef90" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ManagementFeeExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeInvestmentExpense_019d1c8f-1d18-7421-ba43-f30ecc3ecb05" xlink:to="loc_us-gaap_ManagementFeeExpense_019d1c8f-1d18-744a-8314-e5afb163ef90" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncentiveFeeExpense_019d1c8f-1d18-7009-96d9-9b5706d548c6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncentiveFeeExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeInvestmentExpense_019d1c8f-1d18-7421-ba43-f30ecc3ecb05" xlink:to="loc_us-gaap_IncentiveFeeExpense_019d1c8f-1d18-7009-96d9-9b5706d548c6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseOperating_019d1c8f-1d18-7712-b1e7-f72d31a192d1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpenseOperating"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeInvestmentExpense_019d1c8f-1d18-7421-ba43-f30ecc3ecb05" xlink:to="loc_us-gaap_InterestExpenseOperating_019d1c8f-1d18-7712-b1e7-f72d31a192d1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdministrativeFeesExpense_019d1c8f-1d18-74ab-ad3f-04a4553b9c1e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdministrativeFeesExpense"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeInvestmentExpense_019d1c8f-1d18-7421-ba43-f30ecc3ecb05" xlink:to="loc_us-gaap_AdministrativeFeesExpense_019d1c8f-1d18-74ab-ad3f-04a4553b9c1e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_019d1c8f-1d18-7c5c-91de-fb42bf4a794f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeneralAndAdministrativeExpense"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeInvestmentExpense_019d1c8f-1d18-7421-ba43-f30ecc3ecb05" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_019d1c8f-1d18-7c5c-91de-fb42bf4a794f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnInvestments_019d1c8f-1d18-7871-8097-adf921a048dc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainLossOnInvestments"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealizedInvestmentGainsLosses_019d1c8f-1d18-75f2-b954-0cfc479a8a3c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RealizedInvestmentGainsLosses"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GainLossOnInvestments_019d1c8f-1d18-7871-8097-adf921a048dc" xlink:to="loc_us-gaap_RealizedInvestmentGainsLosses_019d1c8f-1d18-75f2-b954-0cfc479a8a3c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossOnInvestments_019d1c8f-1d18-7f68-a5fd-2445bc874599" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_UnrealizedGainLossOnInvestments"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GainLossOnInvestments_019d1c8f-1d18-7871-8097-adf921a048dc" xlink:to="loc_us-gaap_UnrealizedGainLossOnInvestments_019d1c8f-1d18-7f68-a5fd-2445bc874599" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019d1c8f-1d18-7c6d-8b0d-02f7ac0e23e2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeOperatingAfterExpenseAndTax_019d1c8f-1d18-7320-b21e-d95373670464" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentIncomeOperatingAfterExpenseAndTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019d1c8f-1d18-7c6d-8b0d-02f7ac0e23e2" xlink:to="loc_us-gaap_InvestmentIncomeOperatingAfterExpenseAndTax_019d1c8f-1d18-7320-b21e-d95373670464" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnInvestments_019d1c8f-1d18-75cc-b3f1-fa7a10e13836" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainLossOnInvestments"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019d1c8f-1d18-7c6d-8b0d-02f7ac0e23e2" xlink:to="loc_us-gaap_GainLossOnInvestments_019d1c8f-1d18-75cc-b3f1-fa7a10e13836" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement_019d1c8f-1d18-7211-88c5-89563cd89638" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeInvestmentExpense_019d1c8f-1d18-7676-90e9-174c55e873f6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentIncomeInvestmentExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement_019d1c8f-1d18-7211-88c5-89563cd89638" xlink:to="loc_us-gaap_InvestmentIncomeInvestmentExpense_019d1c8f-1d18-7676-90e9-174c55e873f6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyIncentiveFeeWaivedIncomeBased_019d1c8f-1d18-77e9-8446-244c7f19a299" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentCompanyIncentiveFeeWaivedIncomeBased"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement_019d1c8f-1d18-7211-88c5-89563cd89638" xlink:to="loc_us-gaap_InvestmentCompanyIncentiveFeeWaivedIncomeBased_019d1c8f-1d18-77e9-8446-244c7f19a299" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossInvestmentIncomeOperating_019d1c8f-1d18-7625-a594-f92e19600eeb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GrossInvestmentIncomeOperating"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeInterest_019d1c8f-1d18-7547-96c3-f63b661657d4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentIncomeInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossInvestmentIncomeOperating_019d1c8f-1d18-7625-a594-f92e19600eeb" xlink:to="loc_us-gaap_InvestmentIncomeInterest_019d1c8f-1d18-7547-96c3-f63b661657d4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncome_019d1c8f-1d18-7ef1-8dfd-2690de1dac42" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NoninterestIncome"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossInvestmentIncomeOperating_019d1c8f-1d18-7625-a594-f92e19600eeb" xlink:to="loc_us-gaap_NoninterestIncome_019d1c8f-1d18-7ef1-8dfd-2690de1dac42" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FeeIncome_019d1c8f-1d18-7752-ba1f-728e30636ebf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FeeIncome"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossInvestmentIncomeOperating_019d1c8f-1d18-7625-a594-f92e19600eeb" xlink:to="loc_us-gaap_FeeIncome_019d1c8f-1d18-7752-ba1f-728e30636ebf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeOperatingPaidInKind_019d1c8f-1d18-72e7-b5f9-a1254ace541d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeOperatingPaidInKind"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossInvestmentIncomeOperating_019d1c8f-1d18-7625-a594-f92e19600eeb" xlink:to="loc_us-gaap_InterestIncomeOperatingPaidInKind_019d1c8f-1d18-72e7-b5f9-a1254ace541d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.tpvg.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited" xlink:type="simple" xlink:href="tpvg-20260331.xsd#CONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"/>
  <link:calculationLink xlink:role="http://www.tpvg.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019d1c8f-1d18-705f-b18a-72d9e3b83eb0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019d1c8f-1d18-71fb-b8a2-c1ba472234f2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019d1c8f-1d18-705f-b18a-72d9e3b83eb0" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019d1c8f-1d18-71fb-b8a2-c1ba472234f2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019d1c8f-1d18-767a-90e5-b7efccdb46a2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019d1c8f-1d18-705f-b18a-72d9e3b83eb0" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019d1c8f-1d18-767a-90e5-b7efccdb46a2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019d1c8f-1d18-73d4-97bc-afedea23c383" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalents_019d1c8f-1d18-797b-bdc4-c63195450a28" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedCashAndCashEquivalents"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019d1c8f-1d18-73d4-97bc-afedea23c383" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalents_019d1c8f-1d18-797b-bdc4-c63195450a28" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019d1c8f-1d18-7553-ac4a-82c4bc9c7531" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019d1c8f-1d18-73d4-97bc-afedea23c383" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019d1c8f-1d18-7553-ac4a-82c4bc9c7531" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019d1c8f-1d18-70f5-bcfd-bb7285f3bbc1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromDispositionOfInvestmentOperatingActivity_019d1c8f-1d18-7b6b-94a8-c6b1e9c484eb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromDispositionOfInvestmentOperatingActivity"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019d1c8f-1d18-70f5-bcfd-bb7285f3bbc1" xlink:to="loc_us-gaap_ProceedsFromDispositionOfInvestmentOperatingActivity_019d1c8f-1d18-7b6b-94a8-c6b1e9c484eb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_019d1c8f-1d18-732d-b3f9-4586d683e804" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019d1c8f-1d18-70f5-bcfd-bb7285f3bbc1" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_019d1c8f-1d18-732d-b3f9-4586d683e804" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities_019d1c8f-1d18-7884-a00b-9b0ba0a9499d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019d1c8f-1d18-70f5-bcfd-bb7285f3bbc1" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities_019d1c8f-1d18-7884-a00b-9b0ba0a9499d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInManagementFeePayable_019d1c8f-1d18-76a1-be9a-1c1640938576" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInManagementFeePayable"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019d1c8f-1d18-70f5-bcfd-bb7285f3bbc1" xlink:to="loc_us-gaap_IncreaseDecreaseInManagementFeePayable_019d1c8f-1d18-76a1-be9a-1c1640938576" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_tpvg_AccretionReductionOfEndOfTermPaymentsNet_019d1c8f-1d18-70bc-b320-027b6f0f88f1" xlink:href="tpvg-20260331.xsd#tpvg_AccretionReductionOfEndOfTermPaymentsNet"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019d1c8f-1d18-70f5-bcfd-bb7285f3bbc1" xlink:to="loc_tpvg_AccretionReductionOfEndOfTermPaymentsNet_019d1c8f-1d18-70bc-b320-027b6f0f88f1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_019d1c8f-1d18-71fc-81e9-fe448115efe6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019d1c8f-1d18-70f5-bcfd-bb7285f3bbc1" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_019d1c8f-1d18-71fc-81e9-fe448115efe6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019d1c8f-1d18-74c6-8972-ee4d0515094b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019d1c8f-1d18-70f5-bcfd-bb7285f3bbc1" xlink:to="loc_us-gaap_NetIncomeLoss_019d1c8f-1d18-74c6-8972-ee4d0515094b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForPurchaseOfInvestmentOperatingActivity_019d1c8f-1d18-792a-b477-0eb200189e29" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsForPurchaseOfInvestmentOperatingActivity"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019d1c8f-1d18-70f5-bcfd-bb7285f3bbc1" xlink:to="loc_us-gaap_PaymentsForPurchaseOfInvestmentOperatingActivity_019d1c8f-1d18-792a-b477-0eb200189e29" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossOnInvestments_019d1c8f-1d18-7c99-9d90-a56b2773b7e5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_UnrealizedGainLossOnInvestments"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019d1c8f-1d18-70f5-bcfd-bb7285f3bbc1" xlink:to="loc_us-gaap_UnrealizedGainLossOnInvestments_019d1c8f-1d18-7c99-9d90-a56b2773b7e5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeOperatingPaidInKind_019d1c8f-1d18-7d82-be86-81106496f14b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeOperatingPaidInKind"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019d1c8f-1d18-70f5-bcfd-bb7285f3bbc1" xlink:to="loc_us-gaap_InterestIncomeOperatingPaidInKind_019d1c8f-1d18-7d82-be86-81106496f14b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_019d1c8f-1d18-75cc-9751-898043caf727" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AmortizationOfFinancingCosts"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019d1c8f-1d18-70f5-bcfd-bb7285f3bbc1" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_019d1c8f-1d18-75cc-9751-898043caf727" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfInvestments_019d1c8f-1d18-758b-b212-449d3aa0819d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainLossOnSaleOfInvestments"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019d1c8f-1d18-70f5-bcfd-bb7285f3bbc1" xlink:to="loc_us-gaap_GainLossOnSaleOfInvestments_019d1c8f-1d18-758b-b212-449d3aa0819d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019d1c8f-1d18-7f9d-ade5-4fd283a548d3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromLinesOfCredit_019d1c8f-1d18-7ab2-bc48-9511661f9bd4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromLinesOfCredit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019d1c8f-1d18-7f9d-ade5-4fd283a548d3" xlink:to="loc_us-gaap_ProceedsFromLinesOfCredit_019d1c8f-1d18-7ab2-bc48-9511661f9bd4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLinesOfCredit_019d1c8f-1d18-7ab6-bdd2-6b5d19e0e106" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RepaymentsOfLinesOfCredit"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019d1c8f-1d18-7f9d-ade5-4fd283a548d3" xlink:to="loc_us-gaap_RepaymentsOfLinesOfCredit_019d1c8f-1d18-7ab6-bdd2-6b5d19e0e106" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDistributionsToAffiliates_019d1c8f-1d18-7225-8a5f-26e94bdc1c2e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsOfDistributionsToAffiliates"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019d1c8f-1d18-7f9d-ade5-4fd283a548d3" xlink:to="loc_us-gaap_PaymentsOfDistributionsToAffiliates_019d1c8f-1d18-7225-8a5f-26e94bdc1c2e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfUnsecuredDebt_019d1c8f-1d18-7dd5-b321-628c696490d4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromIssuanceOfUnsecuredDebt"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019d1c8f-1d18-7f9d-ade5-4fd283a548d3" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfUnsecuredDebt_019d1c8f-1d18-7dd5-b321-628c696490d4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_019d1c8f-1d18-7d02-9da4-1304dacba14d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsOfDebtIssuanceCosts"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019d1c8f-1d18-7f9d-ade5-4fd283a548d3" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_019d1c8f-1d18-7d02-9da4-1304dacba14d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfUnsecuredDebt_019dc326-58cb-7587-bd47-47af7db7bef1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RepaymentsOfUnsecuredDebt"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019d1c8f-1d18-7f9d-ade5-4fd283a548d3" xlink:to="loc_us-gaap_RepaymentsOfUnsecuredDebt_019dc326-58cb-7587-bd47-47af7db7bef1" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.tpvg.com/role/BorrowingsScheduleofDebtDetails" xlink:type="simple" xlink:href="tpvg-20260331.xsd#BorrowingsScheduleofDebtDetails"/>
  <link:calculationLink xlink:role="http://www.tpvg.com/role/BorrowingsScheduleofDebtDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_019d1c8f-1d19-7816-82ac-f0d0a508d4f6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebt"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_019d1c8f-1d19-70a7-ad7f-cffdf3a34e70" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_019d1c8f-1d19-7816-82ac-f0d0a508d4f6" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_019d1c8f-1d19-70a7-ad7f-cffdf3a34e70" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_019d1c8f-1d19-7923-bfa2-f902494b85db" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_019d1c8f-1d19-7816-82ac-f0d0a508d4f6" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_019d1c8f-1d19-7923-bfa2-f902494b85db" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_019d1c8f-1d19-7a08-8c49-ab5638bf3907" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_019d1c8f-1d19-77d1-982a-54682d032c2d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_019d1c8f-1d19-7a08-8c49-ab5638bf3907" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_019d1c8f-1d19-77d1-982a-54682d032c2d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity_019d1c8f-1d19-7751-809a-69cc31a1c0ca" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_019d1c8f-1d19-7a08-8c49-ab5638bf3907" xlink:to="loc_us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity_019d1c8f-1d19-7751-809a-69cc31a1c0ca" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.tpvg.com/role/BorrowingsScheduleofInterestExpenseandAmortizationofFeesDetails" xlink:type="simple" xlink:href="tpvg-20260331.xsd#BorrowingsScheduleofInterestExpenseandAmortizationofFeesDetails"/>
  <link:calculationLink xlink:role="http://www.tpvg.com/role/BorrowingsScheduleofInterestExpenseandAmortizationofFeesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDebtExpense_019d1c8f-1d19-7084-a621-fa33e501bbf3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestAndDebtExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDebtExcludingAmortization_019d1c8f-1d19-7619-bfdc-7f937e3ad726" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpenseDebtExcludingAmortization"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDebtExpense_019d1c8f-1d19-7084-a621-fa33e501bbf3" xlink:to="loc_us-gaap_InterestExpenseDebtExcludingAmortization_019d1c8f-1d19-7619-bfdc-7f937e3ad726" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_019d1c8f-1d19-7e7f-b7d4-aac5c9fc4963" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AmortizationOfFinancingCosts"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDebtExpense_019d1c8f-1d19-7084-a621-fa33e501bbf3" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_019d1c8f-1d19-7e7f-b7d4-aac5c9fc4963" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityCommitmentFeeAmount_019d1c8f-1d19-7ffe-b091-cb0d25b8641a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LineOfCreditFacilityCommitmentFeeAmount"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDebtExpense_019d1c8f-1d19-7084-a621-fa33e501bbf3" xlink:to="loc_us-gaap_LineOfCreditFacilityCommitmentFeeAmount_019d1c8f-1d19-7ffe-b091-cb0d25b8641a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.tpvg.com/role/CommitmentsandContingenciesScheduleofExpiringUnfundedCommitmentsDetails" xlink:type="simple" xlink:href="tpvg-20260331.xsd#CommitmentsandContingenciesScheduleofExpiringUnfundedCommitmentsDetails"/>
  <link:calculationLink xlink:role="http://www.tpvg.com/role/CommitmentsandContingenciesScheduleofExpiringUnfundedCommitmentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractualObligation_019d1c8f-1d19-76e9-b9b8-15bc96c2ce1c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractualObligation"/>
    <link:loc xlink:type="locator" xlink:label="loc_tpvg_ContractualObligationContingentCommitments_019d1c8f-1d19-7f70-b4a8-448b4a2bded5" xlink:href="tpvg-20260331.xsd#tpvg_ContractualObligationContingentCommitments"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ContractualObligation_019d1c8f-1d19-76e9-b9b8-15bc96c2ce1c" xlink:to="loc_tpvg_ContractualObligationContingentCommitments_019d1c8f-1d19-7f70-b4a8-448b4a2bded5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractualObligationDueInThirdYear_019d1c8f-1d19-7371-aa13-c07fdea3930b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractualObligationDueInThirdYear"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ContractualObligation_019d1c8f-1d19-76e9-b9b8-15bc96c2ce1c" xlink:to="loc_us-gaap_ContractualObligationDueInThirdYear_019d1c8f-1d19-7371-aa13-c07fdea3930b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractualObligationDueInNextTwelveMonths_019d1c8f-1d19-7d28-9c16-c6569c0c6f85" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractualObligationDueInNextTwelveMonths"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ContractualObligation_019d1c8f-1d19-76e9-b9b8-15bc96c2ce1c" xlink:to="loc_us-gaap_ContractualObligationDueInNextTwelveMonths_019d1c8f-1d19-7d28-9c16-c6569c0c6f85" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractualObligationDueInSecondYear_019d1c8f-1d19-70a3-b515-df37ee016120" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractualObligationDueInSecondYear"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ContractualObligation_019d1c8f-1d19-76e9-b9b8-15bc96c2ce1c" xlink:to="loc_us-gaap_ContractualObligationDueInSecondYear_019d1c8f-1d19-70a3-b515-df37ee016120" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.tpvg.com/role/FinancialHighlightsScheduleofWeightedAverageYieldDetails" xlink:type="simple" xlink:href="tpvg-20260331.xsd#FinancialHighlightsScheduleofWeightedAverageYieldDetails"/>
  <link:calculationLink xlink:role="http://www.tpvg.com/role/FinancialHighlightsScheduleofWeightedAverageYieldDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentInterestRate_019d1c8f-1de1-7ae2-a280-d21b19f03c4c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentInterestRate"/>
    <link:loc xlink:type="locator" xlink:label="loc_tpvg_InvestmentInterestRateImpactOfPrepayments_019d1c8f-1de1-7801-9a46-02f8588e2664" xlink:href="tpvg-20260331.xsd#tpvg_InvestmentInterestRateImpactOfPrepayments"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentInterestRate_019d1c8f-1de1-7ae2-a280-d21b19f03c4c" xlink:to="loc_tpvg_InvestmentInterestRateImpactOfPrepayments_019d1c8f-1de1-7801-9a46-02f8588e2664" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_tpvg_InvestmentInterestRateAccretionOfDiscount_019d1c8f-1de1-7c64-961e-4fd27a4663b8" xlink:href="tpvg-20260331.xsd#tpvg_InvestmentInterestRateAccretionOfDiscount"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentInterestRate_019d1c8f-1de1-7ae2-a280-d21b19f03c4c" xlink:to="loc_tpvg_InvestmentInterestRateAccretionOfDiscount_019d1c8f-1de1-7c64-961e-4fd27a4663b8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_tpvg_InvestmentInterestRateAccretionOfEndOfTermPayments_019d1c8f-1de1-7ab8-8462-cf3ff393a4bd" xlink:href="tpvg-20260331.xsd#tpvg_InvestmentInterestRateAccretionOfEndOfTermPayments"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentInterestRate_019d1c8f-1de1-7ae2-a280-d21b19f03c4c" xlink:to="loc_tpvg_InvestmentInterestRateAccretionOfEndOfTermPayments_019d1c8f-1de1-7ab8-8462-cf3ff393a4bd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_tpvg_InvestmentInterestRateCouponIncome_019d1c8f-1de1-7790-b6ef-71e81858ac0d" xlink:href="tpvg-20260331.xsd#tpvg_InvestmentInterestRateCouponIncome"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentInterestRate_019d1c8f-1de1-7ae2-a280-d21b19f03c4c" xlink:to="loc_tpvg_InvestmentInterestRateCouponIncome_019d1c8f-1de1-7790-b6ef-71e81858ac0d" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
