<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.23.4</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>199</ContextCount>
  <ElementCount>278</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>30</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>4</UnitCount>
  <MyReports>
    <Report instance="fs42023a4_power.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>000 - Document - Document And Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/DocumentAndEntityInformation</Role>
      <ShortName>Document And Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="fs42023a4_power.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>001 - Statement - Condensed Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/ConsolidatedBalanceSheet</Role>
      <ShortName>Condensed Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="fs42023a4_power.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>002 - Statement - Condensed Consolidated Balance Sheets (Parentheticals)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/ConsolidatedBalanceSheet_Parentheticals</Role>
      <ShortName>Condensed Consolidated Balance Sheets (Parentheticals)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="fs42023a4_power.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>003 - Statement - Unaudited Condensed Consolidated Statements of Operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/ConsolidatedIncomeStatement</Role>
      <ShortName>Unaudited Condensed Consolidated Statements of Operations</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="fs42023a4_power.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>004 - Statement - Unaudited Condensed Consolidated Statements of Operations (Parentheticals)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/ConsolidatedIncomeStatement_Parentheticals</Role>
      <ShortName>Unaudited Condensed Consolidated Statements of Operations (Parentheticals)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="fs42023a4_power.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>005 - Statement - Unaudited Condensed Consolidated Statements of Changes in Stockholders??? Deficit</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/ShareholdersEquityType2or3</Role>
      <ShortName>Unaudited Condensed Consolidated Statements of Changes in Stockholders??? Deficit</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="fs42023a4_power.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>006 - Statement - Unaudited Condensed Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/ConsolidatedCashFlow</Role>
      <ShortName>Unaudited Condensed Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="fs42023a4_power.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>007 - Disclosure - Description of Organization, Business Operations and Liquidity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/DescriptionofOrganizationBusinessOperationsandLiquidity</Role>
      <ShortName>Description of Organization, Business Operations and Liquidity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="fs42023a4_power.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>008 - Disclosure - Basis of Presentation and Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/BasisofPresentationandSummaryofSignificantAccountingPolicies</Role>
      <ShortName>Basis of Presentation and Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="fs42023a4_power.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>009 - Disclosure - Initial Public Offering</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/InitialPublicOffering</Role>
      <ShortName>Initial Public Offering</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="fs42023a4_power.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>010 - Disclosure - Related Party Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/RelatedPartyTransactions</Role>
      <ShortName>Related Party Transactions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="fs42023a4_power.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>011 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/CommitmentsandContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="fs42023a4_power.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>012 - Disclosure - Class A Common Stock Subject to Possible Redemption</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/ClassACommonStockSubjecttoPossibleRedemption</Role>
      <ShortName>Class A Common Stock Subject to Possible Redemption</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="fs42023a4_power.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>013 - Disclosure - Stockholders??? Deficit</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/StockholdersDeficit</Role>
      <ShortName>Stockholders??? Deficit</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="fs42023a4_power.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>014 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/IncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="fs42023a4_power.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>015 - Disclosure - Fair Value Measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/FairValueMeasurements</Role>
      <ShortName>Fair Value Measurements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="fs42023a4_power.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>016 - Disclosure - Subsequent Events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/SubsequentEvents</Role>
      <ShortName>Subsequent Events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="fs42023a4_power.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>017 - Disclosure - Accounting Policies, by Policy (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/AccountingPoliciesByPolicy</Role>
      <ShortName>Accounting Policies, by Policy (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/BasisofPresentationandSummaryofSignificantAccountingPolicies</ParentRole>
      <Position>18</Position>
    </Report>
    <Report instance="fs42023a4_power.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>018 - Disclosure - Basis of Presentation and Summary of Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesTables</Role>
      <ShortName>Basis of Presentation and Summary of Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/BasisofPresentationandSummaryofSignificantAccountingPolicies</ParentRole>
      <Position>19</Position>
    </Report>
    <Report instance="fs42023a4_power.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>019 - Disclosure - Class A Common Stock Subject to Possible Redemption (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/ClassACommonStockSubjecttoPossibleRedemptionTables</Role>
      <ShortName>Class A Common Stock Subject to Possible Redemption (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/ClassACommonStockSubjecttoPossibleRedemption</ParentRole>
      <Position>20</Position>
    </Report>
    <Report instance="fs42023a4_power.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>020 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/IncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/IncomeTaxes</ParentRole>
      <Position>21</Position>
    </Report>
    <Report instance="fs42023a4_power.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>021 - Disclosure - Fair Value Measurements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/FairValueMeasurementsTables</Role>
      <ShortName>Fair Value Measurements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/FairValueMeasurements</ParentRole>
      <Position>22</Position>
    </Report>
    <Report instance="fs42023a4_power.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>022 - Disclosure - Description of Organization, Business Operations and Liquidity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/DescriptionofOrganizationBusinessOperationsandLiquidityDetails</Role>
      <ShortName>Description of Organization, Business Operations and Liquidity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/DescriptionofOrganizationBusinessOperationsandLiquidity</ParentRole>
      <Position>23</Position>
    </Report>
    <Report instance="fs42023a4_power.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>023 - Disclosure - Basis of Presentation and Summary of Significant Accounting Policies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesDetails</Role>
      <ShortName>Basis of Presentation and Summary of Significant Accounting Policies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesTables</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="fs42023a4_power.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>024 - Disclosure - Basis of Presentation and Summary of Significant Accounting Policies (Details) - Schedule of Basic and Diluted Net Income (Loss) Per Common Stock</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/ScheduleofBasicandDilutedNetIncomeLossPerCommonStockTable</Role>
      <ShortName>Basis of Presentation and Summary of Significant Accounting Policies (Details) - Schedule of Basic and Diluted Net Income (Loss) Per Common Stock</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesTables</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="fs42023a4_power.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>025 - Disclosure - Basis of Presentation and Summary of Significant Accounting Policies (Details) - Schedule of Basic and Diluted Net Income (Loss) Per Common Stock (Parentheticals)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/ScheduleofBasicandDilutedNetIncomeLossPerCommonStockTable_Parentheticals</Role>
      <ShortName>Basis of Presentation and Summary of Significant Accounting Policies (Details) - Schedule of Basic and Diluted Net Income (Loss) Per Common Stock (Parentheticals)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesTables</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="fs42023a4_power.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>026 - Disclosure - Initial Public Offering (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/InitialPublicOfferingDetails</Role>
      <ShortName>Initial Public Offering (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/InitialPublicOffering</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="fs42023a4_power.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>027 - Disclosure - Related Party Transactions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/RelatedPartyTransactionsDetails</Role>
      <ShortName>Related Party Transactions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/RelatedPartyTransactions</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="fs42023a4_power.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>028 - Disclosure - Commitments and Contingencies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/CommitmentsandContingenciesDetails</Role>
      <ShortName>Commitments and Contingencies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/CommitmentsandContingencies</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="fs42023a4_power.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>029 - Disclosure - Class A Common Stock Subject to Possible Redemption (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/ClassACommonStockSubjecttoPossibleRedemptionDetails</Role>
      <ShortName>Class A Common Stock Subject to Possible Redemption (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/ClassACommonStockSubjecttoPossibleRedemptionTables</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="fs42023a4_power.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>030 - Disclosure - Class A Common Stock Subject to Possible Redemption (Details) - Schedule of Common Stock Subject to Possible Redemption</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/ScheduleofCommonStockSubjecttoPossibleRedemptionTable</Role>
      <ShortName>Class A Common Stock Subject to Possible Redemption (Details) - Schedule of Common Stock Subject to Possible Redemption</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/ClassACommonStockSubjecttoPossibleRedemptionTables</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="fs42023a4_power.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>031 - Disclosure - Stockholders??? Deficit (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/StockholdersDeficitDetails</Role>
      <ShortName>Stockholders??? Deficit (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/StockholdersDeficit</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="fs42023a4_power.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>032 - Disclosure - Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/IncomeTaxesDetails</Role>
      <ShortName>Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/IncomeTaxesTables</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="fs42023a4_power.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>033 - Disclosure - Income Taxes (Details) - Schedule of Income Tax Provision (Benefit)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/ScheduleofIncomeTaxProvisionBenefitTable</Role>
      <ShortName>Income Taxes (Details) - Schedule of Income Tax Provision (Benefit)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/IncomeTaxesTables</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="fs42023a4_power.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>034 - Disclosure - Income Taxes (Details) - Schedule of Net Deferred Tax Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/ScheduleofNetDeferredTaxAssetsTable</Role>
      <ShortName>Income Taxes (Details) - Schedule of Net Deferred Tax Assets</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/IncomeTaxesTables</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="fs42023a4_power.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>035 - Disclosure - Income Taxes (Details) - Schedule of Reconciliation of the Statutory Federal Income Tax Rate (Benefit) to Effective Tax Rate (Benefit)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/ScheduleofReconciliationoftheStatutoryFederalIncomeTaxRateBenefittoEffectiveTaxRateBenefitTable</Role>
      <ShortName>Income Taxes (Details) - Schedule of Reconciliation of the Statutory Federal Income Tax Rate (Benefit) to Effective Tax Rate (Benefit)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/IncomeTaxesTables</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="fs42023a4_power.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>036 - Disclosure - Fair Value Measurements (Details) - Schedule of Company???s Assets that are Measured at Fair Value on A Recurring Basis</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/ScheduleofCompanysAssetsthatareMeasuredatFairValueonARecurringBasisTable</Role>
      <ShortName>Fair Value Measurements (Details) - Schedule of Company???s Assets that are Measured at Fair Value on A Recurring Basis</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/FairValueMeasurementsTables</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="fs42023a4_power.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>037 - Disclosure - Subsequent Events (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/SubsequentEventsDetails</Role>
      <ShortName>Subsequent Events (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/SubsequentEvents</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="fs42023a4_power.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>038 - Disclosure - Basis of Presentation and Summary of Significant Accounting Policies (Details) - Schedule of Basic And Diluted Net (Loss) Income Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/ScheduleofBasicAndDilutedNetLossIncomePerShareTable</Role>
      <ShortName>Basis of Presentation and Summary of Significant Accounting Policies (Details) - Schedule of Basic And Diluted Net (Loss) Income Per Share</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesTables</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="fs42023a4_power.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>039 - Disclosure - Basis of Presentation and Summary of Significant Accounting Policies (Details) - Schedule of Basic And Diluted Net (Loss) Income Per Share (Parentheticals)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/ScheduleofBasicAndDilutedNetLossIncomePerShareTable_Parentheticals</Role>
      <ShortName>Basis of Presentation and Summary of Significant Accounting Policies (Details) - Schedule of Basic And Diluted Net (Loss) Income Per Share (Parentheticals)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesTables</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="fs42023a4_power.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>040 - Disclosure - Class A Common Stock Subject to Possible Redemption (Details) - Schedule of Common Stock Subject to Possible Redemption</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/ScheduleofCommonStockSubjecttoPossibleRedemptionTable0</Role>
      <ShortName>Class A Common Stock Subject to Possible Redemption (Details) - Schedule of Common Stock Subject to Possible Redemption</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/ClassACommonStockSubjecttoPossibleRedemptionTables</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="fs42023a4_power.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>041 - Disclosure - Fair Value Measurements (Details) - Schedule of Company???s Assets that are Measured at Fair Value on a Recurring Basis</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/ScheduleofCompanysAssetsthatareMeasuredatFairValueonaRecurringBasisTable</Role>
      <ShortName>Fair Value Measurements (Details) - Schedule of Company???s Assets that are Measured at Fair Value on a Recurring Basis</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.poweranddigitalinfrastructureacquisitionIIcorp.com/role/FairValueMeasurementsTables</ParentRole>
      <Position>42</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="S-4/A" isDefinitelyFs="true" isUsgaap="true" original="fs42023a4_power.htm">fs42023a4_power.htm</File>
    <File>xpdb-20230930.xsd</File>
    <File>xpdb-20230930_cal.xml</File>
    <File>xpdb-20230930_def.xml</File>
    <File>xpdb-20230930_lab.xml</File>
    <File>xpdb-20230930_pre.xml</File>
  </InputFiles>
  <SupplementalFiles>
    <File>ticone_001.jpg</File>
    <File>ticone_002.jpg</File>
    <File>ticone_003.jpg</File>
    <File>ticone_004.jpg</File>
    <File>ticone_005.jpg</File>
    <File>ticone_006.jpg</File>
    <File>ticone_007.jpg</File>
    <File>timage_001.jpg</File>
    <File>timage_002.jpg</File>
    <File>timage_003.jpg</File>
    <File>timage_004.jpg</File>
    <File>timage_005.jpg</File>
    <File>tlogo_001.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="823">http://fasb.org/us-gaap/2023</BaseTaxonomy>
    <BaseTaxonomy items="10">http://xbrl.sec.gov/dei/2023</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
