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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:019eb289-8f50-719d-8d59-e47fd1cf854a,g:73dd1c5f-2cc7-4340-b33f-c5d9917769ce-->
<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:arcroleRef arcroleURI="https://xbrl.org/2023/arcrole/summation-item" xlink:type="simple" xlink:href="https://www.xbrl.org/2023/calculation-1.1.xsd#summation-item"/>
  <link:roleRef roleURI="http://www.opc.com/role/ConsolidatedBalanceSheetsUnaudited" xlink:type="simple" xlink:href="opc-20260630.xsd#ConsolidatedBalanceSheetsUnaudited"/>
  <link:calculationLink xlink:role="http://www.opc.com/role/ConsolidatedBalanceSheetsUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_019eb289-9021-7a43-b38d-172521eef732" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019eb289-9021-7ec5-93e1-82ddc822d74b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019eb289-9021-7a43-b38d-172521eef732" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019eb289-9021-7ec5-93e1-82ddc822d74b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReceivablesNetCurrent_019eb289-9021-7dc9-81c5-c4e0547aabbe" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReceivablesNetCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019eb289-9021-7a43-b38d-172521eef732" xlink:to="loc_us-gaap_ReceivablesNetCurrent_019eb289-9021-7dc9-81c5-c4e0547aabbe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PublicUtilitiesInventory_019eb289-9021-7363-bcc3-5efc9e3ddfaa" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PublicUtilitiesInventory"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019eb289-9021-7a43-b38d-172521eef732" xlink:to="loc_us-gaap_PublicUtilitiesInventory_019eb289-9021-7363-bcc3-5efc9e3ddfaa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_019eb289-9021-714a-8e21-0e726059ef0a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019eb289-9021-7a43-b38d-172521eef732" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_019eb289-9021-714a-8e21-0e726059ef0a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermInvestments_019eb289-9021-70fe-851f-4379adcf1278" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShortTermInvestments"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019eb289-9021-7a43-b38d-172521eef732" xlink:to="loc_us-gaap_ShortTermInvestments_019eb289-9021-70fe-851f-4379adcf1278" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndInvestmentsCurrent_019eb289-9021-76ef-b577-33fa27ee2223" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestrictedCashAndInvestmentsCurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019eb289-9021-7a43-b38d-172521eef732" xlink:to="loc_us-gaap_RestrictedCashAndInvestmentsCurrent_019eb289-9021-76ef-b577-33fa27ee2223" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PublicUtilitiesPropertyPlantAndEquipmentNet_019eb289-9021-729d-8785-eb55cf13df35" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PublicUtilitiesPropertyPlantAndEquipmentNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_opc_PublicUtilitiesPropertyPlantAndEquipmentPlantInServiceNet_019eb289-9021-7667-9781-80509b005ae3" xlink:href="opc-20260630.xsd#opc_PublicUtilitiesPropertyPlantAndEquipmentPlantInServiceNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PublicUtilitiesPropertyPlantAndEquipmentNet_019eb289-9021-729d-8785-eb55cf13df35" xlink:to="loc_opc_PublicUtilitiesPropertyPlantAndEquipmentPlantInServiceNet_019eb289-9021-7667-9781-80509b005ae3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NuclearFuelNetOfAmortization_019eb289-9021-7c42-ae9f-af153bd19344" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NuclearFuelNetOfAmortization"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PublicUtilitiesPropertyPlantAndEquipmentNet_019eb289-9021-729d-8785-eb55cf13df35" xlink:to="loc_us-gaap_NuclearFuelNetOfAmortization_019eb289-9021-7c42-ae9f-af153bd19344" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PublicUtilitiesPropertyPlantAndEquipmentConstructionWorkInProgress_019eb289-9021-71d6-9b30-0de7eccafa3c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PublicUtilitiesPropertyPlantAndEquipmentConstructionWorkInProgress"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PublicUtilitiesPropertyPlantAndEquipmentNet_019eb289-9021-729d-8785-eb55cf13df35" xlink:to="loc_us-gaap_PublicUtilitiesPropertyPlantAndEquipmentConstructionWorkInProgress_019eb289-9021-71d6-9b30-0de7eccafa3c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_019eb289-9021-72b2-b9dd-88450a701d0e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PublicUtilitiesPropertyPlantAndEquipmentNet_019eb289-9021-7380-b34a-f5175bb9d746" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PublicUtilitiesPropertyPlantAndEquipmentNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019eb289-9021-72b2-b9dd-88450a701d0e" xlink:to="loc_us-gaap_PublicUtilitiesPropertyPlantAndEquipmentNet_019eb289-9021-7380-b34a-f5175bb9d746" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermInvestments_019eb289-9021-7453-9c83-dfac9e8434c9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermInvestments"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019eb289-9021-72b2-b9dd-88450a701d0e" xlink:to="loc_us-gaap_LongTermInvestments_019eb289-9021-7453-9c83-dfac9e8434c9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_019eb289-9021-7155-99c0-36dc88e54474" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetsCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019eb289-9021-72b2-b9dd-88450a701d0e" xlink:to="loc_us-gaap_AssetsCurrent_019eb289-9021-7155-99c0-36dc88e54474" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsNoncurrentOtherThanNoncurrentInvestmentsAndPropertyPlantAndEquipment_019eb289-9021-78d1-b683-d2a2f7e6672d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetsNoncurrentOtherThanNoncurrentInvestmentsAndPropertyPlantAndEquipment"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019eb289-9021-72b2-b9dd-88450a701d0e" xlink:to="loc_us-gaap_AssetsNoncurrentOtherThanNoncurrentInvestmentsAndPropertyPlantAndEquipment_019eb289-9021-78d1-b683-d2a2f7e6672d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_019eb289-9021-7828-983e-45cd70e145d2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalizationLongtermDebtAndEquity_019eb289-9021-73ba-b23c-82dbd9f7db99" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CapitalizationLongtermDebtAndEquity"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019eb289-9021-7828-983e-45cd70e145d2" xlink:to="loc_us-gaap_CapitalizationLongtermDebtAndEquity_019eb289-9021-73ba-b23c-82dbd9f7db99" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_019eb289-9021-7ec7-a952-b06e7e541310" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019eb289-9021-7828-983e-45cd70e145d2" xlink:to="loc_us-gaap_LiabilitiesCurrent_019eb289-9021-7ec7-a952-b06e7e541310" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesNoncurrent_019eb289-9021-743c-adfc-6129ef257198" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019eb289-9021-7828-983e-45cd70e145d2" xlink:to="loc_us-gaap_LiabilitiesNoncurrent_019eb289-9021-743c-adfc-6129ef257198" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesNoncurrent_019eb289-9021-70b5-b840-333f02726395" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesNoncurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetRetirementObligationsNoncurrent_019eb289-9021-7c71-94a0-bd6af8b783cb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetRetirementObligationsNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesNoncurrent_019eb289-9021-70b5-b840-333f02726395" xlink:to="loc_us-gaap_AssetRetirementObligationsNoncurrent_019eb289-9021-7c71-94a0-bd6af8b783cb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_019eb289-9021-71ee-9011-a950c3868e69" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ContractWithCustomerLiabilityNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesNoncurrent_019eb289-9021-70b5-b840-333f02726395" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_019eb289-9021-71ee-9011-a950c3868e69" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RegulatoryLiabilityNoncurrent_019eb289-9021-7380-bbaf-0e56a10a105e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RegulatoryLiabilityNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesNoncurrent_019eb289-9021-70b5-b840-333f02726395" xlink:to="loc_us-gaap_RegulatoryLiabilityNoncurrent_019eb289-9021-7380-bbaf-0e56a10a105e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_019eb289-9021-7ce9-858d-e26b85477166" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesNoncurrent_019eb289-9021-70b5-b840-333f02726395" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_019eb289-9021-7ce9-858d-e26b85477166" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opc_PublicUtilitiesPropertyPlantAndEquipmentPlantInServiceNet_019eb289-9021-74a6-b506-6f1296a6fcda" xlink:href="opc-20260630.xsd#opc_PublicUtilitiesPropertyPlantAndEquipmentPlantInServiceNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PublicUtilitiesPropertyPlantAndEquipmentPlantInService_019eb289-9021-77ae-8ff5-690f09fb4181" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PublicUtilitiesPropertyPlantAndEquipmentPlantInService"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_opc_PublicUtilitiesPropertyPlantAndEquipmentPlantInServiceNet_019eb289-9021-74a6-b506-6f1296a6fcda" xlink:to="loc_us-gaap_PublicUtilitiesPropertyPlantAndEquipmentPlantInService_019eb289-9021-77ae-8ff5-690f09fb4181" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAssetBeforeAccumulatedAmortization_019eb289-9021-778c-ab2c-7b49198ce1f5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseRightOfUseAssetBeforeAccumulatedAmortization"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_opc_PublicUtilitiesPropertyPlantAndEquipmentPlantInServiceNet_019eb289-9021-74a6-b506-6f1296a6fcda" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAssetBeforeAccumulatedAmortization_019eb289-9021-778c-ab2c-7b49198ce1f5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PublicUtilitiesPropertyPlantAndEquipmentAccumulatedDepreciation_019eb289-9021-77ff-a885-ae16397815fb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PublicUtilitiesPropertyPlantAndEquipmentAccumulatedDepreciation"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_opc_PublicUtilitiesPropertyPlantAndEquipmentPlantInServiceNet_019eb289-9021-74a6-b506-6f1296a6fcda" xlink:to="loc_us-gaap_PublicUtilitiesPropertyPlantAndEquipmentAccumulatedDepreciation_019eb289-9021-77ff-a885-ae16397815fb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsNoncurrentOtherThanNoncurrentInvestmentsAndPropertyPlantAndEquipment_019eb289-9021-74db-ac88-ce83c93a0f49" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetsNoncurrentOtherThanNoncurrentInvestmentsAndPropertyPlantAndEquipment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RegulatoryAssetsNoncurrent_019eb289-9021-7189-8072-15d0fac55294" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RegulatoryAssetsNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsNoncurrentOtherThanNoncurrentInvestmentsAndPropertyPlantAndEquipment_019eb289-9021-74db-ac88-ce83c93a0f49" xlink:to="loc_us-gaap_RegulatoryAssetsNoncurrent_019eb289-9021-7189-8072-15d0fac55294" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseCurrentAndNoncurrent_019eb289-9021-7b6d-ae0e-064026529670" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PrepaidExpenseCurrentAndNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsNoncurrentOtherThanNoncurrentInvestmentsAndPropertyPlantAndEquipment_019eb289-9021-74db-ac88-ce83c93a0f49" xlink:to="loc_us-gaap_PrepaidExpenseCurrentAndNoncurrent_019eb289-9021-7b6d-ae0e-064026529670" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherDeferredCostsNet_019eb289-9021-73a9-a2ce-3f597cd095a9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherDeferredCostsNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsNoncurrentOtherThanNoncurrentInvestmentsAndPropertyPlantAndEquipment_019eb289-9021-74db-ac88-ce83c93a0f49" xlink:to="loc_us-gaap_OtherDeferredCostsNet_019eb289-9021-73a9-a2ce-3f597cd095a9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalizationLongtermDebtAndEquity_019eb289-9021-7d71-8407-712609754765" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CapitalizationLongtermDebtAndEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_019eb289-9021-79c5-84be-57b0f8d8a4d0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CapitalizationLongtermDebtAndEquity_019eb289-9021-7d71-8407-712609754765" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_019eb289-9021-79c5-84be-57b0f8d8a4d0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_019eb289-9021-7c10-be99-7ba650110966" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CapitalizationLongtermDebtAndEquity_019eb289-9021-7d71-8407-712609754765" xlink:to="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_019eb289-9021-7c10-be99-7ba650110966" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opc_PatronageCapitalAndMembershipFees_019eb289-9021-7330-a4c2-e44e60fd7923" xlink:href="opc-20260630.xsd#opc_PatronageCapitalAndMembershipFees"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CapitalizationLongtermDebtAndEquity_019eb289-9021-7d71-8407-712609754765" xlink:to="loc_opc_PatronageCapitalAndMembershipFees_019eb289-9021-7330-a4c2-e44e60fd7923" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opc_OtherCapitalizationObligationsNoncurrent_019eb289-9021-7859-be6e-18114ea0f93b" xlink:href="opc-20260630.xsd#opc_OtherCapitalizationObligationsNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CapitalizationLongtermDebtAndEquity_019eb289-9021-7d71-8407-712609754765" xlink:to="loc_opc_OtherCapitalizationObligationsNoncurrent_019eb289-9021-7859-be6e-18114ea0f93b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opc_ObligationUnderHydroFacilityTransactions_019eb289-9021-7201-a48b-f78154e773a8" xlink:href="opc-20260630.xsd#opc_ObligationUnderHydroFacilityTransactions"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CapitalizationLongtermDebtAndEquity_019eb289-9021-7d71-8407-712609754765" xlink:to="loc_opc_ObligationUnderHydroFacilityTransactions_019eb289-9021-7201-a48b-f78154e773a8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_019eb289-9021-79d9-a219-90b31ec8c364" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent_019eb289-9021-719a-aacc-9d91071f576c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019eb289-9021-79d9-a219-90b31ec8c364" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent_019eb289-9021-719a-aacc-9d91071f576c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermBorrowings_019eb289-9021-70a7-b91d-49d8b108bc91" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShortTermBorrowings"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019eb289-9021-79d9-a219-90b31ec8c364" xlink:to="loc_us-gaap_ShortTermBorrowings_019eb289-9021-70a7-b91d-49d8b108bc91" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_019eb289-9021-7bd9-a6c7-70514836eb85" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsPayableCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019eb289-9021-79d9-a219-90b31ec8c364" xlink:to="loc_us-gaap_AccountsPayableCurrent_019eb289-9021-7bd9-a6c7-70514836eb85" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPayableCurrent_019eb289-9021-7b59-bdd0-eec659629208" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestPayableCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019eb289-9021-79d9-a219-90b31ec8c364" xlink:to="loc_us-gaap_InterestPayableCurrent_019eb289-9021-7b59-bdd0-eec659629208" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_019eb289-9021-7f1c-b045-24f15e0f125b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ContractWithCustomerLiabilityCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019eb289-9021-79d9-a219-90b31ec8c364" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_019eb289-9021-7f1c-b045-24f15e0f125b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_019eb289-9021-7919-8870-e1879ea038bd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019eb289-9021-79d9-a219-90b31ec8c364" xlink:to="loc_us-gaap_OtherLiabilitiesCurrent_019eb289-9021-7919-8870-e1879ea038bd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermInvestments_019eb289-9021-7c21-97c2-84be0c59b195" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermInvestments"/>
    <link:loc xlink:type="locator" xlink:label="loc_opc_NuclearDecommissioningTrustFundsFairValue_019eb289-9021-77f1-b81f-62bbcc72ca66" xlink:href="opc-20260630.xsd#opc_NuclearDecommissioningTrustFundsFairValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermInvestments_019eb289-9021-7c21-97c2-84be0c59b195" xlink:to="loc_opc_NuclearDecommissioningTrustFundsFairValue_019eb289-9021-77f1-b81f-62bbcc72ca66" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestments_019eb289-9021-78d7-af04-175081f1393e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityMethodInvestments"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermInvestments_019eb289-9021-7c21-97c2-84be0c59b195" xlink:to="loc_us-gaap_EquityMethodInvestments_019eb289-9021-78d7-af04-175081f1393e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketableSecuritiesNoncurrent_019eb289-9021-707a-8ad2-ba1685fb77a8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_MarketableSecuritiesNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermInvestments_019eb289-9021-7c21-97c2-84be0c59b195" xlink:to="loc_us-gaap_MarketableSecuritiesNoncurrent_019eb289-9021-707a-8ad2-ba1685fb77a8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLongTermInvestments_019eb289-9021-7921-b7f6-7b13e40271bc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherLongTermInvestments"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermInvestments_019eb289-9021-7c21-97c2-84be0c59b195" xlink:to="loc_us-gaap_OtherLongTermInvestments_019eb289-9021-7921-b7f6-7b13e40271bc" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.opc.com/role/ConsolidatedStatementsofRevenuesandExpensesUnaudited" xlink:type="simple" xlink:href="opc-20260630.xsd#ConsolidatedStatementsofRevenuesandExpensesUnaudited"/>
  <link:calculationLink xlink:role="http://www.opc.com/role/ConsolidatedStatementsofRevenuesandExpensesUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_019eb289-9021-7fa8-8170-96b928f3eb14" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019eb289-9021-7e17-9133-41b2bc7fa4d5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_019eb289-9021-7fa8-8170-96b928f3eb14" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019eb289-9021-7e17-9133-41b2bc7fa4d5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UtilitiesOperatingExpense_019eb289-9021-7e47-b23c-0d14f24bc0c2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UtilitiesOperatingExpense"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_019eb289-9021-7fa8-8170-96b928f3eb14" xlink:to="loc_us-gaap_UtilitiesOperatingExpense_019eb289-9021-7e47-b23c-0d14f24bc0c2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_019eb289-9021-7d0e-bc62-97b05f2aeceb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NonoperatingIncomeExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_019eb289-9021-7315-90b6-7a52fad46707" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_019eb289-9021-7d0e-bc62-97b05f2aeceb" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_019eb289-9021-7315-90b6-7a52fad46707" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opc_InvestmentIncomeNetAndGainLoss_019eb289-9021-72ca-8881-07af1dd50cf5" xlink:href="opc-20260630.xsd#opc_InvestmentIncomeNetAndGainLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_019eb289-9021-7d0e-bc62-97b05f2aeceb" xlink:to="loc_opc_InvestmentIncomeNetAndGainLoss_019eb289-9021-72ca-8881-07af1dd50cf5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UtilitiesOperatingExpense_019eb289-9021-7ba3-bdcb-f35b93037867" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UtilitiesOperatingExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UtilitiesOperatingExpenseFuelUsed_019eb289-9021-71b3-bb29-801c82391247" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UtilitiesOperatingExpenseFuelUsed"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_UtilitiesOperatingExpense_019eb289-9021-7ba3-bdcb-f35b93037867" xlink:to="loc_us-gaap_UtilitiesOperatingExpenseFuelUsed_019eb289-9021-71b3-bb29-801c82391247" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UtilitiesOperatingExpenseProductsAndServices_019eb289-9021-7fe8-83f6-dcc36dbffa63" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UtilitiesOperatingExpenseProductsAndServices"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_UtilitiesOperatingExpense_019eb289-9021-7ba3-bdcb-f35b93037867" xlink:to="loc_us-gaap_UtilitiesOperatingExpenseProductsAndServices_019eb289-9021-7fe8-83f6-dcc36dbffa63" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UtilitiesOperatingExpenseDepreciationAndAmortization_019eb289-9021-7ff5-909d-5401cdb100c8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UtilitiesOperatingExpenseDepreciationAndAmortization"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_UtilitiesOperatingExpense_019eb289-9021-7ba3-bdcb-f35b93037867" xlink:to="loc_us-gaap_UtilitiesOperatingExpenseDepreciationAndAmortization_019eb289-9021-7ff5-909d-5401cdb100c8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UtilitiesOperatingExpensePurchasedPower_019eb289-9021-79ce-8bc2-e3663a9d817e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UtilitiesOperatingExpensePurchasedPower"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_UtilitiesOperatingExpense_019eb289-9021-7ba3-bdcb-f35b93037867" xlink:to="loc_us-gaap_UtilitiesOperatingExpensePurchasedPower_019eb289-9021-79ce-8bc2-e3663a9d817e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetRetirementObligationAccretionExpense_019eb289-9021-7b8a-a7be-75b0835492a6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetRetirementObligationAccretionExpense"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_UtilitiesOperatingExpense_019eb289-9021-7ba3-bdcb-f35b93037867" xlink:to="loc_us-gaap_AssetRetirementObligationAccretionExpense_019eb289-9021-7b8a-a7be-75b0835492a6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019eb289-9021-7f7f-93b1-7202123095e1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_019eb289-9021-7f83-9d77-222ea70d471d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019eb289-9021-7f7f-93b1-7202123095e1" xlink:to="loc_us-gaap_OperatingIncomeLoss_019eb289-9021-7f83-9d77-222ea70d471d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_019eb289-9021-73dd-a68a-1e943d270424" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NonoperatingIncomeExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019eb289-9021-7f7f-93b1-7202123095e1" xlink:to="loc_us-gaap_NonoperatingIncomeExpense_019eb289-9021-73dd-a68a-1e943d270424" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDebtExpense_019eb289-9021-7151-ade9-3e751ed803c5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestAndDebtExpense"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019eb289-9021-7f7f-93b1-7202123095e1" xlink:to="loc_us-gaap_InterestAndDebtExpense_019eb289-9021-7151-ade9-3e751ed803c5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDebtExpense_019eb289-9021-72be-9523-6be455d3432a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestAndDebtExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_019eb289-9021-779c-9b2b-e8d7d7502c16" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AmortizationOfFinancingCostsAndDiscounts"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDebtExpense_019eb289-9021-72be-9523-6be455d3432a" xlink:to="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_019eb289-9021-779c-9b2b-e8d7d7502c16" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseNonoperating_019eb289-9021-762b-bbdc-477ca98dab0f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpenseNonoperating"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDebtExpense_019eb289-9021-72be-9523-6be455d3432a" xlink:to="loc_us-gaap_InterestExpenseNonoperating_019eb289-9021-762b-bbdc-477ca98dab0f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opc_AllowanceForDebtFundsUsedDuringConstruction_019eb289-9021-7473-b022-fa6ef2625253" xlink:href="opc-20260630.xsd#opc_AllowanceForDebtFundsUsedDuringConstruction"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDebtExpense_019eb289-9021-72be-9523-6be455d3432a" xlink:to="loc_opc_AllowanceForDebtFundsUsedDuringConstruction_019eb289-9021-7473-b022-fa6ef2625253" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.opc.com/role/ConsolidatedStatementsofCashFlowsUnaudited" xlink:type="simple" xlink:href="opc-20260630.xsd#ConsolidatedStatementsofCashFlowsUnaudited"/>
  <link:calculationLink xlink:role="http://www.opc.com/role/ConsolidatedStatementsofCashFlowsUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019eb289-90e6-7283-8229-0fc0eb067cf0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019eb289-90e6-73a2-b0b9-6dc2f3b3a17d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019eb289-90e6-7283-8229-0fc0eb067cf0" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019eb289-90e6-73a2-b0b9-6dc2f3b3a17d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019eb289-90e6-78b9-b96a-fc1445e91a0d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019eb289-90e6-7283-8229-0fc0eb067cf0" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019eb289-90e6-78b9-b96a-fc1445e91a0d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019eb289-90e6-7886-a250-ff48c0be34fc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019eb289-90e6-7283-8229-0fc0eb067cf0" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019eb289-90e6-7886-a250-ff48c0be34fc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019eb289-90e6-733d-8073-d0f35e0efde5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireProductiveAssets_019eb289-90e6-7027-aa14-aab2d5ec524d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquireProductiveAssets"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019eb289-90e6-733d-8073-d0f35e0efde5" xlink:to="loc_us-gaap_PaymentsToAcquireProductiveAssets_019eb289-90e6-7027-aa14-aab2d5ec524d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToInvestInDecommissioningFund_019eb289-90e6-7f72-9dd4-771010bf7ae5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToInvestInDecommissioningFund"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019eb289-90e6-733d-8073-d0f35e0efde5" xlink:to="loc_us-gaap_PaymentsToInvestInDecommissioningFund_019eb289-90e6-7f72-9dd4-771010bf7ae5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromDecommissioningFund_019eb289-90e6-769e-9d9b-cfe39ab1f2e1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromDecommissioningFund"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019eb289-90e6-733d-8073-d0f35e0efde5" xlink:to="loc_us-gaap_ProceedsFromDecommissioningFund_019eb289-90e6-769e-9d9b-cfe39ab1f2e1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireMarketableSecurities_019eb289-90e6-7768-ba6b-a1ca2c48bb73" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquireMarketableSecurities"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019eb289-90e6-733d-8073-d0f35e0efde5" xlink:to="loc_us-gaap_PaymentsToAcquireMarketableSecurities_019eb289-90e6-7768-ba6b-a1ca2c48bb73" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities_019eb289-90e6-70e8-8c7d-768716bab401" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019eb289-90e6-733d-8073-d0f35e0efde5" xlink:to="loc_us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities_019eb289-90e6-70e8-8c7d-768716bab401" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_019eb289-90e6-7904-bb4a-0927cc63b39c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019eb289-90e6-733d-8073-d0f35e0efde5" xlink:to="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_019eb289-90e6-7904-bb4a-0927cc63b39c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opc_ProceedsFromNuclearFuelCostsRecovery_019eb289-90e6-770b-8591-934e9419b554" xlink:href="opc-20260630.xsd#opc_ProceedsFromNuclearFuelCostsRecovery"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019eb289-90e6-733d-8073-d0f35e0efde5" xlink:to="loc_opc_ProceedsFromNuclearFuelCostsRecovery_019eb289-90e6-770b-8591-934e9419b554" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019eb289-90e6-7a7d-b602-ce32fc6415d2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019eb289-90e6-76da-ae51-eab62d9d9b46" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019eb289-90e6-7a7d-b602-ce32fc6415d2" xlink:to="loc_us-gaap_NetIncomeLoss_019eb289-90e6-76da-ae51-eab62d9d9b46" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities_019eb289-90e6-7455-81a5-e767b0c57d6a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019eb289-90e6-7a7d-b602-ce32fc6415d2" xlink:to="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities_019eb289-90e6-7455-81a5-e767b0c57d6a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities_019eb289-90e6-77be-b795-06f00dc8c577" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_opc_DepreciationDepletionAndAmortizationExcludingAccretionAndAmortizationOfDeferredGains_019eb289-90e6-7c2a-852f-bedb5eedac89" xlink:href="opc-20260630.xsd#opc_DepreciationDepletionAndAmortizationExcludingAccretionAndAmortizationOfDeferredGains"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities_019eb289-90e6-77be-b795-06f00dc8c577" xlink:to="loc_opc_DepreciationDepletionAndAmortizationExcludingAccretionAndAmortizationOfDeferredGains_019eb289-90e6-7c2a-852f-bedb5eedac89" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetRetirementObligationAccretionExpense_019eb289-90e6-71c4-8a8c-600d6e445711" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetRetirementObligationAccretionExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities_019eb289-90e6-77be-b795-06f00dc8c577" xlink:to="loc_us-gaap_AssetRetirementObligationAccretionExpense_019eb289-90e6-71c4-8a8c-600d6e445711" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfDeferredHedgeGains_019eb289-90e6-7145-8f9f-5a121c961b9c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AmortizationOfDeferredHedgeGains"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities_019eb289-90e6-77be-b795-06f00dc8c577" xlink:to="loc_us-gaap_AmortizationOfDeferredHedgeGains_019eb289-90e6-7145-8f9f-5a121c961b9c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PublicUtilitiesAllowanceForFundsUsedDuringConstructionCapitalizedCostOfEquity_019eb289-90e6-779c-a30d-82d5c2dea1f1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PublicUtilitiesAllowanceForFundsUsedDuringConstructionCapitalizedCostOfEquity"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities_019eb289-90e6-77be-b795-06f00dc8c577" xlink:to="loc_us-gaap_PublicUtilitiesAllowanceForFundsUsedDuringConstructionCapitalizedCostOfEquity_019eb289-90e6-779c-a30d-82d5c2dea1f1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opc_DeferredOutageCosts_019eb289-90e6-7f49-bb60-d4c09f4cb230" xlink:href="opc-20260630.xsd#opc_DeferredOutageCosts"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities_019eb289-90e6-77be-b795-06f00dc8c577" xlink:to="loc_opc_DeferredOutageCosts_019eb289-90e6-7f49-bb60-d4c09f4cb230" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfInvestments_019eb289-90e6-7352-8fd0-8712195f1180" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GainLossOnSaleOfInvestments"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities_019eb289-90e6-77be-b795-06f00dc8c577" xlink:to="loc_us-gaap_GainLossOnSaleOfInvestments_019eb289-90e6-7352-8fd0-8712195f1180" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opc_NuclearDecommissionRegulatoryDeferralCosts_019eb289-90e6-7f20-a723-45939416b060" xlink:href="opc-20260630.xsd#opc_NuclearDecommissionRegulatoryDeferralCosts"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities_019eb289-90e6-77be-b795-06f00dc8c577" xlink:to="loc_opc_NuclearDecommissionRegulatoryDeferralCosts_019eb289-90e6-7f20-a723-45939416b060" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncashIncomeExpense_019eb289-90e6-7015-bfdb-88ba685883af" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherNoncashIncomeExpense"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities_019eb289-90e6-77be-b795-06f00dc8c577" xlink:to="loc_us-gaap_OtherNoncashIncomeExpense_019eb289-90e6-7015-bfdb-88ba685883af" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInReceivables_019eb289-90e6-754c-9482-6ea48a5d4caa" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInReceivables"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities_019eb289-90e6-77be-b795-06f00dc8c577" xlink:to="loc_us-gaap_IncreaseDecreaseInReceivables_019eb289-90e6-754c-9482-6ea48a5d4caa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_019eb289-90e6-730d-b096-1d858c9d45fb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInInventories"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities_019eb289-90e6-77be-b795-06f00dc8c577" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_019eb289-90e6-730d-b096-1d858c9d45fb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_019eb289-90e6-74b1-a720-1444d47ce2c3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities_019eb289-90e6-77be-b795-06f00dc8c577" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_019eb289-90e6-74b1-a720-1444d47ce2c3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_019eb289-90e6-70fc-8770-c7e44ff06578" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInAccountsPayable"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities_019eb289-90e6-77be-b795-06f00dc8c577" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_019eb289-90e6-70fc-8770-c7e44ff06578" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_019eb289-90e6-79cd-8b36-e1a748bed786" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInInterestPayableNet"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities_019eb289-90e6-77be-b795-06f00dc8c577" xlink:to="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_019eb289-90e6-79cd-8b36-e1a748bed786" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPropertyAndOtherTaxesPayable_019eb289-90e6-7e41-b3aa-481e1b884e07" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInPropertyAndOtherTaxesPayable"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities_019eb289-90e6-77be-b795-06f00dc8c577" xlink:to="loc_us-gaap_IncreaseDecreaseInPropertyAndOtherTaxesPayable_019eb289-90e6-7e41-b3aa-481e1b884e07" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetRetirementObligationCashPaidToSettle_019eb289-90e6-79a2-8f88-4a43271513ab" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetRetirementObligationCashPaidToSettle"/>
    <link:calculationArc order="15" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities_019eb289-90e6-77be-b795-06f00dc8c577" xlink:to="loc_us-gaap_AssetRetirementObligationCashPaidToSettle_019eb289-90e6-79a2-8f88-4a43271513ab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_019eb289-90e6-7815-8a0e-eb1effa5a0cc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInOtherOperatingLiabilities"/>
    <link:calculationArc order="16" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities_019eb289-90e6-77be-b795-06f00dc8c577" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_019eb289-90e6-7815-8a0e-eb1effa5a0cc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInContractWithCustomerLiability_019eb289-90e6-71d8-b102-f0bdd340fa24" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInContractWithCustomerLiability"/>
    <link:calculationArc order="17" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities_019eb289-90e6-77be-b795-06f00dc8c577" xlink:to="loc_us-gaap_IncreaseDecreaseInContractWithCustomerLiability_019eb289-90e6-71d8-b102-f0bdd340fa24" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherOperatingActivitiesCashFlowStatement_019ef950-2b23-7734-8ca3-2ee20e9f589b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherOperatingActivitiesCashFlowStatement"/>
    <link:calculationArc order="18" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities_019eb289-90e6-77be-b795-06f00dc8c577" xlink:to="loc_us-gaap_OtherOperatingActivitiesCashFlowStatement_019ef950-2b23-7734-8ca3-2ee20e9f589b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019eb289-90e6-714f-b65f-6bb7cf1d8522" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_019eb289-90e6-7592-b61e-0536e314f585" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromIssuanceOfLongTermDebt"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019eb289-90e6-714f-b65f-6bb7cf1d8522" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_019eb289-90e6-7592-b61e-0536e314f585" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebt_019eb289-90e6-7575-9af4-bdd598fc88be" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RepaymentsOfLongTermDebt"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019eb289-90e6-714f-b65f-6bb7cf1d8522" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebt_019eb289-90e6-7575-9af4-bdd598fc88be" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromRepaymentsOfCommercialPaper_019eb289-90e6-7ed0-aabe-e4964f98a04a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromRepaymentsOfCommercialPaper"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019eb289-90e6-714f-b65f-6bb7cf1d8522" xlink:to="loc_us-gaap_ProceedsFromRepaymentsOfCommercialPaper_019eb289-90e6-7ed0-aabe-e4964f98a04a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_019eb289-90e6-7d4d-9853-33f3e499a11a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromPaymentsForOtherFinancingActivities"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019eb289-90e6-714f-b65f-6bb7cf1d8522" xlink:to="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_019eb289-90e6-7d4d-9853-33f3e499a11a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.opc.com/role/DerivativeInstrumentsScheduleofFairValueofDerivativeInstrumentsNotDesignatedasHedgingDetails" xlink:type="simple" xlink:href="opc-20260630.xsd#DerivativeInstrumentsScheduleofFairValueofDerivativeInstrumentsNotDesignatedasHedgingDetails"/>
  <link:calculationLink xlink:role="http://www.opc.com/role/DerivativeInstrumentsScheduleofFairValueofDerivativeInstrumentsNotDesignatedasHedgingDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet_019eb289-90e7-745d-b600-f0bd0d47215b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_019eb289-90e7-76bf-b703-7f6f01339a22" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLiabilities"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet_019eb289-90e7-745d-b600-f0bd0d47215b" xlink:to="loc_us-gaap_DerivativeLiabilities_019eb289-90e7-76bf-b703-7f6f01339a22" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_019eb289-90e7-7447-9f21-263b64d30c87" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeAssets"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet_019eb289-90e7-745d-b600-f0bd0d47215b" xlink:to="loc_us-gaap_DerivativeAssets_019eb289-90e7-7447-9f21-263b64d30c87" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_019eb289-90e7-7e6a-9448-83fced91c5ee" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeAssets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetFairValueGrossLiability_019eb289-90e7-7412-ba97-6b077503bbd3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeAssetFairValueGrossLiability"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssets_019eb289-90e7-7e6a-9448-83fced91c5ee" xlink:to="loc_us-gaap_DerivativeAssetFairValueGrossLiability_019eb289-90e7-7412-ba97-6b077503bbd3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_019eb289-90e7-73f2-85c4-1773c7ac513b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeFairValueOfDerivativeAsset"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssets_019eb289-90e7-7e6a-9448-83fced91c5ee" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_019eb289-90e7-73f2-85c4-1773c7ac513b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_019eb289-90e7-78ed-9102-789ce4550bf2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityFairValueGrossAsset_019eb289-90e7-7161-b794-2b09b29f165f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLiabilityFairValueGrossAsset"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilities_019eb289-90e7-78ed-9102-789ce4550bf2" xlink:to="loc_us-gaap_DerivativeLiabilityFairValueGrossAsset_019eb289-90e7-7161-b794-2b09b29f165f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_019eb289-90e7-73fe-a096-0c61a2d1d804" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeFairValueOfDerivativeLiability"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilities_019eb289-90e7-78ed-9102-789ce4550bf2" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_019eb289-90e7-73fe-a096-0c61a2d1d804" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opc_DerivativeSubjectToMasterNettingArrangementOffsetNet_019eb289-90e7-7bfc-a86c-ea5b6133e91a" xlink:href="opc-20260630.xsd#opc_DerivativeSubjectToMasterNettingArrangementOffsetNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityFairValueGrossAsset_019eb289-90e7-73a5-bdaf-fe83a6fd9c02" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLiabilityFairValueGrossAsset"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_opc_DerivativeSubjectToMasterNettingArrangementOffsetNet_019eb289-90e7-7bfc-a86c-ea5b6133e91a" xlink:to="loc_us-gaap_DerivativeLiabilityFairValueGrossAsset_019eb289-90e7-73a5-bdaf-fe83a6fd9c02" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_019eb289-90e7-71ae-8b95-a0710553c40a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeFairValueOfDerivativeAsset"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_opc_DerivativeSubjectToMasterNettingArrangementOffsetNet_019eb289-90e7-7bfc-a86c-ea5b6133e91a" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_019eb289-90e7-71ae-8b95-a0710553c40a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opc_DerivativeSubjectToMasterNettingArrangementBeforeOffsetNet_019eb289-90e7-7680-b72b-5334c0fd5940" xlink:href="opc-20260630.xsd#opc_DerivativeSubjectToMasterNettingArrangementBeforeOffsetNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetFairValueGrossLiability_019eb289-90e7-75a1-839a-41e49fe4e636" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeAssetFairValueGrossLiability"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_opc_DerivativeSubjectToMasterNettingArrangementBeforeOffsetNet_019eb289-90e7-7680-b72b-5334c0fd5940" xlink:to="loc_us-gaap_DerivativeAssetFairValueGrossLiability_019eb289-90e7-75a1-839a-41e49fe4e636" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_019eb289-90e7-7db7-b9bd-3b682a65fa27" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeFairValueOfDerivativeLiability"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_opc_DerivativeSubjectToMasterNettingArrangementBeforeOffsetNet_019eb289-90e7-7680-b72b-5334c0fd5940" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_019eb289-90e7-7db7-b9bd-3b682a65fa27" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.opc.com/role/DerivativeInstrumentsScheduleofFairValueofDerivativeInstrumentsNotDesignatedasHedgingDetails_1" xlink:type="simple" xlink:href="opc-20260630.xsd#DerivativeInstrumentsScheduleofFairValueofDerivativeInstrumentsNotDesignatedasHedgingDetails_1"/>
  <link:calculationLink xlink:role="http://www.opc.com/role/DerivativeInstrumentsScheduleofFairValueofDerivativeInstrumentsNotDesignatedasHedgingDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet_019eb289-90e7-7d48-b815-652dd908e2ae" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_opc_DerivativeSubjectToMasterNettingArrangementOffsetNet_019eb289-90e7-75a5-bfdd-19dc0ee9744f" xlink:href="opc-20260630.xsd#opc_DerivativeSubjectToMasterNettingArrangementOffsetNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet_019eb289-90e7-7d48-b815-652dd908e2ae" xlink:to="loc_opc_DerivativeSubjectToMasterNettingArrangementOffsetNet_019eb289-90e7-75a5-bfdd-19dc0ee9744f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opc_DerivativeSubjectToMasterNettingArrangementBeforeOffsetNet_019eb289-90e7-7ace-91c6-3eb0fccc9b40" xlink:href="opc-20260630.xsd#opc_DerivativeSubjectToMasterNettingArrangementBeforeOffsetNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet_019eb289-90e7-7d48-b815-652dd908e2ae" xlink:to="loc_opc_DerivativeSubjectToMasterNettingArrangementBeforeOffsetNet_019eb289-90e7-7ace-91c6-3eb0fccc9b40" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.opc.com/role/DerivativeInstrumentsScheduleofRealizedandUnrealizedGainsLossesonDerivativeInstrumentsDetails" xlink:type="simple" xlink:href="opc-20260630.xsd#DerivativeInstrumentsScheduleofRealizedandUnrealizedGainsLossesonDerivativeInstrumentsDetails"/>
  <link:calculationLink xlink:role="http://www.opc.com/role/DerivativeInstrumentsScheduleofRealizedandUnrealizedGainsLossesonDerivativeInstrumentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeGainLossOnDerivativeNet_019eb289-90e7-7df4-919f-4a2db4c574e4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeGainLossOnDerivativeNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeGainOnDerivative_019eb289-90e7-76dd-8046-34c555a97662" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeGainOnDerivative"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeGainLossOnDerivativeNet_019eb289-90e7-7df4-919f-4a2db4c574e4" xlink:to="loc_us-gaap_DerivativeGainOnDerivative_019eb289-90e7-76dd-8046-34c555a97662" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLossOnDerivative_019eb289-90e7-7f39-8610-c2f5a208fec4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLossOnDerivative"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeGainLossOnDerivativeNet_019eb289-90e7-7df4-919f-4a2db4c574e4" xlink:to="loc_us-gaap_DerivativeLossOnDerivative_019eb289-90e7-7f39-8610-c2f5a208fec4" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.opc.com/role/InvestmentSecuritiesScheduleofDebtandEquitySecuritiesDetails" xlink:type="simple" xlink:href="opc-20260630.xsd#InvestmentSecuritiesScheduleofDebtandEquitySecuritiesDetails"/>
  <link:calculationLink xlink:role="http://www.opc.com/role/InvestmentSecuritiesScheduleofDebtandEquitySecuritiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesTradingAndEquitySecuritiesFvNiCost_019eb289-90e7-7b6a-8dba-982158f49f70" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesTradingAndEquitySecuritiesFvNiCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNiCost_019eb289-90e7-7e6d-bc48-494ba38903b5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquitySecuritiesFvNiCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesTradingAndEquitySecuritiesFvNiCost_019eb289-90e7-7b6a-8dba-982158f49f70" xlink:to="loc_us-gaap_EquitySecuritiesFvNiCost_019eb289-90e7-7e6d-bc48-494ba38903b5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TradingSecuritiesDebtAmortizedCost_019eb289-90e7-7557-b242-257cea75f6eb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TradingSecuritiesDebtAmortizedCost"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesTradingAndEquitySecuritiesFvNiCost_019eb289-90e7-7b6a-8dba-982158f49f70" xlink:to="loc_us-gaap_TradingSecuritiesDebtAmortizedCost_019eb289-90e7-7557-b242-257cea75f6eb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opc_OtherSecuritiesFvNiCost_019eb289-90e7-7485-ab42-2721abab5672" xlink:href="opc-20260630.xsd#opc_OtherSecuritiesFvNiCost"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesTradingAndEquitySecuritiesFvNiCost_019eb289-90e7-7b6a-8dba-982158f49f70" xlink:to="loc_opc_OtherSecuritiesFvNiCost_019eb289-90e7-7485-ab42-2721abab5672" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opc_DebtSecuritiesTradingAndEquitySecuritiesUnrealizedLoss_019eb289-90e7-72ea-9cb2-3d2cc6f664f5" xlink:href="opc-20260630.xsd#opc_DebtSecuritiesTradingAndEquitySecuritiesUnrealizedLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNiUnrealizedLoss_019eb289-90e7-7063-84d4-c85648dfb0fe" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquitySecuritiesFvNiUnrealizedLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_opc_DebtSecuritiesTradingAndEquitySecuritiesUnrealizedLoss_019eb289-90e7-72ea-9cb2-3d2cc6f664f5" xlink:to="loc_us-gaap_EquitySecuritiesFvNiUnrealizedLoss_019eb289-90e7-7063-84d4-c85648dfb0fe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesTradingUnrealizedLoss_019eb289-90e7-7457-a049-0b0e404ba067" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesTradingUnrealizedLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_opc_DebtSecuritiesTradingAndEquitySecuritiesUnrealizedLoss_019eb289-90e7-72ea-9cb2-3d2cc6f664f5" xlink:to="loc_us-gaap_DebtSecuritiesTradingUnrealizedLoss_019eb289-90e7-7457-a049-0b0e404ba067" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opc_OtherSecuritiesFVNIUnrealizedLoss_019eb289-90e7-7c40-b339-2581e77a3312" xlink:href="opc-20260630.xsd#opc_OtherSecuritiesFVNIUnrealizedLoss"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_opc_DebtSecuritiesTradingAndEquitySecuritiesUnrealizedLoss_019eb289-90e7-72ea-9cb2-3d2cc6f664f5" xlink:to="loc_opc_OtherSecuritiesFVNIUnrealizedLoss_019eb289-90e7-7c40-b339-2581e77a3312" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opc_DebtSecuritiesTradingAndEquitySecuritiesUnrealizedGain_019eb289-90e7-7d10-adbf-4f6f50c9bcbc" xlink:href="opc-20260630.xsd#opc_DebtSecuritiesTradingAndEquitySecuritiesUnrealizedGain"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNiUnrealizedGain_019eb289-90e7-72f4-b551-ca166c1a8c31" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquitySecuritiesFvNiUnrealizedGain"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_opc_DebtSecuritiesTradingAndEquitySecuritiesUnrealizedGain_019eb289-90e7-7d10-adbf-4f6f50c9bcbc" xlink:to="loc_us-gaap_EquitySecuritiesFvNiUnrealizedGain_019eb289-90e7-72f4-b551-ca166c1a8c31" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesTradingUnrealizedGain_019eb289-90e7-77ff-8a5b-faec945e3a2d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesTradingUnrealizedGain"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_opc_DebtSecuritiesTradingAndEquitySecuritiesUnrealizedGain_019eb289-90e7-7d10-adbf-4f6f50c9bcbc" xlink:to="loc_us-gaap_DebtSecuritiesTradingUnrealizedGain_019eb289-90e7-77ff-8a5b-faec945e3a2d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opc_OtherSecuritiesFvNiUnrealizedGain_019eb289-90e7-7a17-be4d-ee9bb4161050" xlink:href="opc-20260630.xsd#opc_OtherSecuritiesFvNiUnrealizedGain"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_opc_DebtSecuritiesTradingAndEquitySecuritiesUnrealizedGain_019eb289-90e7-7d10-adbf-4f6f50c9bcbc" xlink:to="loc_opc_OtherSecuritiesFvNiUnrealizedGain_019eb289-90e7-7a17-be4d-ee9bb4161050" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TradingSecurities_019eb289-90e7-773f-a8ee-ad44d9f3f60a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TradingSecurities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNi_019eb289-90e7-7dc9-a27c-a141cd8fa0a1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquitySecuritiesFvNi"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_TradingSecurities_019eb289-90e7-773f-a8ee-ad44d9f3f60a" xlink:to="loc_us-gaap_EquitySecuritiesFvNi_019eb289-90e7-7dc9-a27c-a141cd8fa0a1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TradingSecuritiesDebt_019eb289-90e7-78c2-bedb-18113f62b69e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TradingSecuritiesDebt"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_TradingSecurities_019eb289-90e7-773f-a8ee-ad44d9f3f60a" xlink:to="loc_us-gaap_TradingSecuritiesDebt_019eb289-90e7-78c2-bedb-18113f62b69e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opc_OtherSecuritiesFvNi_019eb289-90e7-746d-991a-4e449b9f6577" xlink:href="opc-20260630.xsd#opc_OtherSecuritiesFvNi"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_TradingSecurities_019eb289-90e7-773f-a8ee-ad44d9f3f60a" xlink:to="loc_opc_OtherSecuritiesFvNi_019eb289-90e7-746d-991a-4e449b9f6577" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.opc.com/role/LeasesScheduleofLeaseandNonleaseComponentsforallLeaseAgreementsDetails" xlink:type="simple" xlink:href="opc-20260630.xsd#LeasesScheduleofLeaseandNonleaseComponentsforallLeaseAgreementsDetails"/>
  <link:calculationLink xlink:role="http://www.opc.com/role/LeasesScheduleofLeaseandNonleaseComponentsforallLeaseAgreementsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAsset_019eb289-90e7-728b-9128-635ca4c8d016" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseRightOfUseAsset"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAssetAccumulatedAmortization_019eb289-90e7-7c2d-a9ed-62cba14b9e59" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseRightOfUseAssetAccumulatedAmortization"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseRightOfUseAsset_019eb289-90e7-728b-9128-635ca4c8d016" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAssetAccumulatedAmortization_019eb289-90e7-7c2d-a9ed-62cba14b9e59" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAssetBeforeAccumulatedAmortization_019eb289-90e7-7675-8b2b-3d2509d6a4f2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseRightOfUseAssetBeforeAccumulatedAmortization"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseRightOfUseAsset_019eb289-90e7-728b-9128-635ca4c8d016" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAssetBeforeAccumulatedAmortization_019eb289-90e7-7675-8b2b-3d2509d6a4f2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_019eb289-90e7-7137-a11d-53ab112c8f58" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:loc xlink:type="locator" xlink:label="loc_opc_OperatingLeaseRightOfUseAssetNoncurrent_019eb289-90e7-7011-8c08-e8f3913dcf16" xlink:href="opc-20260630.xsd#opc_OperatingLeaseRightOfUseAssetNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeaseRightOfUseAsset_019eb289-90e7-7137-a11d-53ab112c8f58" xlink:to="loc_opc_OperatingLeaseRightOfUseAssetNoncurrent_019eb289-90e7-7011-8c08-e8f3913dcf16" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiability_019eb289-90e7-7393-aa7a-a39da33be10a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiability"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityCurrent_019eb289-90e7-7735-a305-5c26dc8bb2b8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiabilityCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiability_019eb289-90e7-7393-aa7a-a39da33be10a" xlink:to="loc_us-gaap_FinanceLeaseLiabilityCurrent_019eb289-90e7-7735-a305-5c26dc8bb2b8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_019eb289-90e7-70f3-9b32-1e13f7008cfa" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiability_019eb289-90e7-7393-aa7a-a39da33be10a" xlink:to="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_019eb289-90e7-70f3-9b32-1e13f7008cfa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_019eb289-90e7-75d7-b34d-e1e309fba418" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_019eb289-90e7-73f0-92a8-9c8c22b5f587" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeaseLiability_019eb289-90e7-75d7-b34d-e1e309fba418" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_019eb289-90e7-73f0-92a8-9c8c22b5f587" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_019eb289-90e7-7722-9a71-a7e561ae652f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeaseLiability_019eb289-90e7-75d7-b34d-e1e309fba418" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_019eb289-90e7-7722-9a71-a7e561ae652f" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.opc.com/role/LeasesScheduleofLeaseCostDetails" xlink:type="simple" xlink:href="opc-20260630.xsd#LeasesScheduleofLeaseCostDetails"/>
  <link:calculationLink xlink:role="http://www.opc.com/role/LeasesScheduleofLeaseCostDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseCost_019eb289-90e7-7790-968d-7262132b679f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LeaseCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseInterestExpense_019eb289-90e7-7476-9b5c-aa2dfe09a09d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseInterestExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_019eb289-90e7-7790-968d-7262132b679f" xlink:to="loc_us-gaap_FinanceLeaseInterestExpense_019eb289-90e7-7476-9b5c-aa2dfe09a09d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAssetAmortization_019eb289-90e7-7f2e-b61b-a92b88cb0663" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseRightOfUseAssetAmortization"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_019eb289-90e7-7790-968d-7262132b679f" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAssetAmortization_019eb289-90e7-7f2e-b61b-a92b88cb0663" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseCost_019eb289-90e7-7f99-b53f-572e799e277a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseCost"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_019eb289-90e7-7790-968d-7262132b679f" xlink:to="loc_us-gaap_OperatingLeaseCost_019eb289-90e7-7f99-b53f-572e799e277a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.opc.com/role/LeasesScheduleofMaturitiesofFinanceLeaseLiabilitiesandOperatingLeaseLiabilitiesDetails" xlink:type="simple" xlink:href="opc-20260630.xsd#LeasesScheduleofMaturitiesofFinanceLeaseLiabilitiesandOperatingLeaseLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.opc.com/role/LeasesScheduleofMaturitiesofFinanceLeaseLiabilitiesandOperatingLeaseLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityToBePaidDueYearFour_019eb289-90e7-77bb-8b06-8f5033c37dea" xlink:href="opc-20260630.xsd#opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityToBePaidDueYearFour"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour_019eb289-90e7-7cae-a010-44a92d9b7a3e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityToBePaidDueYearFour_019eb289-90e7-77bb-8b06-8f5033c37dea" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour_019eb289-90e7-7cae-a010-44a92d9b7a3e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_019eb289-90e7-7adb-a5ad-214703f9b644" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityToBePaidDueYearFour_019eb289-90e7-77bb-8b06-8f5033c37dea" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_019eb289-90e7-7adb-a5ad-214703f9b644" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityToBePaidDueYearThree_019eb289-90e7-7cdc-8e7f-31f562575ac7" xlink:href="opc-20260630.xsd#opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityToBePaidDueYearThree"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree_019eb289-90e7-7885-b8f9-1a689f529302" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityToBePaidDueYearThree_019eb289-90e7-7cdc-8e7f-31f562575ac7" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree_019eb289-90e7-7885-b8f9-1a689f529302" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_019eb289-90e7-77cb-8edf-44963c506b95" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityToBePaidDueYearThree_019eb289-90e7-7cdc-8e7f-31f562575ac7" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_019eb289-90e7-77cb-8edf-44963c506b95" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityToBePaidDue_019eb289-90e7-7f55-8cda-48151181e5b6" xlink:href="opc-20260630.xsd#opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityToBePaidDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityToBePaidRemainderOfFiscalYear_019eb289-90e7-76c9-a645-be6e8a148f92" xlink:href="opc-20260630.xsd#opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityToBePaidRemainderOfFiscalYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityToBePaidDue_019eb289-90e7-7f55-8cda-48151181e5b6" xlink:to="loc_opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityToBePaidRemainderOfFiscalYear_019eb289-90e7-76c9-a645-be6e8a148f92" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityToBePaidDueNextTwelveMonths_019eb289-90e7-78b7-a784-245945ca0bfa" xlink:href="opc-20260630.xsd#opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityToBePaidDueNextTwelveMonths"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityToBePaidDue_019eb289-90e7-7f55-8cda-48151181e5b6" xlink:to="loc_opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityToBePaidDueNextTwelveMonths_019eb289-90e7-78b7-a784-245945ca0bfa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityToBePaidDueYearTwo_019eb289-90e7-7b24-8db2-fb4ab856cc42" xlink:href="opc-20260630.xsd#opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityToBePaidDueYearTwo"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityToBePaidDue_019eb289-90e7-7f55-8cda-48151181e5b6" xlink:to="loc_opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityToBePaidDueYearTwo_019eb289-90e7-7b24-8db2-fb4ab856cc42" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityToBePaidDueYearThree_019eb289-90e7-7b12-8d4f-0987593c609e" xlink:href="opc-20260630.xsd#opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityToBePaidDueYearThree"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityToBePaidDue_019eb289-90e7-7f55-8cda-48151181e5b6" xlink:to="loc_opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityToBePaidDueYearThree_019eb289-90e7-7b12-8d4f-0987593c609e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityToBePaidDueYearFour_019eb289-90e7-732e-aad8-45669edb9afe" xlink:href="opc-20260630.xsd#opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityToBePaidDueYearFour"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityToBePaidDue_019eb289-90e7-7f55-8cda-48151181e5b6" xlink:to="loc_opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityToBePaidDueYearFour_019eb289-90e7-732e-aad8-45669edb9afe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityToBePaidDueAfterYearFour_019eb289-90e7-791d-96f0-7acd4a15b6d7" xlink:href="opc-20260630.xsd#opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityToBePaidDueAfterYearFour"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityToBePaidDue_019eb289-90e7-7f55-8cda-48151181e5b6" xlink:to="loc_opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityToBePaidDueAfterYearFour_019eb289-90e7-791d-96f0-7acd4a15b6d7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019eb289-90e7-72e3-a377-5b9568c7ed60" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_019eb289-90e7-73e8-8c53-d1726f0129e5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019eb289-90e7-72e3-a377-5b9568c7ed60" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_019eb289-90e7-73e8-8c53-d1726f0129e5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_019eb289-90e7-7a8c-aeb7-4f242958e116" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019eb289-90e7-72e3-a377-5b9568c7ed60" xlink:to="loc_us-gaap_OperatingLeaseLiability_019eb289-90e7-7a8c-aeb7-4f242958e116" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_019eb289-90e7-73a7-a42e-d8769dde29b8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsRemainderOfFiscalYear_019eb289-90e7-7836-82d8-93bbe8914a21" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiabilityPaymentsRemainderOfFiscalYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_019eb289-90e7-73a7-a42e-d8769dde29b8" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsRemainderOfFiscalYear_019eb289-90e7-7836-82d8-93bbe8914a21" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths_019eb289-90e7-7b66-bd63-275213879887" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_019eb289-90e7-73a7-a42e-d8769dde29b8" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths_019eb289-90e7-7b66-bd63-275213879887" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo_019eb289-90e7-798b-bef3-cf4e13727340" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_019eb289-90e7-73a7-a42e-d8769dde29b8" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo_019eb289-90e7-798b-bef3-cf4e13727340" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree_019eb289-90e7-7ab8-bbba-fd01d0610404" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_019eb289-90e7-73a7-a42e-d8769dde29b8" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree_019eb289-90e7-7ab8-bbba-fd01d0610404" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour_019eb289-90e7-7d6b-9193-8ca941fe7044" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_019eb289-90e7-73a7-a42e-d8769dde29b8" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour_019eb289-90e7-7d6b-9193-8ca941fe7044" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opc_FinanceLeaseLiabilityToBePaidDueAfterYearFour_019eb289-90e7-7794-ad4d-b4e93c4f3a08" xlink:href="opc-20260630.xsd#opc_FinanceLeaseLiabilityToBePaidDueAfterYearFour"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_019eb289-90e7-73a7-a42e-d8769dde29b8" xlink:to="loc_opc_FinanceLeaseLiabilityToBePaidDueAfterYearFour_019eb289-90e7-7794-ad4d-b4e93c4f3a08" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityToBePaidDueYearTwo_019eb289-90e7-7687-b3b7-46d3e9f64eca" xlink:href="opc-20260630.xsd#opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityToBePaidDueYearTwo"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo_019eb289-90e7-732b-bad6-4c4c6c33dff7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityToBePaidDueYearTwo_019eb289-90e7-7687-b3b7-46d3e9f64eca" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo_019eb289-90e7-732b-bad6-4c4c6c33dff7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_019eb289-90e7-7701-97fd-d0e1f6e65778" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityToBePaidDueYearTwo_019eb289-90e7-7687-b3b7-46d3e9f64eca" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_019eb289-90e7-7701-97fd-d0e1f6e65778" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityUndiscountedExcessAmount_019eb289-90e7-7e4c-a4b3-77367657c149" xlink:href="opc-20260630.xsd#opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityUndiscountedExcessAmount"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount_019eb289-90e7-7a16-a27e-43d957647ffe" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityUndiscountedExcessAmount_019eb289-90e7-7e4c-a4b3-77367657c149" xlink:to="loc_us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount_019eb289-90e7-7a16-a27e-43d957647ffe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_019eb289-90e7-7ff8-b7a8-9b17ac65d458" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityUndiscountedExcessAmount_019eb289-90e7-7e4c-a4b3-77367657c149" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_019eb289-90e7-7ff8-b7a8-9b17ac65d458" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityToBePaidDueAfterYearFour_019eb289-90e7-7cf8-aa3f-d72e51ffdc6b" xlink:href="opc-20260630.xsd#opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityToBePaidDueAfterYearFour"/>
    <link:loc xlink:type="locator" xlink:label="loc_opc_FinanceLeaseLiabilityToBePaidDueAfterYearFour_019eb289-90e7-7647-a259-4b852d2670f0" xlink:href="opc-20260630.xsd#opc_FinanceLeaseLiabilityToBePaidDueAfterYearFour"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityToBePaidDueAfterYearFour_019eb289-90e7-7cf8-aa3f-d72e51ffdc6b" xlink:to="loc_opc_FinanceLeaseLiabilityToBePaidDueAfterYearFour_019eb289-90e7-7647-a259-4b852d2670f0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opc_LesseeOperatingLeaseLiabilityToBePaidDueAfterYearFour_019eb289-90e7-7527-892b-e6b2fc53c951" xlink:href="opc-20260630.xsd#opc_LesseeOperatingLeaseLiabilityToBePaidDueAfterYearFour"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityToBePaidDueAfterYearFour_019eb289-90e7-7cf8-aa3f-d72e51ffdc6b" xlink:to="loc_opc_LesseeOperatingLeaseLiabilityToBePaidDueAfterYearFour_019eb289-90e7-7527-892b-e6b2fc53c951" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opc_FinanceLeaseAndOperatingLeaseLiability_019eb289-90e7-793a-b625-9940f308c26f" xlink:href="opc-20260630.xsd#opc_FinanceLeaseAndOperatingLeaseLiability"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiability_019eb289-90e7-75a7-a5ff-6e943d74ae42" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiability"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_opc_FinanceLeaseAndOperatingLeaseLiability_019eb289-90e7-793a-b625-9940f308c26f" xlink:to="loc_us-gaap_FinanceLeaseLiability_019eb289-90e7-75a7-a5ff-6e943d74ae42" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_019eb289-90e7-7426-8c27-9ceeb209aa48" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_opc_FinanceLeaseAndOperatingLeaseLiability_019eb289-90e7-793a-b625-9940f308c26f" xlink:to="loc_us-gaap_OperatingLeaseLiability_019eb289-90e7-7426-8c27-9ceeb209aa48" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityToBePaidRemainderOfFiscalYear_019eb289-90e7-782e-8c8b-8c8bd5f139b6" xlink:href="opc-20260630.xsd#opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityToBePaidRemainderOfFiscalYear"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsRemainderOfFiscalYear_019eb289-90e7-7d25-8ab5-473d47a2a515" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiabilityPaymentsRemainderOfFiscalYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityToBePaidRemainderOfFiscalYear_019eb289-90e7-782e-8c8b-8c8bd5f139b6" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsRemainderOfFiscalYear_019eb289-90e7-7d25-8ab5-473d47a2a515" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_019eb289-90e7-7868-9e09-b25b824b339c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityToBePaidRemainderOfFiscalYear_019eb289-90e7-782e-8c8b-8c8bd5f139b6" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_019eb289-90e7-7868-9e09-b25b824b339c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityToBePaidDueNextTwelveMonths_019eb289-90e7-7fbf-a235-d396260fb606" xlink:href="opc-20260630.xsd#opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityToBePaidDueNextTwelveMonths"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths_019eb289-90e7-720a-8e50-c2d1b5c09926" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityToBePaidDueNextTwelveMonths_019eb289-90e7-7fbf-a235-d396260fb606" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths_019eb289-90e7-720a-8e50-c2d1b5c09926" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_019eb289-90e7-75ec-b6b1-16e2d1a545e2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityToBePaidDueNextTwelveMonths_019eb289-90e7-7fbf-a235-d396260fb606" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_019eb289-90e7-75ec-b6b1-16e2d1a545e2" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.opc.com/role/LeasesScheduleofMaturitiesofFinanceLeaseLiabilitiesandOperatingLeaseLiabilitiesDetails_1" xlink:type="simple" xlink:href="opc-20260630.xsd#LeasesScheduleofMaturitiesofFinanceLeaseLiabilitiesandOperatingLeaseLiabilitiesDetails_1"/>
  <link:calculationLink xlink:role="http://www.opc.com/role/LeasesScheduleofMaturitiesofFinanceLeaseLiabilitiesandOperatingLeaseLiabilitiesDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityToBePaidDue_019eb289-90e7-7db9-a4e6-09633c714973" xlink:href="opc-20260630.xsd#opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityToBePaidDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_019eb289-90e7-7e90-ad21-30665b2169ef" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityToBePaidDue_019eb289-90e7-7db9-a4e6-09633c714973" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_019eb289-90e7-7e90-ad21-30665b2169ef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019eb289-90e7-7558-807f-e7304a3bfbb5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityToBePaidDue_019eb289-90e7-7db9-a4e6-09633c714973" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019eb289-90e7-7558-807f-e7304a3bfbb5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_019eb289-90e7-7ccf-a675-b9c3a18b1886" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount_019eb289-90e7-7673-a028-de15d1fabd47" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_019eb289-90e7-7ccf-a675-b9c3a18b1886" xlink:to="loc_us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount_019eb289-90e7-7673-a028-de15d1fabd47" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiability_019eb289-90e7-7675-83a1-957438e7a314" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiability"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_019eb289-90e7-7ccf-a675-b9c3a18b1886" xlink:to="loc_us-gaap_FinanceLeaseLiability_019eb289-90e7-7675-83a1-957438e7a314" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019eb289-90e7-7148-bca7-76d758b377fa" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_019eb289-90e7-780e-9c36-396da6de5a3e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019eb289-90e7-7148-bca7-76d758b377fa" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_019eb289-90e7-780e-9c36-396da6de5a3e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_019eb289-90e7-77da-9c27-74c051f0ef0c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019eb289-90e7-7148-bca7-76d758b377fa" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_019eb289-90e7-77da-9c27-74c051f0ef0c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_019eb289-90e7-75ca-8726-2f5bb989d278" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019eb289-90e7-7148-bca7-76d758b377fa" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_019eb289-90e7-75ca-8726-2f5bb989d278" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_019eb289-90e7-75f6-bff5-6a844261f9ec" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019eb289-90e7-7148-bca7-76d758b377fa" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_019eb289-90e7-75f6-bff5-6a844261f9ec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_019eb289-90e7-79e2-b39d-e9d2e0879133" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019eb289-90e7-7148-bca7-76d758b377fa" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_019eb289-90e7-79e2-b39d-e9d2e0879133" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opc_LesseeOperatingLeaseLiabilityToBePaidDueAfterYearFour_019eb289-90e7-7cbc-88d1-cb64afb22a95" xlink:href="opc-20260630.xsd#opc_LesseeOperatingLeaseLiabilityToBePaidDueAfterYearFour"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019eb289-90e7-7148-bca7-76d758b377fa" xlink:to="loc_opc_LesseeOperatingLeaseLiabilityToBePaidDueAfterYearFour_019eb289-90e7-7cbc-88d1-cb64afb22a95" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.opc.com/role/LeasesScheduleofMaturitiesofFinanceLeaseLiabilitiesandOperatingLeaseLiabilitiesDetails_2" xlink:type="simple" xlink:href="opc-20260630.xsd#LeasesScheduleofMaturitiesofFinanceLeaseLiabilitiesandOperatingLeaseLiabilitiesDetails_2"/>
  <link:calculationLink xlink:role="http://www.opc.com/role/LeasesScheduleofMaturitiesofFinanceLeaseLiabilitiesandOperatingLeaseLiabilitiesDetails_2" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityToBePaidDue_019eb289-90e7-7806-9a0e-c74dc90b4cd9" xlink:href="opc-20260630.xsd#opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityToBePaidDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityUndiscountedExcessAmount_019eb289-90e7-72b8-82e8-0f5eb16d7de5" xlink:href="opc-20260630.xsd#opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityUndiscountedExcessAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityToBePaidDue_019eb289-90e7-7806-9a0e-c74dc90b4cd9" xlink:to="loc_opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityUndiscountedExcessAmount_019eb289-90e7-72b8-82e8-0f5eb16d7de5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opc_FinanceLeaseAndOperatingLeaseLiability_019eb289-90e7-78d1-9274-b00a5c0eb21d" xlink:href="opc-20260630.xsd#opc_FinanceLeaseAndOperatingLeaseLiability"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_opc_LesseeFinanceLeaseAndOperatingLeaseLiabilityToBePaidDue_019eb289-90e7-7806-9a0e-c74dc90b4cd9" xlink:to="loc_opc_FinanceLeaseAndOperatingLeaseLiability_019eb289-90e7-78d1-9274-b00a5c0eb21d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.opc.com/role/RestrictedCashandShortTermInvestmentsDetails" xlink:type="simple" xlink:href="opc-20260630.xsd#RestrictedCashandShortTermInvestmentsDetails"/>
  <link:calculationLink xlink:role="http://www.opc.com/role/RestrictedCashandShortTermInvestmentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019eb289-90e7-71bd-9aa1-ea5797038c8c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalents_019eb289-90e7-792a-b7a2-0df99f09abd0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestrictedCashAndCashEquivalents"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019eb289-90e7-71bd-9aa1-ea5797038c8c" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalents_019eb289-90e7-792a-b7a2-0df99f09abd0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019eb289-90e7-71bd-a635-ca642bb16dcb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019eb289-90e7-71bd-9aa1-ea5797038c8c" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019eb289-90e7-71bd-a635-ca642bb16dcb" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.opc.com/role/RegulatoryAssetsandLiabilitiesDetails" xlink:type="simple" xlink:href="opc-20260630.xsd#RegulatoryAssetsandLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.opc.com/role/RegulatoryAssetsandLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetRegulatoryAssets_019eb289-90e7-771d-b756-85b222f07b47" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetRegulatoryAssets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RegulatoryAssetsNoncurrent_019eb289-90e7-7fc1-a70b-c04980b96c21" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RegulatoryAssetsNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetRegulatoryAssets_019eb289-90e7-771d-b756-85b222f07b47" xlink:to="loc_us-gaap_RegulatoryAssetsNoncurrent_019eb289-90e7-7fc1-a70b-c04980b96c21" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RegulatoryLiabilityNoncurrent_019eb289-90e7-780c-b9a8-472cd154451a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RegulatoryLiabilityNoncurrent"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetRegulatoryAssets_019eb289-90e7-771d-b756-85b222f07b47" xlink:to="loc_us-gaap_RegulatoryLiabilityNoncurrent_019eb289-90e7-780c-b9a8-472cd154451a" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
