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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:019e92f8-a7a8-739b-9c0a-85cccf73d6ae,g:bda8cfea-a0b2-46e6-81f8-1ce2d75637eb-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:nxt="http://nex.com/20260703" xmlns:xbrli="http://www.xbrl.org/2003/instance" xmlns:dtr-types="http://www.xbrl.org/dtr/type/2024-01-31" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://nex.com/20260703">
  <xs:import namespace="http://fasb.org/srt/2026" schemaLocation="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd"/>
  <xs:import namespace="http://fasb.org/us-gaap/2026" schemaLocation="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd"/>
  <xs:import namespace="http://www.xbrl.org/2003/instance" schemaLocation="http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd"/>
  <xs:import namespace="http://www.xbrl.org/2003/linkbase" schemaLocation="http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd"/>
  <xs:import namespace="http://www.xbrl.org/dtr/type/2024-01-31" schemaLocation="https://www.xbrl.org/dtr/type/2024-01-31/types.xsd"/>
  <xs:import namespace="http://xbrl.org/2005/xbrldt" schemaLocation="http://www.xbrl.org/2005/xbrldt-2005.xsd"/>
  <xs:import namespace="http://xbrl.sec.gov/country/2026" schemaLocation="https://xbrl.sec.gov/country/2026/country-2026.xsd"/>
  <xs:import namespace="http://xbrl.sec.gov/dei/2026" schemaLocation="https://xbrl.sec.gov/dei/2026/dei-2026.xsd"/>
  <xs:import namespace="http://xbrl.sec.gov/ecd/2026" schemaLocation="https://xbrl.sec.gov/ecd/2026/ecd-2026.xsd"/>
  <xs:annotation>
    <xs:appinfo>
      <link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="nxt-20260703_pre.xml" xlink:role="http://www.xbrl.org/2003/role/presentationLinkbaseRef" xlink:type="simple"/>
      <link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="nxt-20260703_def.xml" xlink:role="http://www.xbrl.org/2003/role/definitionLinkbaseRef" xlink:type="simple"/>
      <link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="nxt-20260703_lab.xml" xlink:role="http://www.xbrl.org/2003/role/labelLinkbaseRef" xlink:type="simple"/>
      <link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="nxt-20260703_cal.xml" xlink:role="http://www.xbrl.org/2003/role/calculationLinkbaseRef" xlink:type="simple"/>
      <link:roleType id="CoverPage" roleURI="http://nex.com/role/CoverPage">
        <link:definition>0000001 - Document - Cover Page</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="Unauditedcondensedconsolidatedbalancesheets" roleURI="http://nex.com/role/Unauditedcondensedconsolidatedbalancesheets">
        <link:definition>9952151 - Statement - Unaudited condensed consolidated balance sheets</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="UnauditedcondensedconsolidatedbalancesheetsParenthetical" roleURI="http://nex.com/role/UnauditedcondensedconsolidatedbalancesheetsParenthetical">
        <link:definition>9952152 - Statement - Unaudited condensed consolidated balance sheets (Parenthetical)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="Unauditedcondensedconsolidatedstatementsofoperations" roleURI="http://nex.com/role/Unauditedcondensedconsolidatedstatementsofoperations">
        <link:definition>9952153 - Statement - Unaudited condensed consolidated statements of operations</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="Unauditedcondensedconsolidatedstatementsofcomprehensiveincome" roleURI="http://nex.com/role/Unauditedcondensedconsolidatedstatementsofcomprehensiveincome">
        <link:definition>9952154 - Statement - Unaudited condensed consolidated statements of comprehensive income</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="Unauditedcondensedconsolidatedstatementsofstockholdersequity" roleURI="http://nex.com/role/Unauditedcondensedconsolidatedstatementsofstockholdersequity">
        <link:definition>9952155 - Statement - Unaudited condensed consolidated statements of stockholders&#8217; equity</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="Unauditedcondensedconsolidatedstatementsofcashflows" roleURI="http://nex.com/role/Unauditedcondensedconsolidatedstatementsofcashflows">
        <link:definition>9952156 - Statement - Unaudited condensed consolidated statements of cash flows</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="DescriptionofbusinessandorganizationofNextpowerInc" roleURI="http://nex.com/role/DescriptionofbusinessandorganizationofNextpowerInc">
        <link:definition>9952157 - Disclosure - Description of business and organization of Nextpower Inc.</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SummaryofAccountingPolicies" roleURI="http://nex.com/role/SummaryofAccountingPolicies">
        <link:definition>9952158 - Disclosure - Summary of Accounting Policies</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="Revenue" roleURI="http://nex.com/role/Revenue">
        <link:definition>9952159 - Disclosure - Revenue</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="Goodwillandintangibleassets" roleURI="http://nex.com/role/Goodwillandintangibleassets">
        <link:definition>9952160 - Disclosure - Goodwill and intangible assets</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="Stockbasedcompensation" roleURI="http://nex.com/role/Stockbasedcompensation">
        <link:definition>9952161 - Disclosure - Stock-based compensation</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="Earningspershare" roleURI="http://nex.com/role/Earningspershare">
        <link:definition>9952162 - Disclosure - Earnings per share</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="Commitmentsandcontingencies" roleURI="http://nex.com/role/Commitmentsandcontingencies">
        <link:definition>9952163 - Disclosure - Commitments and contingencies</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="Incometaxes" roleURI="http://nex.com/role/Incometaxes">
        <link:definition>9952164 - Disclosure - Income taxes</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="Segmentreporting" roleURI="http://nex.com/role/Segmentreporting">
        <link:definition>9952165 - Disclosure - Segment reporting</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="Derivativefinancialinstruments" roleURI="http://nex.com/role/Derivativefinancialinstruments">
        <link:definition>9952166 - Disclosure - Derivative financial instruments</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="Subsequentevents" roleURI="http://nex.com/role/Subsequentevents">
        <link:definition>9952167 - Disclosure - Subsequent events</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SummaryofAccountingPoliciesPolicies" roleURI="http://nex.com/role/SummaryofAccountingPoliciesPolicies">
        <link:definition>9955511 - Disclosure - Summary of Accounting Policies (Policies)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SummaryofAccountingPoliciesTables" roleURI="http://nex.com/role/SummaryofAccountingPoliciesTables">
        <link:definition>9955512 - Disclosure - Summary of Accounting Policies (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RevenueTables" roleURI="http://nex.com/role/RevenueTables">
        <link:definition>9955513 - Disclosure - Revenue (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="GoodwillandintangibleassetsTables" roleURI="http://nex.com/role/GoodwillandintangibleassetsTables">
        <link:definition>9955514 - Disclosure - Goodwill and intangible assets (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="StockbasedcompensationTables" roleURI="http://nex.com/role/StockbasedcompensationTables">
        <link:definition>9955515 - Disclosure - Stock-based compensation (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="EarningspershareTables" roleURI="http://nex.com/role/EarningspershareTables">
        <link:definition>9955516 - Disclosure - Earnings per share (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="IncometaxesTables" roleURI="http://nex.com/role/IncometaxesTables">
        <link:definition>9955517 - Disclosure - Income taxes (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SegmentreportingTables" roleURI="http://nex.com/role/SegmentreportingTables">
        <link:definition>9955518 - Disclosure - Segment reporting (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="DerivativeInstrumentsandHedgingActivitiesTables" roleURI="http://nex.com/role/DerivativeInstrumentsandHedgingActivitiesTables">
        <link:definition>9955519 - Disclosure - Derivative Instruments and Hedging Activities (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SummaryofAccountingPoliciesAdditionalInformationDetails" roleURI="http://nex.com/role/SummaryofAccountingPoliciesAdditionalInformationDetails">
        <link:definition>9955520 - Disclosure - Summary of Accounting Policies - Additional Information (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SummaryofAccountingPoliciesAdditionalInformationDetails_1" roleURI="http://nex.com/role/SummaryofAccountingPoliciesAdditionalInformationDetails_1">
        <link:definition>9955520 - Disclosure - Summary of Accounting Policies - Additional Information (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SummaryofAccountingPoliciesSummaryofProductWarrantyDetails" roleURI="http://nex.com/role/SummaryofAccountingPoliciesSummaryofProductWarrantyDetails">
        <link:definition>9955521 - Disclosure - Summary of Accounting Policies - Summary of Product Warranty (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RevenueSummaryofNextpowersRevenueDisaggregationDetails" roleURI="http://nex.com/role/RevenueSummaryofNextpowersRevenueDisaggregationDetails">
        <link:definition>9955522 - Disclosure - Revenue - Summary of Nextpower&#8217;s Revenue Disaggregation (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RevenueAdditionalInformationDetails" roleURI="http://nex.com/role/RevenueAdditionalInformationDetails">
        <link:definition>9955523 - Disclosure - Revenue - Additional Information (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="GoodwillandintangibleassetsAdditionalInformationDetails" roleURI="http://nex.com/role/GoodwillandintangibleassetsAdditionalInformationDetails">
        <link:definition>9955524 - Disclosure - Goodwill and intangible assets - Additional Information (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="GoodwillandintangibleassetsSummaryofIntangibleAssetsDetails" roleURI="http://nex.com/role/GoodwillandintangibleassetsSummaryofIntangibleAssetsDetails">
        <link:definition>9955525 - Disclosure - Goodwill and intangible assets - Summary of Intangible Assets (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="GoodwillandintangibleassetsSummaryofIntangibleAssetAmortizationExpenseDetails" roleURI="http://nex.com/role/GoodwillandintangibleassetsSummaryofIntangibleAssetAmortizationExpenseDetails">
        <link:definition>9955526 - Disclosure - Goodwill and intangible assets - Summary of Intangible Asset Amortization Expense (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="GoodwillandintangibleassetsSummaryofIntangibleAssetAmortizationExpenseDetails_1" roleURI="http://nex.com/role/GoodwillandintangibleassetsSummaryofIntangibleAssetAmortizationExpenseDetails_1">
        <link:definition>9955526 - Disclosure - Goodwill and intangible assets - Summary of Intangible Asset Amortization Expense (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="GoodwillandintangibleassetsSummaryofFutureAnnualAmortizationExpenseDetails" roleURI="http://nex.com/role/GoodwillandintangibleassetsSummaryofFutureAnnualAmortizationExpenseDetails">
        <link:definition>9955527 - Disclosure - Goodwill and intangible assets - Summary of Future Annual Amortization Expense (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="StockbasedcompensationSummaryofEmployeeServiceShareBasedCompensationAllocationofRecognizedPeriodCostsDetails" roleURI="http://nex.com/role/StockbasedcompensationSummaryofEmployeeServiceShareBasedCompensationAllocationofRecognizedPeriodCostsDetails">
        <link:definition>9955528 - Disclosure - Stock-based compensation - Summary of Employee Service Share Based Compensation Allocation of Recognized Period Costs (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="StockbasedcompensationSummaryofEmployeeServiceShareBasedCompensationAllocationofRecognizedPeriodCostsDetails_1" roleURI="http://nex.com/role/StockbasedcompensationSummaryofEmployeeServiceShareBasedCompensationAllocationofRecognizedPeriodCostsDetails_1">
        <link:definition>9955528 - Disclosure - Stock-based compensation - Summary of Employee Service Share Based Compensation Allocation of Recognized Period Costs (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="StockbasedcompensationAdditionalinformationDetails" roleURI="http://nex.com/role/StockbasedcompensationAdditionalinformationDetails">
        <link:definition>9955529 - Disclosure - Stock-based compensation - Additional information (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="EarningspershareDetails" roleURI="http://nex.com/role/EarningspershareDetails">
        <link:definition>9955530 - Disclosure - Earnings per share (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CommitmentsandcontingenciesDetails" roleURI="http://nex.com/role/CommitmentsandcontingenciesDetails">
        <link:definition>9955531 - Disclosure - Commitments and contingencies (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="IncometaxesDetails" roleURI="http://nex.com/role/IncometaxesDetails">
        <link:definition>9955532 - Disclosure - Income taxes (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SegmentreportingAdditionalInformationDetails" roleURI="http://nex.com/role/SegmentreportingAdditionalInformationDetails">
        <link:definition>9955533 - Disclosure - Segment reporting - Additional Information (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SegmentreportingSummaryofSegmentReportingInformationbySegmentDetails" roleURI="http://nex.com/role/SegmentreportingSummaryofSegmentReportingInformationbySegmentDetails">
        <link:definition>9955534 - Disclosure - Segment reporting - Summary of Segment Reporting Information, by Segment (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SegmentreportingSummaryofGeographicInformationofRevenueDetails" roleURI="http://nex.com/role/SegmentreportingSummaryofGeographicInformationofRevenueDetails">
        <link:definition>9955535 - Disclosure - Segment reporting - Summary of Geographic Information of Revenue (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="DerivativefinancialinstrumentsAdditionalInformationDetails" roleURI="http://nex.com/role/DerivativefinancialinstrumentsAdditionalInformationDetails">
        <link:definition>9955536 - Disclosure - Derivative financial instruments - Additional Information (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="DerivativefinancialinstrumentsSummaryofDerivativeInstrumentsUtilizedforForeignCurrencyRiskDetails" roleURI="http://nex.com/role/DerivativefinancialinstrumentsSummaryofDerivativeInstrumentsUtilizedforForeignCurrencyRiskDetails">
        <link:definition>9955537 - Disclosure - Derivative financial instruments - Summary of Derivative Instruments Utilized for Foreign Currency Risk (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="DerivativefinancialinstrumentsSummaryofDerivativeInstrumentsUtilizedforForeignCurrencyRiskDetails_1" roleURI="http://nex.com/role/DerivativefinancialinstrumentsSummaryofDerivativeInstrumentsUtilizedforForeignCurrencyRiskDetails_1">
        <link:definition>9955537 - Disclosure - Derivative financial instruments - Summary of Derivative Instruments Utilized for Foreign Currency Risk (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SubsequentEventsDetails" roleURI="http://nex.com/role/SubsequentEventsDetails">
        <link:definition>9955538 - Disclosure - Subsequent Events (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
    </xs:appinfo>
  </xs:annotation>
  <xs:element id="nxt_TaxCreditReceivableCurrent" abstract="false" name="TaxCreditReceivableCurrent" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="nxt_LiabilitiesRelatingToTaxReceivableAgreement" abstract="false" name="LiabilitiesRelatingToTaxReceivableAgreement" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="nxt_TaxReceivableAgreementPayment" abstract="false" name="TaxReceivableAgreementPayment" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="nxt_PreInitialPublicOfferDistributionToNoncontrollingInterestHolders" abstract="false" name="PreInitialPublicOfferDistributionToNoncontrollingInterestHolders" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="nxt_PaymentOfAcquisitionDeferredPurchasePrice" abstract="false" name="PaymentOfAcquisitionDeferredPurchasePrice" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="nxt_CapitalExpendituresIncurredButNotYetPaidIntangibleAssets" abstract="false" name="CapitalExpendituresIncurredButNotYetPaidIntangibleAssets" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="nxt_TransfersFromPropertyAndEquipmentNetToInventories" abstract="false" name="TransfersFromPropertyAndEquipmentNetToInventories" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="nxt_OtherCurrentAssetsPolicyTextBlock" abstract="false" name="OtherCurrentAssetsPolicyTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:textBlockItemType"/>
  <xs:element id="nxt_DeferredTaxAssetsPolicyTextBlock" abstract="false" name="DeferredTaxAssetsPolicyTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:textBlockItemType"/>
  <xs:element id="nxt_AccruedExpensesPolicyTextBlock" abstract="false" name="AccruedExpensesPolicyTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:textBlockItemType"/>
  <xs:element id="nxt_TaxReceivableAgreementLiabilityAndOtherLiabilitiesPolicyTextBlock" abstract="false" name="TaxReceivableAgreementLiabilityAndOtherLiabilitiesPolicyTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:textBlockItemType"/>
  <xs:element id="nxt_AgreementAxis" abstract="true" name="AgreementAxis" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrldt:dimensionItem" type="xbrli:stringItemType"/>
  <xs:element id="nxt_AgreementDomain" abstract="true" name="AgreementDomain" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="nxt_TaxReceivableAgreementMember" abstract="true" name="TaxReceivableAgreementMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="nxt_StandardProductWarrantyTerm" abstract="false" name="StandardProductWarrantyTerm" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:durationItemType"/>
  <xs:element id="nxt_AccruedFreightAndTariffs" abstract="false" name="AccruedFreightAndTariffs" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="nxt_TotalLiabilitiesRelatingToTaxReceivableAgreement" abstract="false" name="TotalLiabilitiesRelatingToTaxReceivableAgreement" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="nxt_LiabilitiesRelatingToTaxReceivableAgreementAndOthers" abstract="false" name="LiabilitiesRelatingToTaxReceivableAgreementAndOthers" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="nxt_PercentageOfRevenueRecognized" abstract="false" name="PercentageOfRevenueRecognized" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:percentItemType"/>
  <xs:element id="nxt_FiniteLivedIntangibleAssetsAmortizationExpenseLineItems" abstract="true" name="FiniteLivedIntangibleAssetsAmortizationExpenseLineItems" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="nxt_DevelopedTechnologyMember" abstract="true" name="DevelopedTechnologyMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="nxt_TradeNamesAndOtherIntangiblesMember" abstract="true" name="TradeNamesAndOtherIntangiblesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="nxt_FiniteLivedIntangibleAssetsAmortizationExpenseTable" abstract="true" name="FiniteLivedIntangibleAssetsAmortizationExpenseTable" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrldt:hypercubeItem" type="xbrli:stringItemType"/>
  <xs:element id="nxt_TwoThousandAndTwentyTwoNextpowerPlanMember" abstract="true" name="TwoThousandAndTwentyTwoNextpowerPlanMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="nxt_YumaIncMember" abstract="true" name="YumaIncMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="nxt_NoncontrollingInterestProRataTaxDistributionToNoncontrollingInterestHolders" abstract="false" name="NoncontrollingInterestProRataTaxDistributionToNoncontrollingInterestHolders" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="nxt_CashDepositForNumberOfCSPVImports" abstract="false" name="CashDepositForNumberOfCSPVImports" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="nxt_ReportableSegmentMember" abstract="true" name="ReportableSegmentMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="nxt_VendorCredits" abstract="false" name="VendorCredits" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="nxt_Tariffs" abstract="false" name="Tariffs" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="nxt_FreightLaborAndOtherCostOfSales" abstract="false" name="FreightLaborAndOtherCostOfSales" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="nxt_TariffsEmergencyRefunds" abstract="false" name="TariffsEmergencyRefunds" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="nxt_PrevalonEnergyMember" abstract="true" name="PrevalonEnergyMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="nxt_ZigorCorporationMember" abstract="true" name="ZigorCorporationMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="nxt_ConsecutiveTradingDays" abstract="false" name="ConsecutiveTradingDays" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:durationItemType"/>
</xs:schema>
