

<!--XBRL Document Created with WebFilings-->
<!-- -->
<linkbase xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" xmlns="http://www.xbrl.org/2003/linkbase" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <roleRef roleURI="http://www.oesx.com/role/AcquisitionAcquisitionAgreeementDetails" xlink:href="oesx-20130930.xsd#AcquisitionAcquisitionAgreeementDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/AcquisitionConsiderationPaidDetails" xlink:href="oesx-20130930.xsd#AcquisitionConsiderationPaidDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/AcquisitionContingentConsiderationDetails" xlink:href="oesx-20130930.xsd#AcquisitionContingentConsiderationDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/AcquisitionIdentifiableIntangibleAssetsAcquiredDetails" xlink:href="oesx-20130930.xsd#AcquisitionIdentifiableIntangibleAssetsAcquiredDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/AcquisitionNotes" xlink:href="oesx-20130930.xsd#AcquisitionNotes" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/AcquisitionProFormaResultsOfOperationsDetails" xlink:href="oesx-20130930.xsd#AcquisitionProFormaResultsOfOperationsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/AcquisitionTables" xlink:href="oesx-20130930.xsd#AcquisitionTables" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/CommitmentsAndContingencies" xlink:href="oesx-20130930.xsd#CommitmentsAndContingencies" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/CommitmentsAndContingenciesDetails" xlink:href="oesx-20130930.xsd#CommitmentsAndContingenciesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/Debt" xlink:href="oesx-20130930.xsd#Debt" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/DebtDetails" xlink:href="oesx-20130930.xsd#DebtDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/DebtDetailsTextual" xlink:href="oesx-20130930.xsd#DebtDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/DebtTables" xlink:href="oesx-20130930.xsd#DebtTables" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/DescriptionOfBusiness" xlink:href="oesx-20130930.xsd#DescriptionOfBusiness" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/DocumentAndEntityInformation" xlink:href="oesx-20130930.xsd#DocumentAndEntityInformation" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/IncomeTaxes" xlink:href="oesx-20130930.xsd#IncomeTaxes" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/IncomeTaxesDetails" xlink:href="oesx-20130930.xsd#IncomeTaxesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/IncomeTaxesDetails1" xlink:href="oesx-20130930.xsd#IncomeTaxesDetails1" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/IncomeTaxesDetailsTextual" xlink:href="oesx-20130930.xsd#IncomeTaxesDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/IncomeTaxesTables" xlink:href="oesx-20130930.xsd#IncomeTaxesTables" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/RelatedPartyTransactions" xlink:href="oesx-20130930.xsd#RelatedPartyTransactions" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/Segments" xlink:href="oesx-20130930.xsd#Segments" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/SegmentsDetails" xlink:href="oesx-20130930.xsd#SegmentsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/SegmentsDetails1" xlink:href="oesx-20130930.xsd#SegmentsDetails1" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/SegmentsTables" xlink:href="oesx-20130930.xsd#SegmentsTables" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/ShareholdersEquity" xlink:href="oesx-20130930.xsd#ShareholdersEquity" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/ShareholdersEquityDetails" xlink:href="oesx-20130930.xsd#ShareholdersEquityDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/ShareholdersEquityDetailsTextual" xlink:href="oesx-20130930.xsd#ShareholdersEquityDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/ShareholdersEquityTables" xlink:href="oesx-20130930.xsd#ShareholdersEquityTables" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/StockOptionsRestrictedSharesAndWarrants" xlink:href="oesx-20130930.xsd#StockOptionsRestrictedSharesAndWarrants" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/StockOptionsRestrictedSharesAndWarrantsDetails" xlink:href="oesx-20130930.xsd#StockOptionsRestrictedSharesAndWarrantsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/StockOptionsRestrictedSharesAndWarrantsDetails1" xlink:href="oesx-20130930.xsd#StockOptionsRestrictedSharesAndWarrantsDetails1" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/StockOptionsRestrictedSharesAndWarrantsDetails2" xlink:href="oesx-20130930.xsd#StockOptionsRestrictedSharesAndWarrantsDetails2" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/StockOptionsRestrictedSharesAndWarrantsDetails3" xlink:href="oesx-20130930.xsd#StockOptionsRestrictedSharesAndWarrantsDetails3" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/StockOptionsRestrictedSharesAndWarrantsDetails4" xlink:href="oesx-20130930.xsd#StockOptionsRestrictedSharesAndWarrantsDetails4" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/StockOptionsRestrictedSharesAndWarrantsDetailsTextual" xlink:href="oesx-20130930.xsd#StockOptionsRestrictedSharesAndWarrantsDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/StockOptionsRestrictedSharesAndWarrantsTables" xlink:href="oesx-20130930.xsd#StockOptionsRestrictedSharesAndWarrantsTables" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/SubsequentEventsDetails" xlink:href="oesx-20130930.xsd#SubsequentEventsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/SubsequentEventsNotes" xlink:href="oesx-20130930.xsd#SubsequentEventsNotes" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/SummaryOfSignificantAccountingPolicies" xlink:href="oesx-20130930.xsd#SummaryOfSignificantAccountingPolicies" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/SummaryOfSignificantAccountingPoliciesCashAndCashEquivDetails" xlink:href="oesx-20130930.xsd#SummaryOfSignificantAccountingPoliciesCashAndCashEquivDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/SummaryOfSignificantAccountingPoliciesConcentrationRiskDetails" xlink:href="oesx-20130930.xsd#SummaryOfSignificantAccountingPoliciesConcentrationRiskDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/SummaryOfSignificantAccountingPoliciesDilutiveSecuritiesDetails" xlink:href="oesx-20130930.xsd#SummaryOfSignificantAccountingPoliciesDilutiveSecuritiesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/SummaryOfSignificantAccountingPoliciesEpsDetails" xlink:href="oesx-20130930.xsd#SummaryOfSignificantAccountingPoliciesEpsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/SummaryOfSignificantAccountingPoliciesFinancingReceivablesDetails" xlink:href="oesx-20130930.xsd#SummaryOfSignificantAccountingPoliciesFinancingReceivablesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/SummaryOfSignificantAccountingPoliciesGoodwillAndOtherIntangilbeAssetsDetails" xlink:href="oesx-20130930.xsd#SummaryOfSignificantAccountingPoliciesGoodwillAndOtherIntangilbeAssetsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/SummaryOfSignificantAccountingPoliciesInventoriesDetails" xlink:href="oesx-20130930.xsd#SummaryOfSignificantAccountingPoliciesInventoriesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/SummaryOfSignificantAccountingPoliciesLtReceivablesDetails" xlink:href="oesx-20130930.xsd#SummaryOfSignificantAccountingPoliciesLtReceivablesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/SummaryOfSignificantAccountingPoliciesNarrativeDetails" xlink:href="oesx-20130930.xsd#SummaryOfSignificantAccountingPoliciesNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/SummaryOfSignificantAccountingPoliciesPolicies" xlink:href="oesx-20130930.xsd#SummaryOfSignificantAccountingPoliciesPolicies" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/SummaryOfSignificantAccountingPoliciesPpeUsefulLivesDetails" xlink:href="oesx-20130930.xsd#SummaryOfSignificantAccountingPoliciesPpeUsefulLivesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/SummaryOfSignificantAccountingPoliciesPropPlantAndEquipDetails" xlink:href="oesx-20130930.xsd#SummaryOfSignificantAccountingPoliciesPropPlantAndEquipDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/SummaryOfSignificantAccountingPoliciesStockOptionAssumptionsDetails" xlink:href="oesx-20130930.xsd#SummaryOfSignificantAccountingPoliciesStockOptionAssumptionsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/SummaryOfSignificantAccountingPoliciesTables" xlink:href="oesx-20130930.xsd#SummaryOfSignificantAccountingPoliciesTables" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/SummaryOfSignificantAccountingPoliciesWarrantyAccrualDetails" xlink:href="oesx-20130930.xsd#SummaryOfSignificantAccountingPoliciesWarrantyAccrualDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/UnauditedCondensedConsolidatedBalanceSheets" xlink:href="oesx-20130930.xsd#UnauditedCondensedConsolidatedBalanceSheets" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/UnauditedCondensedConsolidatedBalanceSheetsParenthetical" xlink:href="oesx-20130930.xsd#UnauditedCondensedConsolidatedBalanceSheetsParenthetical" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/UnauditedCondensedConsolidatedStatementsOfCashFlows" xlink:href="oesx-20130930.xsd#UnauditedCondensedConsolidatedStatementsOfCashFlows" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/UnauditedCondensedConsolidatedStatementsOfOperations" xlink:href="oesx-20130930.xsd#UnauditedCondensedConsolidatedStatementsOfOperations" xlink:type="simple" />
  <arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all" xlink:type="simple" />
  <arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default" xlink:type="simple" />
  <arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain" xlink:type="simple" />
  <arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member" xlink:type="simple" />
  <arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension" xlink:type="simple" />
  <definitionLink xlink:role="http://www.oesx.com/role/AcquisitionAcquisitionAgreeementDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_3EDB7A336E710A1F48663837F4DCC96E" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_A85735F6884AFE9122E93837F4DC8235" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_3EDB7A336E710A1F48663837F4DCC96E" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_A85735F6884AFE9122E93837F4DC8235" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_B2BD0FA2B8621D03EB5D3837F4DCA17E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_A85735F6884AFE9122E93837F4DC8235" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_B2BD0FA2B8621D03EB5D3837F4DCA17E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_E6017A0364C29B8C07E03837F4DCBFCB_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_B2BD0FA2B8621D03EB5D3837F4DCA17E" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_E6017A0364C29B8C07E03837F4DCBFCB_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_E6017A0364C29B8C07E03837F4DCBFCB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_B2BD0FA2B8621D03EB5D3837F4DCA17E" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_E6017A0364C29B8C07E03837F4DCBFCB" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_HarrisMember" xlink:label="loc_oesx_HarrisMember_EE83E9250D0ECC63221D3837F4DC092B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_E6017A0364C29B8C07E03837F4DCBFCB" xlink:to="loc_oesx_HarrisMember_EE83E9250D0ECC63221D3837F4DC092B" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_BusinessCombinationConsiderationTransferredInitialPurchaseAgreementAmount" xlink:label="loc_oesx_BusinessCombinationConsiderationTransferredInitialPurchaseAgreementAmount_1A1E6AC9A61620C6814B3837F4DCC47A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_3EDB7A336E710A1F48663837F4DCC96E" xlink:to="loc_oesx_BusinessCombinationConsiderationTransferredInitialPurchaseAgreementAmount_1A1E6AC9A61620C6814B3837F4DCC47A" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_BusinessCombinationConsiderationTransferredInitialPurchaseAgreementContingentAdjustmentAmount" xlink:label="loc_oesx_BusinessCombinationConsiderationTransferredInitialPurchaseAgreementContingentAdjustmentAmount_43111A74DC97AD9F82163837F4DC2CCB" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_3EDB7A336E710A1F48663837F4DCC96E" xlink:to="loc_oesx_BusinessCombinationConsiderationTransferredInitialPurchaseAgreementContingentAdjustmentAmount_43111A74DC97AD9F82163837F4DC2CCB" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_BusinessCombinationBusinessCombinationConsiderationTransferredInitialPurchaseAgreementNonEmployeeContingentConsiderationAmount" xlink:label="loc_oesx_BusinessCombinationBusinessCombinationConsiderationTransferredInitialPurchaseAgreementNonEmployeeContingentConsiderationAmount_584E9D54BCD7F68C978A3844449B92AB" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_3EDB7A336E710A1F48663837F4DCC96E" xlink:to="loc_oesx_BusinessCombinationBusinessCombinationConsiderationTransferredInitialPurchaseAgreementNonEmployeeContingentConsiderationAmount_584E9D54BCD7F68C978A3844449B92AB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesGross" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesGross_1DB776A2432828AB397C3837F4DC9544" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_3EDB7A336E710A1F48663837F4DCC96E" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesGross_1DB776A2432828AB397C3837F4DC9544" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_BusinessCombinationConsiderationTransferredLiabilitiesIncurred" xlink:label="loc_oesx_BusinessCombinationConsiderationTransferredLiabilitiesIncurred_8704C89A7199ED604C5C3837F4DCDF92" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_3EDB7A336E710A1F48663837F4DCC96E" xlink:to="loc_oesx_BusinessCombinationConsiderationTransferredLiabilitiesIncurred_8704C89A7199ED604C5C3837F4DCDF92" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued" xlink:label="loc_us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued_F053A42C43B18E876E3A3837F4DC3910" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_3EDB7A336E710A1F48663837F4DCC96E" xlink:to="loc_us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued_F053A42C43B18E876E3A3837F4DC3910" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_BusinessAcquisitionAcquisitionConsiderationSharePrice" xlink:label="loc_oesx_BusinessAcquisitionAcquisitionConsiderationSharePrice_970848E51621F79C6AE63837F4DC808B" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_3EDB7A336E710A1F48663837F4DCC96E" xlink:to="loc_oesx_BusinessAcquisitionAcquisitionConsiderationSharePrice_970848E51621F79C6AE63837F4DC808B" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_BusinessAcquisitionSharePriceDeterminationThresholdTradingDaysBeforePurchaseAgreement" xlink:label="loc_oesx_BusinessAcquisitionSharePriceDeterminationThresholdTradingDaysBeforePurchaseAgreement_2B71F3359AFF1569374F3837F4DCD06D" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_3EDB7A336E710A1F48663837F4DCC96E" xlink:to="loc_oesx_BusinessAcquisitionSharePriceDeterminationThresholdTradingDaysBeforePurchaseAgreement_2B71F3359AFF1569374F3837F4DCD06D" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_BusinessAcquisitionSharePriceDeterminationThresholdTradingDaysAfterPurchaseAgreement" xlink:label="loc_oesx_BusinessAcquisitionSharePriceDeterminationThresholdTradingDaysAfterPurchaseAgreement_2FD9B55C163E4FB98AA03837F4DC2E99" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_3EDB7A336E710A1F48663837F4DCC96E" xlink:to="loc_oesx_BusinessAcquisitionSharePriceDeterminationThresholdTradingDaysAfterPurchaseAgreement_2FD9B55C163E4FB98AA03837F4DC2E99" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionSharePrice" xlink:label="loc_us-gaap_BusinessAcquisitionSharePrice_E70F6D1D45EAF57B5F333837F4DC8A1E" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_3EDB7A336E710A1F48663837F4DCC96E" xlink:to="loc_us-gaap_BusinessAcquisitionSharePrice_E70F6D1D45EAF57B5F333837F4DC8A1E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessCombinationProFormaInformationRevenueOfAcquireeSinceAcquisitionDateActual" xlink:label="loc_us-gaap_BusinessCombinationProFormaInformationRevenueOfAcquireeSinceAcquisitionDateActual_B4ED0A33ED55F51894683837F4DCA17F" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_3EDB7A336E710A1F48663837F4DCC96E" xlink:to="loc_us-gaap_BusinessCombinationProFormaInformationRevenueOfAcquireeSinceAcquisitionDateActual_B4ED0A33ED55F51894683837F4DCA17F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessCombinationProFormaInformationEarningsOrLossOfAcquireeSinceAcquisitionDateActual" xlink:label="loc_us-gaap_BusinessCombinationProFormaInformationEarningsOrLossOfAcquireeSinceAcquisitionDateActual_A20CC21609400A79E5593837F4DC5DA2" xlink:type="locator" />
    <definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_3EDB7A336E710A1F48663837F4DCC96E" xlink:to="loc_us-gaap_BusinessCombinationProFormaInformationEarningsOrLossOfAcquireeSinceAcquisitionDateActual_A20CC21609400A79E5593837F4DC5DA2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessCombinationAcquisitionRelatedCosts" xlink:label="loc_us-gaap_BusinessCombinationAcquisitionRelatedCosts_05920A4D3C2E7D19410F3837F4DC9A7A" xlink:type="locator" />
    <definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_3EDB7A336E710A1F48663837F4DCC96E" xlink:to="loc_us-gaap_BusinessCombinationAcquisitionRelatedCosts_05920A4D3C2E7D19410F3837F4DC9A7A" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.oesx.com/role/AcquisitionConsiderationPaidDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_2F0A21DB2EB6022AD64D3837F4D26863" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_B09DFC5CBFA8509886DC3837F4C88FA3" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_2F0A21DB2EB6022AD64D3837F4D26863" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_B09DFC5CBFA8509886DC3837F4C88FA3" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_09F7BDF34A90BF4733D53837F4C815CE" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_B09DFC5CBFA8509886DC3837F4C88FA3" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_09F7BDF34A90BF4733D53837F4C815CE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_8B7589025020C374870D3837F4C88F6B_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_09F7BDF34A90BF4733D53837F4C815CE" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_8B7589025020C374870D3837F4C88F6B_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_8B7589025020C374870D3837F4C88F6B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_09F7BDF34A90BF4733D53837F4C815CE" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_8B7589025020C374870D3837F4C88F6B" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_HarrisMember" xlink:label="loc_oesx_HarrisMember_E063B9C19FC51461A60E3837F4D2C7F2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_8B7589025020C374870D3837F4C88F6B" xlink:to="loc_oesx_HarrisMember_E063B9C19FC51461A60E3837F4D2C7F2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_CBDC6CF9C04660E32AF93837F4D27B5C" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_B09DFC5CBFA8509886DC3837F4C88FA3" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_CBDC6CF9C04660E32AF93837F4D27B5C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_80EE18A84A2989968A8E3837F4D2866F_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_CBDC6CF9C04660E32AF93837F4D27B5C" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_80EE18A84A2989968A8E3837F4D2866F_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_80EE18A84A2989968A8E3837F4D2866F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_CBDC6CF9C04660E32AF93837F4D27B5C" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_80EE18A84A2989968A8E3837F4D2866F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_CustomerRelationshipsMember" xlink:label="loc_us-gaap_CustomerRelationshipsMember_1C5CD5219B316C1440023837F4D2B356" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_80EE18A84A2989968A8E3837F4D2866F" xlink:to="loc_us-gaap_CustomerRelationshipsMember_1C5CD5219B316C1440023837F4D2B356" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_NoncompeteAgreementsMember" xlink:label="loc_us-gaap_NoncompeteAgreementsMember_F6C0C12402B4F838611A3837F4D229E8" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_80EE18A84A2989968A8E3837F4D2866F" xlink:to="loc_us-gaap_NoncompeteAgreementsMember_F6C0C12402B4F838611A3837F4D229E8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_DevelopedTechnologyRightsMember" xlink:label="loc_us-gaap_DevelopedTechnologyRightsMember_D16AC656BCBD867597BD3837F4D20F3C" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_80EE18A84A2989968A8E3837F4D2866F" xlink:to="loc_us-gaap_DevelopedTechnologyRightsMember_D16AC656BCBD867597BD3837F4D20F3C" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_TrademarksandTradeNamesMember" xlink:label="loc_oesx_TrademarksandTradeNamesMember_E10F0E32F49E2302A5C73837F4D2CE48" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_80EE18A84A2989968A8E3837F4D2866F" xlink:to="loc_oesx_TrademarksandTradeNamesMember_E10F0E32F49E2302A5C73837F4D2CE48" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferredAbstract" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferredAbstract_51BA9B6888FE89C8D52A3837F4D29D4C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_2F0A21DB2EB6022AD64D3837F4D26863" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferredAbstract_51BA9B6888FE89C8D52A3837F4D29D4C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesGross" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesGross_AB6812EA2B006FE54D933837F4D29127" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationConsiderationTransferredAbstract_51BA9B6888FE89C8D52A3837F4D29D4C" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesGross_AB6812EA2B006FE54D933837F4D29127" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_BusinessCombinationConsiderationTransferredLiabilitiesIncurred" xlink:label="loc_oesx_BusinessCombinationConsiderationTransferredLiabilitiesIncurred_D29CDC5C2A82C6685EB03837F4D2AFF8" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationConsiderationTransferredAbstract_51BA9B6888FE89C8D52A3837F4D29D4C" xlink:to="loc_oesx_BusinessCombinationConsiderationTransferredLiabilitiesIncurred_D29CDC5C2A82C6685EB03837F4D2AFF8" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_BusinessCombinationConsiderationTransferredEquityInterestsIssuedandIssuable" xlink:label="loc_oesx_BusinessCombinationConsiderationTransferredEquityInterestsIssuedandIssuable_2DE2876E9153883EF4D43837F4D2940D" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationConsiderationTransferredAbstract_51BA9B6888FE89C8D52A3837F4D29D4C" xlink:to="loc_oesx_BusinessCombinationConsiderationTransferredEquityInterestsIssuedandIssuable_2DE2876E9153883EF4D43837F4D2940D" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_BusinessCombinationConsiderationTransferredContingentConsiderationAdjustment" xlink:label="loc_oesx_BusinessCombinationConsiderationTransferredContingentConsiderationAdjustment_9781309FC45AFF56DC723837F4D23F75" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationConsiderationTransferredAbstract_51BA9B6888FE89C8D52A3837F4D29D4C" xlink:to="loc_oesx_BusinessCombinationConsiderationTransferredContingentConsiderationAdjustment_9781309FC45AFF56DC723837F4D23F75" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_BusinessCombinationConsiderationTransferred1" xlink:label="loc_oesx_BusinessCombinationConsiderationTransferred1_2EFC6ECBBD42A9C8C86A3837F4D23F8E" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationConsiderationTransferredAbstract_51BA9B6888FE89C8D52A3837F4D29D4C" xlink:to="loc_oesx_BusinessCombinationConsiderationTransferred1_2EFC6ECBBD42A9C8C86A3837F4D23F8E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedLessNoncontrollingInterestAbstract" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedLessNoncontrollingInterestAbstract_A35EAA8B4EA8B28B19423837F4D22856" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_2F0A21DB2EB6022AD64D3837F4D26863" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedLessNoncontrollingInterestAbstract_A35EAA8B4EA8B28B19423837F4D22856" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents" xlink:label="loc_oesx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_52D8663C04376F7718D13837F4D217CA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedLessNoncontrollingInterestAbstract_A35EAA8B4EA8B28B19423837F4D22856" xlink:to="loc_oesx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_52D8663C04376F7718D13837F4D217CA" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables" xlink:label="loc_oesx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables_B8E9E8AA58FE86E97A7C3837F4D2057B" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedLessNoncontrollingInterestAbstract_A35EAA8B4EA8B28B19423837F4D22856" xlink:to="loc_oesx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables_B8E9E8AA58FE86E97A7C3837F4D2057B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory_C771B9D3A1B65B9FA1533837F4D2010E" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedLessNoncontrollingInterestAbstract_A35EAA8B4EA8B28B19423837F4D22856" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory_C771B9D3A1B65B9FA1533837F4D2010E" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther" xlink:label="loc_oesx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther_0F28AC37FA977317E1EF3837F4D2AD7E" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedLessNoncontrollingInterestAbstract_A35EAA8B4EA8B28B19423837F4D22856" xlink:to="loc_oesx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther_0F28AC37FA977317E1EF3837F4D2AD7E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_6A45C3C7FDBE290272233837F4D28A1A" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedLessNoncontrollingInterestAbstract_A35EAA8B4EA8B28B19423837F4D22856" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_6A45C3C7FDBE290272233837F4D28A1A" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxAssetsNoncurrent" xlink:label="loc_oesx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxAssetsNoncurrent_AFECEDEDAA747430D6E53837F4D25058" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedLessNoncontrollingInterestAbstract_A35EAA8B4EA8B28B19423837F4D22856" xlink:to="loc_oesx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxAssetsNoncurrent_AFECEDEDAA747430D6E53837F4D25058" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill" xlink:label="loc_oesx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_1FEBC7495D66596F1FC93837F4D2A1FF" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedLessNoncontrollingInterestAbstract_A35EAA8B4EA8B28B19423837F4D22856" xlink:to="loc_oesx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_1FEBC7495D66596F1FC93837F4D2A1FF" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable" xlink:label="loc_oesx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable_22F13E4198F1DA46C8643837F4D2D1CD" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedLessNoncontrollingInterestAbstract_A35EAA8B4EA8B28B19423837F4D22856" xlink:to="loc_oesx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable_22F13E4198F1DA46C8643837F4D2D1CD" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilitiesNoncurrent" xlink:label="loc_oesx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilitiesNoncurrent_BC79D2C73DD9B58C3C273837F4D23CC5" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedLessNoncontrollingInterestAbstract_A35EAA8B4EA8B28B19423837F4D22856" xlink:to="loc_oesx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilitiesNoncurrent_BC79D2C73DD9B58C3C273837F4D23CC5" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther" xlink:label="loc_oesx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther_A96A8E6A92E84704B32A3837F4D237A2" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedLessNoncontrollingInterestAbstract_A35EAA8B4EA8B28B19423837F4D22856" xlink:to="loc_oesx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther_A96A8E6A92E84704B32A3837F4D237A2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_45E950A0262F04AF0CF33837F4D28C4A" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedLessNoncontrollingInterestAbstract_A35EAA8B4EA8B28B19423837F4D22856" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_45E950A0262F04AF0CF33837F4D28C4A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_2FAFF507488D6ADB7BED3837F4D29B28" xlink:type="locator" />
    <definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedLessNoncontrollingInterestAbstract_A35EAA8B4EA8B28B19423837F4D22856" xlink:to="loc_us-gaap_Goodwill_2FAFF507488D6ADB7BED3837F4D29B28" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_FE80E77E126D3BF584983837F4D2ABED" xlink:type="locator" />
    <definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedLessNoncontrollingInterestAbstract_A35EAA8B4EA8B28B19423837F4D22856" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_FE80E77E126D3BF584983837F4D2ABED" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.oesx.com/role/AcquisitionContingentConsiderationDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_59484956CCDB65F50BD5346E1E66E789" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_91896BBD1698CF11D2C7346E1E66246D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_59484956CCDB65F50BD5346E1E66E789" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_91896BBD1698CF11D2C7346E1E66246D" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_BB47068BB7CD1AC9B7E0346E1E662BD1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_91896BBD1698CF11D2C7346E1E66246D" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_BB47068BB7CD1AC9B7E0346E1E662BD1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1338844A5FED78AFFAE7346E1E66F6F2_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_BB47068BB7CD1AC9B7E0346E1E662BD1" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1338844A5FED78AFFAE7346E1E66F6F2_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1338844A5FED78AFFAE7346E1E66F6F2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_BB47068BB7CD1AC9B7E0346E1E662BD1" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1338844A5FED78AFFAE7346E1E66F6F2" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_HarrisMember" xlink:label="loc_oesx_HarrisMember_FE0A6D7664F62077F6EC346E1E664D55" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1338844A5FED78AFFAE7346E1E66F6F2" xlink:to="loc_oesx_HarrisMember_FE0A6D7664F62077F6EC346E1E664D55" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueHigh" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueHigh_7119C15FF873E00C6233346E1E661972" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_59484956CCDB65F50BD5346E1E66E789" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueHigh_7119C15FF873E00C6233346E1E661972" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueLow" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueLow_CC6C6DD9CB15070E8C9C346E1E6668A6" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_59484956CCDB65F50BD5346E1E66E789" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueLow_CC6C6DD9CB15070E8C9C346E1E6668A6" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_BusinessCombinationContingentConsiderationLiability" xlink:label="loc_oesx_BusinessCombinationContingentConsiderationLiability_296DA7FC6F4C54D8CDE1346E1E66863F" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_59484956CCDB65F50BD5346E1E66E789" xlink:to="loc_oesx_BusinessCombinationContingentConsiderationLiability_296DA7FC6F4C54D8CDE1346E1E66863F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability_CEDAADEF42DC64A25BB4346E1E66909B" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_59484956CCDB65F50BD5346E1E66E789" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability_CEDAADEF42DC64A25BB4346E1E66909B" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.oesx.com/role/AcquisitionIdentifiableIntangibleAssetsAcquiredDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_BF29F5CCB5D54D8465BE2F75397DAA0D" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_D07C7F9AFFE83C11ED392F75397D42C0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_BF29F5CCB5D54D8465BE2F75397DAA0D" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_D07C7F9AFFE83C11ED392F75397D42C0" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_06BAA4F1C085B79FBF252F75397DB718" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_D07C7F9AFFE83C11ED392F75397D42C0" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_06BAA4F1C085B79FBF252F75397DB718" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_930090CCFB668674254B2F75397DED0C_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_06BAA4F1C085B79FBF252F75397DB718" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_930090CCFB668674254B2F75397DED0C_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_930090CCFB668674254B2F75397DED0C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_06BAA4F1C085B79FBF252F75397DB718" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_930090CCFB668674254B2F75397DED0C" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_HarrisMember" xlink:label="loc_oesx_HarrisMember_FFC3CB0FE8DD834D772E2F757D80E8A1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_930090CCFB668674254B2F75397DED0C" xlink:to="loc_oesx_HarrisMember_FFC3CB0FE8DD834D772E2F757D80E8A1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_6B9D1A7A63B8D71341482F75C287D42B" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_D07C7F9AFFE83C11ED392F75397D42C0" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_6B9D1A7A63B8D71341482F75C287D42B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_C6953E0B81A5BB55C17F2F75C2880ED8_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_6B9D1A7A63B8D71341482F75C287D42B" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_C6953E0B81A5BB55C17F2F75C2880ED8_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_C6953E0B81A5BB55C17F2F75C2880ED8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_6B9D1A7A63B8D71341482F75C287D42B" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_C6953E0B81A5BB55C17F2F75C2880ED8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_CustomerRelationshipsMember" xlink:label="loc_us-gaap_CustomerRelationshipsMember_F417163A4B0746B1278C2F75C28848DF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_C6953E0B81A5BB55C17F2F75C2880ED8" xlink:to="loc_us-gaap_CustomerRelationshipsMember_F417163A4B0746B1278C2F75C28848DF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_DevelopedTechnologyRightsMember" xlink:label="loc_us-gaap_DevelopedTechnologyRightsMember_BCFBF9C2B89029D5650C2F75C289A23B" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_C6953E0B81A5BB55C17F2F75C2880ED8" xlink:to="loc_us-gaap_DevelopedTechnologyRightsMember_BCFBF9C2B89029D5650C2F75C289A23B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_NoncompeteAgreementsMember" xlink:label="loc_us-gaap_NoncompeteAgreementsMember_2551EE7478FED6F061282F75C289756A" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_C6953E0B81A5BB55C17F2F75C2880ED8" xlink:to="loc_us-gaap_NoncompeteAgreementsMember_2551EE7478FED6F061282F75C289756A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_4D4482A8CC750046E97C2F768CAD79C0" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_D07C7F9AFFE83C11ED392F75397D42C0" xlink:to="loc_us-gaap_RangeAxis_4D4482A8CC750046E97C2F768CAD79C0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_0D33DF6467FFEE09CB732F768CB5A8FE_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_4D4482A8CC750046E97C2F768CAD79C0" xlink:to="loc_us-gaap_RangeMember_0D33DF6467FFEE09CB732F768CB5A8FE_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_0D33DF6467FFEE09CB732F768CB5A8FE" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_4D4482A8CC750046E97C2F768CAD79C0" xlink:to="loc_us-gaap_RangeMember_0D33DF6467FFEE09CB732F768CB5A8FE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_A6E9651AA11BA41BC3542F76B8E42A65" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_0D33DF6467FFEE09CB732F768CB5A8FE" xlink:to="loc_us-gaap_MinimumMember_A6E9651AA11BA41BC3542F76B8E42A65" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_2CBD612FECBC5D0DD7BF2F76E49BC361" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_0D33DF6467FFEE09CB732F768CB5A8FE" xlink:to="loc_us-gaap_MaximumMember_2CBD612FECBC5D0DD7BF2F76E49BC361" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetUsefulLife" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_3303182D2EB60BC85ED92F76187B97CD" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_BF29F5CCB5D54D8465BE2F75397DAA0D" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_3303182D2EB60BC85ED92F76187B97CD" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.oesx.com/role/AcquisitionNotes" xlink:type="extended" />
  <definitionLink xlink:role="http://www.oesx.com/role/AcquisitionProFormaResultsOfOperationsDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_0E4732EBC28E89BE174333B9378BD502" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_CD34DF97D9B1A8685FE833B9378B23D6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_0E4732EBC28E89BE174333B9378BD502" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_CD34DF97D9B1A8685FE833B9378B23D6" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_2473452A33086B0A36F833B9378B4AEF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_CD34DF97D9B1A8685FE833B9378B23D6" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_2473452A33086B0A36F833B9378B4AEF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_7DA177A95A526D7783C333B9378B18D2_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_2473452A33086B0A36F833B9378B4AEF" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_7DA177A95A526D7783C333B9378B18D2_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_7DA177A95A526D7783C333B9378B18D2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_2473452A33086B0A36F833B9378B4AEF" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_7DA177A95A526D7783C333B9378B18D2" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_HarrisMember" xlink:label="loc_oesx_HarrisMember_0E0B7469190E74BFF37033B9378B92B2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_7DA177A95A526D7783C333B9378B18D2" xlink:to="loc_oesx_HarrisMember_0E0B7469190E74BFF37033B9378B92B2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_NonrecurringAdjustmentAxis" xlink:label="loc_us-gaap_NonrecurringAdjustmentAxis_F6AD716A8A82A94DF87233CE5788CA14" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_CD34DF97D9B1A8685FE833B9378B23D6" xlink:to="loc_us-gaap_NonrecurringAdjustmentAxis_F6AD716A8A82A94DF87233CE5788CA14" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_NonrecurringAdjustmentDomain" xlink:label="loc_us-gaap_NonrecurringAdjustmentDomain_70A2036BCE6B889AD08633CE8B6EDD03_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_NonrecurringAdjustmentAxis_F6AD716A8A82A94DF87233CE5788CA14" xlink:to="loc_us-gaap_NonrecurringAdjustmentDomain_70A2036BCE6B889AD08633CE8B6EDD03_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_NonrecurringAdjustmentDomain" xlink:label="loc_us-gaap_NonrecurringAdjustmentDomain_70A2036BCE6B889AD08633CE8B6EDD03" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_NonrecurringAdjustmentAxis_F6AD716A8A82A94DF87233CE5788CA14" xlink:to="loc_us-gaap_NonrecurringAdjustmentDomain_70A2036BCE6B889AD08633CE8B6EDD03" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AcquisitionRelatedCostsMember" xlink:label="loc_us-gaap_AcquisitionRelatedCostsMember_BE30D3972CB6C186EB8C33CEC4670F7E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NonrecurringAdjustmentDomain_70A2036BCE6B889AD08633CE8B6EDD03" xlink:to="loc_us-gaap_AcquisitionRelatedCostsMember_BE30D3972CB6C186EB8C33CEC4670F7E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionProFormaInformationAbstract" xlink:label="loc_us-gaap_BusinessAcquisitionProFormaInformationAbstract_45537ADE389E5A897AAC33B9378BD5A0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_0E4732EBC28E89BE174333B9378BD502" xlink:to="loc_us-gaap_BusinessAcquisitionProFormaInformationAbstract_45537ADE389E5A897AAC33B9378BD5A0" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_BusinessAcquisitionProFormaIncomeTaxExpenseBenefit" xlink:label="loc_oesx_BusinessAcquisitionProFormaIncomeTaxExpenseBenefit_268B3EAD7FD26C90C10F33C75591A47F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionProFormaInformationAbstract_45537ADE389E5A897AAC33B9378BD5A0" xlink:to="loc_oesx_BusinessAcquisitionProFormaIncomeTaxExpenseBenefit_268B3EAD7FD26C90C10F33C75591A47F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionsProFormaRevenue" xlink:label="loc_us-gaap_BusinessAcquisitionsProFormaRevenue_E6C298C3369F3D56AFB233B9378BBF62" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionProFormaInformationAbstract_45537ADE389E5A897AAC33B9378BD5A0" xlink:to="loc_us-gaap_BusinessAcquisitionsProFormaRevenue_E6C298C3369F3D56AFB233B9378BBF62" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss" xlink:label="loc_us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss_B2D9AB579ECA0EC0317533B9378B45C3" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionProFormaInformationAbstract_45537ADE389E5A897AAC33B9378BD5A0" xlink:to="loc_us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss_B2D9AB579ECA0EC0317533B9378B45C3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionProFormaEarningsPerShareBasic" xlink:label="loc_us-gaap_BusinessAcquisitionProFormaEarningsPerShareBasic_9D9ACCE3F2CCEBF92F8633B9378B369F" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionProFormaInformationAbstract_45537ADE389E5A897AAC33B9378BD5A0" xlink:to="loc_us-gaap_BusinessAcquisitionProFormaEarningsPerShareBasic_9D9ACCE3F2CCEBF92F8633B9378B369F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionProFormaEarningsPerShareDiluted" xlink:label="loc_us-gaap_BusinessAcquisitionProFormaEarningsPerShareDiluted_0F1500D70BD25574049A33B9378BC41A" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionProFormaInformationAbstract_45537ADE389E5A897AAC33B9378BD5A0" xlink:to="loc_us-gaap_BusinessAcquisitionProFormaEarningsPerShareDiluted_0F1500D70BD25574049A33B9378BC41A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ProfitLoss" xlink:label="loc_us-gaap_ProfitLoss_DF81764B4B112A127DBF33CC840DAE51" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionProFormaInformationAbstract_45537ADE389E5A897AAC33B9378BD5A0" xlink:to="loc_us-gaap_ProfitLoss_DF81764B4B112A127DBF33CC840DAE51" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.oesx.com/role/AcquisitionTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.oesx.com/role/CommitmentsAndContingencies" xlink:type="extended" />
  <definitionLink xlink:role="http://www.oesx.com/role/CommitmentsAndContingenciesDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_LongTermPurchaseCommitmentLineItems" xlink:label="loc_us-gaap_LongTermPurchaseCommitmentLineItems_D3B94C9ECAB9E550CB1533B937647BB9" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_LongTermPurchaseCommitmentTable" xlink:label="loc_us-gaap_LongTermPurchaseCommitmentTable_6DEAA947A5EB3D980DFE33B93764C632" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentLineItems_D3B94C9ECAB9E550CB1533B937647BB9" xlink:to="loc_us-gaap_LongTermPurchaseCommitmentTable_6DEAA947A5EB3D980DFE33B93764C632" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_LongTermPurchaseCommitmentByCategoryOfItemPurchasedAxis" xlink:label="loc_us-gaap_LongTermPurchaseCommitmentByCategoryOfItemPurchasedAxis_70276EDC095EF603F90333B9376406D6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentTable_6DEAA947A5EB3D980DFE33B93764C632" xlink:to="loc_us-gaap_LongTermPurchaseCommitmentByCategoryOfItemPurchasedAxis_70276EDC095EF603F90333B9376406D6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_LongTermPurchaseCommitmentCategoryOfItemPurchasedDomain" xlink:label="loc_us-gaap_LongTermPurchaseCommitmentCategoryOfItemPurchasedDomain_B063CBBA2E969DDB3B6533B937641C25_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentByCategoryOfItemPurchasedAxis_70276EDC095EF603F90333B9376406D6" xlink:to="loc_us-gaap_LongTermPurchaseCommitmentCategoryOfItemPurchasedDomain_B063CBBA2E969DDB3B6533B937641C25_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_LongTermPurchaseCommitmentCategoryOfItemPurchasedDomain" xlink:label="loc_us-gaap_LongTermPurchaseCommitmentCategoryOfItemPurchasedDomain_B063CBBA2E969DDB3B6533B937641C25" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentByCategoryOfItemPurchasedAxis_70276EDC095EF603F90333B9376406D6" xlink:to="loc_us-gaap_LongTermPurchaseCommitmentCategoryOfItemPurchasedDomain_B063CBBA2E969DDB3B6533B937641C25" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_InventoriesMember" xlink:label="loc_us-gaap_InventoriesMember_014C042356F91F85355633B937644576" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentCategoryOfItemPurchasedDomain_B063CBBA2E969DDB3B6533B937641C25" xlink:to="loc_us-gaap_InventoriesMember_014C042356F91F85355633B937644576" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_OperatingLeasesRentExpenseNet" xlink:label="loc_us-gaap_OperatingLeasesRentExpenseNet_DE2DB3BDC4ADA6D9044033B937644C3B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentLineItems_D3B94C9ECAB9E550CB1533B937647BB9" xlink:to="loc_us-gaap_OperatingLeasesRentExpenseNet_DE2DB3BDC4ADA6D9044033B937644C3B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_SignificantPurchaseCommitmentRemainingMinimumAmountCommitted" xlink:label="loc_us-gaap_SignificantPurchaseCommitmentRemainingMinimumAmountCommitted_29D998AC9B7AC5F0BBCF33B937642812" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentLineItems_D3B94C9ECAB9E550CB1533B937647BB9" xlink:to="loc_us-gaap_SignificantPurchaseCommitmentRemainingMinimumAmountCommitted_29D998AC9B7AC5F0BBCF33B937642812" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent_88FCE6363F5E05239BFE33B937640B3F" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentLineItems_D3B94C9ECAB9E550CB1533B937647BB9" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent_88FCE6363F5E05239BFE33B937640B3F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_PurchaseObligationDueInNextTwelveMonths" xlink:label="loc_us-gaap_PurchaseObligationDueInNextTwelveMonths_C924B08E39A312A4A2D333B93764C595" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentLineItems_D3B94C9ECAB9E550CB1533B937647BB9" xlink:to="loc_us-gaap_PurchaseObligationDueInNextTwelveMonths_C924B08E39A312A4A2D333B93764C595" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.oesx.com/role/Debt" xlink:type="extended" />
  <definitionLink xlink:role="http://www.oesx.com/role/DebtDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ExtinguishmentOfDebtLineItems" xlink:label="loc_us-gaap_ExtinguishmentOfDebtLineItems_DE32C82B505006BBD3E22EA9CC36B6E0" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ScheduleOfExtinguishmentOfDebtTable" xlink:label="loc_us-gaap_ScheduleOfExtinguishmentOfDebtTable_12AD3E2A450FD04B70DB2EA9CC36D0E5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ExtinguishmentOfDebtLineItems_DE32C82B505006BBD3E22EA9CC36B6E0" xlink:to="loc_us-gaap_ScheduleOfExtinguishmentOfDebtTable_12AD3E2A450FD04B70DB2EA9CC36D0E5" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ExtinguishmentOfDebtAxis" xlink:label="loc_us-gaap_ExtinguishmentOfDebtAxis_66B71E42F1A013749A802EA9CC365AC0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfExtinguishmentOfDebtTable_12AD3E2A450FD04B70DB2EA9CC36D0E5" xlink:to="loc_us-gaap_ExtinguishmentOfDebtAxis_66B71E42F1A013749A802EA9CC365AC0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ExtinguishmentOfDebtTypeDomain" xlink:label="loc_us-gaap_ExtinguishmentOfDebtTypeDomain_520539AE28773F7FE6022EA9CC36E157_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ExtinguishmentOfDebtAxis_66B71E42F1A013749A802EA9CC365AC0" xlink:to="loc_us-gaap_ExtinguishmentOfDebtTypeDomain_520539AE28773F7FE6022EA9CC36E157_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ExtinguishmentOfDebtTypeDomain" xlink:label="loc_us-gaap_ExtinguishmentOfDebtTypeDomain_520539AE28773F7FE6022EA9CC36E157" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ExtinguishmentOfDebtAxis_66B71E42F1A013749A802EA9CC365AC0" xlink:to="loc_us-gaap_ExtinguishmentOfDebtTypeDomain_520539AE28773F7FE6022EA9CC36E157" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_LongTermDebtMember" xlink:label="loc_us-gaap_LongTermDebtMember_CF98A11080A90B3908F62EA9CC36647D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ExtinguishmentOfDebtTypeDomain_520539AE28773F7FE6022EA9CC36E157" xlink:to="loc_us-gaap_LongTermDebtMember_CF98A11080A90B3908F62EA9CC36647D" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_HarrisSellersNoteMember" xlink:label="loc_oesx_HarrisSellersNoteMember_BCCAC769312B6623B2CA2EAB00599640" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ExtinguishmentOfDebtTypeDomain_520539AE28773F7FE6022EA9CC36E157" xlink:to="loc_oesx_HarrisSellersNoteMember_BCCAC769312B6623B2CA2EAB00599640" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_CustomerEquipmentFinanceNotesPayableMember" xlink:label="loc_oesx_CustomerEquipmentFinanceNotesPayableMember_49E71AB4A51030377F242EA9CC36EC46" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ExtinguishmentOfDebtTypeDomain_520539AE28773F7FE6022EA9CC36E157" xlink:to="loc_oesx_CustomerEquipmentFinanceNotesPayableMember_49E71AB4A51030377F242EA9CC36EC46" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FirstMortgageMember" xlink:label="loc_us-gaap_FirstMortgageMember_8CE5A03C1FA9920F35A72EA9CC3601B6" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ExtinguishmentOfDebtTypeDomain_520539AE28773F7FE6022EA9CC36E157" xlink:to="loc_us-gaap_FirstMortgageMember_8CE5A03C1FA9920F35A72EA9CC3601B6" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_DebenturePayableMember" xlink:label="loc_oesx_DebenturePayableMember_6FA326157C4B108740BA2EA9CC3628A0" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ExtinguishmentOfDebtTypeDomain_520539AE28773F7FE6022EA9CC36E157" xlink:to="loc_oesx_DebenturePayableMember_6FA326157C4B108740BA2EA9CC3628A0" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_OtherLongTermDebtMember" xlink:label="loc_oesx_OtherLongTermDebtMember_D9D4E8F1E35004CB7FA52EA9CC363A68" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ExtinguishmentOfDebtTypeDomain_520539AE28773F7FE6022EA9CC36E157" xlink:to="loc_oesx_OtherLongTermDebtMember_D9D4E8F1E35004CB7FA52EA9CC363A68" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_LongTermDebtByCurrentAndNoncurrentAbstract" xlink:label="loc_us-gaap_LongTermDebtByCurrentAndNoncurrentAbstract_92F5E528D648FF0936582EA9CC368687" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ExtinguishmentOfDebtLineItems_DE32C82B505006BBD3E22EA9CC36B6E0" xlink:to="loc_us-gaap_LongTermDebtByCurrentAndNoncurrentAbstract_92F5E528D648FF0936582EA9CC368687" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_LongTermDebt" xlink:label="loc_us-gaap_LongTermDebt_010744FC36A2457CCA172EA9CC36A544" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermDebtByCurrentAndNoncurrentAbstract_92F5E528D648FF0936582EA9CC368687" xlink:to="loc_us-gaap_LongTermDebt_010744FC36A2457CCA172EA9CC36A544" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_LongTermDebtCurrent" xlink:label="loc_us-gaap_LongTermDebtCurrent_B9CBBFF93D23760833662EA9CC3614F0" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermDebtByCurrentAndNoncurrentAbstract_92F5E528D648FF0936582EA9CC368687" xlink:to="loc_us-gaap_LongTermDebtCurrent_B9CBBFF93D23760833662EA9CC3614F0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_LongTermDebtNoncurrent" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_299D15F28559DDC46EF22EA9CC36AE5D" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermDebtByCurrentAndNoncurrentAbstract_92F5E528D648FF0936582EA9CC368687" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_299D15F28559DDC46EF22EA9CC36AE5D" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.oesx.com/role/DebtDetailsTextual" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_LineOfCreditFacilityLineItems" xlink:label="loc_us-gaap_LineOfCreditFacilityLineItems_7FC037FA706D847B97112FD7A7BA75E5" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_LineOfCreditFacilityTable" xlink:label="loc_us-gaap_LineOfCreditFacilityTable_F4115F166223E22096EC2FD7A7B9E758" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_7FC037FA706D847B97112FD7A7BA75E5" xlink:to="loc_us-gaap_LineOfCreditFacilityTable_F4115F166223E22096EC2FD7A7B9E758" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_LongtermDebtTypeAxis" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_C7167D50B7C2AFA4CA252FD7A7B98159" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_F4115F166223E22096EC2FD7A7B9E758" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_C7167D50B7C2AFA4CA252FD7A7B98159" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_F5A4ECC0E9C1935C19022FFA2A703C37_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_C7167D50B7C2AFA4CA252FD7A7B98159" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_F5A4ECC0E9C1935C19022FFA2A703C37_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_F5A4ECC0E9C1935C19022FFA2A703C37" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_C7167D50B7C2AFA4CA252FD7A7B98159" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_F5A4ECC0E9C1935C19022FFA2A703C37" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_HarrisSellersNoteMember" xlink:label="loc_oesx_HarrisSellersNoteMember_0CE7AAE7EE6370A764882FD7A7BA919A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_F5A4ECC0E9C1935C19022FFA2A703C37" xlink:to="loc_oesx_HarrisSellersNoteMember_0CE7AAE7EE6370A764882FD7A7BA919A" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_VariableRateAxis" xlink:label="loc_oesx_VariableRateAxis_116B0D8B87774C137DDA2FD7A7BAEA6B" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_F4115F166223E22096EC2FD7A7B9E758" xlink:to="loc_oesx_VariableRateAxis_116B0D8B87774C137DDA2FD7A7BAEA6B" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_VariableRateDomain" xlink:label="loc_oesx_VariableRateDomain_F9357E2D5C555B49BCF62FD7A7BAD56F_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_oesx_VariableRateAxis_116B0D8B87774C137DDA2FD7A7BAEA6B" xlink:to="loc_oesx_VariableRateDomain_F9357E2D5C555B49BCF62FD7A7BAD56F_default" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_VariableRateDomain" xlink:label="loc_oesx_VariableRateDomain_F9357E2D5C555B49BCF62FD7A7BAD56F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_oesx_VariableRateAxis_116B0D8B87774C137DDA2FD7A7BAEA6B" xlink:to="loc_oesx_VariableRateDomain_F9357E2D5C555B49BCF62FD7A7BAD56F" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_LondonInterbankOfferedRateLiborMember" xlink:label="loc_oesx_LondonInterbankOfferedRateLiborMember_E6FA78891FCB7D45F8E52FD7A7BAFCF8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_VariableRateDomain_F9357E2D5C555B49BCF62FD7A7BAD56F" xlink:to="loc_oesx_LondonInterbankOfferedRateLiborMember_E6FA78891FCB7D45F8E52FD7A7BAFCF8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_CreditFacilityAxis" xlink:label="loc_us-gaap_CreditFacilityAxis_BA2D8A51CA77F4F54C352FD7A7BAD8C3" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_F4115F166223E22096EC2FD7A7B9E758" xlink:to="loc_us-gaap_CreditFacilityAxis_BA2D8A51CA77F4F54C352FD7A7BAD8C3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaap_CreditFacilityDomain_89AE491A22CB19DE58362FD7A7BAF268_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_BA2D8A51CA77F4F54C352FD7A7BAD8C3" xlink:to="loc_us-gaap_CreditFacilityDomain_89AE491A22CB19DE58362FD7A7BAF268_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaap_CreditFacilityDomain_89AE491A22CB19DE58362FD7A7BAF268" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_BA2D8A51CA77F4F54C352FD7A7BAD8C3" xlink:to="loc_us-gaap_CreditFacilityDomain_89AE491A22CB19DE58362FD7A7BAF268" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RevolvingCreditFacilityMember" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_76E7B0197CF16A8901F42FD7A7BA9191" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_89AE491A22CB19DE58362FD7A7BAF268" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_76E7B0197CF16A8901F42FD7A7BA9191" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_LineOfCreditMember" xlink:label="loc_us-gaap_LineOfCreditMember_1E50A76F85D0F4A770A02FD7A7BA6D0E" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_89AE491A22CB19DE58362FD7A7BAF268" xlink:to="loc_us-gaap_LineOfCreditMember_1E50A76F85D0F4A770A02FD7A7BA6D0E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_92A0A4D4D35C520E41152FD7A7BAB8C6" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_F4115F166223E22096EC2FD7A7B9E758" xlink:to="loc_us-gaap_RangeAxis_92A0A4D4D35C520E41152FD7A7BAB8C6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_6741189471509529DE212FD7A7BAAB2A_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_92A0A4D4D35C520E41152FD7A7BAB8C6" xlink:to="loc_us-gaap_RangeMember_6741189471509529DE212FD7A7BAAB2A_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_6741189471509529DE212FD7A7BAAB2A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_92A0A4D4D35C520E41152FD7A7BAB8C6" xlink:to="loc_us-gaap_RangeMember_6741189471509529DE212FD7A7BAAB2A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_5737A28EF930632AD21D2FD7A7BAEEA2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_6741189471509529DE212FD7A7BAAB2A" xlink:to="loc_us-gaap_MinimumMember_5737A28EF930632AD21D2FD7A7BAEEA2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_053EBAB6294D8D9937A42FD7A7BAE8A2" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_6741189471509529DE212FD7A7BAAB2A" xlink:to="loc_us-gaap_MaximumMember_053EBAB6294D8D9937A42FD7A7BAE8A2" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_DebtTextualAbstract" xlink:label="loc_oesx_DebtTextualAbstract_4184AA73B343A4281F522FD7A7BA5C14" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_7FC037FA706D847B97112FD7A7BA75E5" xlink:to="loc_oesx_DebtTextualAbstract_4184AA73B343A4281F522FD7A7BA5C14" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_DebtInstrumentFaceAmount" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_AC29F9A0817ACB7E15512FD7A7BAC28A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_DebtTextualAbstract_4184AA73B343A4281F522FD7A7BA5C14" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_AC29F9A0817ACB7E15512FD7A7BAC28A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_EAC91204506AAAEE14392FD7A7BB0D7E" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_DebtTextualAbstract_4184AA73B343A4281F522FD7A7BA5C14" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_EAC91204506AAAEE14392FD7A7BB0D7E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_7605A86112971D14D5052FD7A7BB63DF" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_DebtTextualAbstract_4184AA73B343A4281F522FD7A7BA5C14" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_7605A86112971D14D5052FD7A7BB63DF" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_LineOfCreditFacilityMaximumBorrowingCapacityNotSubjectToBorrowingBase" xlink:label="loc_oesx_LineOfCreditFacilityMaximumBorrowingCapacityNotSubjectToBorrowingBase_48B358B07E8A845CC0132FD7A7BBA3E0" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_DebtTextualAbstract_4184AA73B343A4281F522FD7A7BA5C14" xlink:to="loc_oesx_LineOfCreditFacilityMaximumBorrowingCapacityNotSubjectToBorrowingBase_48B358B07E8A845CC0132FD7A7BBA3E0" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_LineOfCreditFacilityBorrowingBaseRequirementLimitOnLettersOfCredit" xlink:label="loc_oesx_LineOfCreditFacilityBorrowingBaseRequirementLimitOnLettersOfCredit_8462B7A67ABE93F56E212FD7A7BB71E9" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_DebtTextualAbstract_4184AA73B343A4281F522FD7A7BA5C14" xlink:to="loc_oesx_LineOfCreditFacilityBorrowingBaseRequirementLimitOnLettersOfCredit_8462B7A67ABE93F56E212FD7A7BB71E9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_LettersOfCreditOutstandingAmount" xlink:label="loc_us-gaap_LettersOfCreditOutstandingAmount_4F77863E5F30B837AF722FD7A7BBC861" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_DebtTextualAbstract_4184AA73B343A4281F522FD7A7BA5C14" xlink:to="loc_us-gaap_LettersOfCreditOutstandingAmount_4F77863E5F30B837AF722FD7A7BBC861" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_LineOfCreditFacilityAmountOutstanding" xlink:label="loc_us-gaap_LineOfCreditFacilityAmountOutstanding_7FDBFCC8CB312531CA472FD7A7BB9E74" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_DebtTextualAbstract_4184AA73B343A4281F522FD7A7BA5C14" xlink:to="loc_us-gaap_LineOfCreditFacilityAmountOutstanding_7FDBFCC8CB312531CA472FD7A7BB9E74" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_LiabilitiesToNetworthRatioMinimum" xlink:label="loc_oesx_LiabilitiesToNetworthRatioMinimum_3FF4BDE910309EA51EAC2FD7A7BBF725" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_DebtTextualAbstract_4184AA73B343A4281F522FD7A7BA5C14" xlink:to="loc_oesx_LiabilitiesToNetworthRatioMinimum_3FF4BDE910309EA51EAC2FD7A7BBF725" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_LineOfCreditFacilityCovenantTermsAverageDailyUnencumberedLiquidityRequired" xlink:label="loc_oesx_LineOfCreditFacilityCovenantTermsAverageDailyUnencumberedLiquidityRequired_5268524CD677DBB38F232FD7A7BB6B26" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_DebtTextualAbstract_4184AA73B343A4281F522FD7A7BA5C14" xlink:to="loc_oesx_LineOfCreditFacilityCovenantTermsAverageDailyUnencumberedLiquidityRequired_5268524CD677DBB38F232FD7A7BB6B26" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_LineofCreditFacilityCovenantTermsNumberofConsecutiveBusinessDaysDuringEachPeriodofAverageDailyUnencumberedLiquidityRequired" xlink:label="loc_oesx_LineofCreditFacilityCovenantTermsNumberofConsecutiveBusinessDaysDuringEachPeriodofAverageDailyUnencumberedLiquidityRequired_229AFC79A40150028BD52FD7A7BBB6FD" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_DebtTextualAbstract_4184AA73B343A4281F522FD7A7BA5C14" xlink:to="loc_oesx_LineofCreditFacilityCovenantTermsNumberofConsecutiveBusinessDaysDuringEachPeriodofAverageDailyUnencumberedLiquidityRequired_229AFC79A40150028BD52FD7A7BBB6FD" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_LineOfCreditFacilityCovenantTermsEbitdaRequiredDuringEachFiscalQuarter" xlink:label="loc_oesx_LineOfCreditFacilityCovenantTermsEbitdaRequiredDuringEachFiscalQuarter_4BE43508E7903C8F19E82FD7A7BBD069" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_DebtTextualAbstract_4184AA73B343A4281F522FD7A7BA5C14" xlink:to="loc_oesx_LineOfCreditFacilityCovenantTermsEbitdaRequiredDuringEachFiscalQuarter_4BE43508E7903C8F19E82FD7A7BBD069" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_DebtInstrumentBasisSpreadOnVariableRate" xlink:label="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate_6E8FDF496F1A08907DA42FD7A7BB6B9C" xlink:type="locator" />
    <definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_DebtTextualAbstract_4184AA73B343A4281F522FD7A7BA5C14" xlink:to="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate_6E8FDF496F1A08907DA42FD7A7BB6B9C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage" xlink:label="loc_us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_8BDB9E9E115CAD1C1E1C2FD7A7BBE4B6" xlink:type="locator" />
    <definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_DebtTextualAbstract_4184AA73B343A4281F522FD7A7BA5C14" xlink:to="loc_us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_8BDB9E9E115CAD1C1E1C2FD7A7BBE4B6" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_LineOfCreditFacilityCustomerContractsPledgedAsCollateral" xlink:label="loc_oesx_LineOfCreditFacilityCustomerContractsPledgedAsCollateral_28BB651079EABF9C38C92FD7A7BB4E3E" xlink:type="locator" />
    <definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_DebtTextualAbstract_4184AA73B343A4281F522FD7A7BA5C14" xlink:to="loc_oesx_LineOfCreditFacilityCustomerContractsPledgedAsCollateral_28BB651079EABF9C38C92FD7A7BB4E3E" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.oesx.com/role/DebtTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.oesx.com/role/DescriptionOfBusiness" xlink:type="extended" />
  <definitionLink xlink:role="http://www.oesx.com/role/DocumentAndEntityInformation" xlink:type="extended" />
  <definitionLink xlink:role="http://www.oesx.com/role/IncomeTaxes" xlink:type="extended" />
  <definitionLink xlink:role="http://www.oesx.com/role/IncomeTaxesDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.oesx.com/role/IncomeTaxesDetails1" xlink:type="extended" />
  <definitionLink xlink:role="http://www.oesx.com/role/IncomeTaxesDetailsTextual" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_OperatingLossCarryforwardsLineItems" xlink:label="loc_us-gaap_OperatingLossCarryforwardsLineItems_41D216F621A0C93D2DDD2ED4703AF517" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_OperatingLossCarryforwardsTable" xlink:label="loc_us-gaap_OperatingLossCarryforwardsTable_3CE8002DB65CF369F7882ED4703A2F8D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_41D216F621A0C93D2DDD2ED4703AF517" xlink:to="loc_us-gaap_OperatingLossCarryforwardsTable_3CE8002DB65CF369F7882ED4703A2F8D" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_IncomeTaxAuthorityAxis" xlink:label="loc_us-gaap_IncomeTaxAuthorityAxis_0EA111BCBE9A9B3722782ED4703A2AE1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OperatingLossCarryforwardsTable_3CE8002DB65CF369F7882ED4703A2F8D" xlink:to="loc_us-gaap_IncomeTaxAuthorityAxis_0EA111BCBE9A9B3722782ED4703A2AE1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_IncomeTaxAuthorityDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_B270D6C163D44C0F223D2ED4703A9D40_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_0EA111BCBE9A9B3722782ED4703A2AE1" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_B270D6C163D44C0F223D2ED4703A9D40_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_IncomeTaxAuthorityDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_B270D6C163D44C0F223D2ED4703A9D40" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_0EA111BCBE9A9B3722782ED4703A2AE1" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_B270D6C163D44C0F223D2ED4703A9D40" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_DomesticCountryMember" xlink:label="loc_us-gaap_DomesticCountryMember_2830FD65DEEF3DDB06E52ED4703A035D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_B270D6C163D44C0F223D2ED4703A9D40" xlink:to="loc_us-gaap_DomesticCountryMember_2830FD65DEEF3DDB06E52ED4703A035D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_StateAndLocalJurisdictionMember" xlink:label="loc_us-gaap_StateAndLocalJurisdictionMember_A2BB8E94E58D5DA1AB812ED4703A1399" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_B270D6C163D44C0F223D2ED4703A9D40" xlink:to="loc_us-gaap_StateAndLocalJurisdictionMember_A2BB8E94E58D5DA1AB812ED4703A1399" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_IncomeTaxTextualAbstract" xlink:label="loc_oesx_IncomeTaxTextualAbstract_4444AA9CDDCDF790B0BF2ED4703A0AC1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_41D216F621A0C93D2DDD2ED4703AF517" xlink:to="loc_oesx_IncomeTaxTextualAbstract_4444AA9CDDCDF790B0BF2ED4703A0AC1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperations" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_28894654AB64EABF2C952ED4703A4AAD" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_IncomeTaxTextualAbstract_4444AA9CDDCDF790B0BF2ED4703A0AC1" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_28894654AB64EABF2C952ED4703A4AAD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_DeferredTaxesBusinessCombinationValuationAllowanceAvailableToReduceIncomeTaxExpense" xlink:label="loc_us-gaap_DeferredTaxesBusinessCombinationValuationAllowanceAvailableToReduceIncomeTaxExpense_9ED626E95D08B26B19442ED473AA28EF" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_IncomeTaxTextualAbstract_4444AA9CDDCDF790B0BF2ED4703A0AC1" xlink:to="loc_us-gaap_DeferredTaxesBusinessCombinationValuationAllowanceAvailableToReduceIncomeTaxExpense_9ED626E95D08B26B19442ED473AA28EF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount" xlink:label="loc_us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount_03D37BA4966A4DF040202ED4703A4741" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_IncomeTaxTextualAbstract_4444AA9CDDCDF790B0BF2ED4703A0AC1" xlink:to="loc_us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount_03D37BA4966A4DF040202ED4703A4741" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities" xlink:label="loc_us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities_2D4FE2A5B921CDA478892ED4703AA434" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_IncomeTaxTextualAbstract_4444AA9CDDCDF790B0BF2ED4703A0AC1" xlink:to="loc_us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities_2D4FE2A5B921CDA478892ED4703AA434" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_OperatingLossCarryforwards" xlink:label="loc_us-gaap_OperatingLossCarryforwards_68DD6E4C2823C1A833FA2ED4703AFB10" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_IncomeTaxTextualAbstract_4444AA9CDDCDF790B0BF2ED4703A0AC1" xlink:to="loc_us-gaap_OperatingLossCarryforwards_68DD6E4C2823C1A833FA2ED4703AFB10" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_OperatingLossCarryforwardsAssociatedWithExerciseOfNonQualifiedStockOptions" xlink:label="loc_oesx_OperatingLossCarryforwardsAssociatedWithExerciseOfNonQualifiedStockOptions_24C3765865D46573855F2ED4703A4175" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_IncomeTaxTextualAbstract_4444AA9CDDCDF790B0BF2ED4703A0AC1" xlink:to="loc_oesx_OperatingLossCarryforwardsAssociatedWithExerciseOfNonQualifiedStockOptions_24C3765865D46573855F2ED4703A4175" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_TaxCreditCarryforwardAmount" xlink:label="loc_us-gaap_TaxCreditCarryforwardAmount_76BE02F64798BFB150622ED4703A8756" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_IncomeTaxTextualAbstract_4444AA9CDDCDF790B0BF2ED4703A0AC1" xlink:to="loc_us-gaap_TaxCreditCarryforwardAmount_76BE02F64798BFB150622ED4703A8756" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_UnrecognizedTaxBenefits" xlink:label="loc_us-gaap_UnrecognizedTaxBenefits_7C2B1412CA1A083199D52ED4703A0620" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_IncomeTaxTextualAbstract_4444AA9CDDCDF790B0BF2ED4703A0AC1" xlink:to="loc_us-gaap_UnrecognizedTaxBenefits_7C2B1412CA1A083199D52ED4703A0620" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.oesx.com/role/IncomeTaxesTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.oesx.com/role/RelatedPartyTransactions" xlink:type="extended" />
  <definitionLink xlink:role="http://www.oesx.com/role/Segments" xlink:type="extended" />
  <definitionLink xlink:role="http://www.oesx.com/role/SegmentsDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_SegmentReportingInformationLineItems" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_0FE3C4C8A2B879872616E60FD3B15FBD" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_D748D74164055CF9AA8EE60FD3B17980" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_0FE3C4C8A2B879872616E60FD3B15FBD" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_D748D74164055CF9AA8EE60FD3B17980" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_6FC243178314BF9D0F16E60FD3B1B653" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_D748D74164055CF9AA8EE60FD3B17980" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_6FC243178314BF9D0F16E60FD3B1B653" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_C57175D9EF19EB404395E60FD3B17559_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_6FC243178314BF9D0F16E60FD3B1B653" xlink:to="loc_us-gaap_SegmentDomain_C57175D9EF19EB404395E60FD3B17559_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_C57175D9EF19EB404395E60FD3B17559" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_6FC243178314BF9D0F16E60FD3B1B653" xlink:to="loc_us-gaap_SegmentDomain_C57175D9EF19EB404395E60FD3B17559" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_EnergyManagementMember" xlink:label="loc_oesx_EnergyManagementMember_9D008A9943DFE8807B66E60FD3B15499" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_C57175D9EF19EB404395E60FD3B17559" xlink:to="loc_oesx_EnergyManagementMember_9D008A9943DFE8807B66E60FD3B15499" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_EngineeredSystemsMember" xlink:label="loc_oesx_EngineeredSystemsMember_B1E74DC7A5FC6ABC496BE60FD3B15CF0" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_C57175D9EF19EB404395E60FD3B17559" xlink:to="loc_oesx_EngineeredSystemsMember_B1E74DC7A5FC6ABC496BE60FD3B15CF0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_CorporateAndOtherMember" xlink:label="loc_us-gaap_CorporateAndOtherMember_D0AF6C7052E0AA466544E60FD3B1AA25" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_C57175D9EF19EB404395E60FD3B17559" xlink:to="loc_us-gaap_CorporateAndOtherMember_D0AF6C7052E0AA466544E60FD3B1AA25" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_SegmentReportingInformationRevenueAbstract" xlink:label="loc_us-gaap_SegmentReportingInformationRevenueAbstract_C1E1465BA3DFB189EAEBE60FD3B1FC72" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_0FE3C4C8A2B879872616E60FD3B15FBD" xlink:to="loc_us-gaap_SegmentReportingInformationRevenueAbstract_C1E1465BA3DFB189EAEBE60FD3B1FC72" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_Revenues" xlink:label="loc_us-gaap_Revenues_F5644EBFB495F38564B9E60FD3B1ABA6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationRevenueAbstract_C1E1465BA3DFB189EAEBE60FD3B1FC72" xlink:to="loc_us-gaap_Revenues_F5644EBFB495F38564B9E60FD3B1ABA6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_OperatingIncomeLoss" xlink:label="loc_us-gaap_OperatingIncomeLoss_E29D52628F6201B8D3F3E60FD3B1EE62" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationRevenueAbstract_C1E1465BA3DFB189EAEBE60FD3B1FC72" xlink:to="loc_us-gaap_OperatingIncomeLoss_E29D52628F6201B8D3F3E60FD3B1EE62" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.oesx.com/role/SegmentsDetails1" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_SegmentReportingInformationLineItems" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_49D46BDED18D0BA7C059E60FD1A97584" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_194573C3E535517B1A03E60FD1A9E379" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_49D46BDED18D0BA7C059E60FD1A97584" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_194573C3E535517B1A03E60FD1A9E379" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_ED5997291075E9D8E64BE60FD1A97FA1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_194573C3E535517B1A03E60FD1A9E379" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_ED5997291075E9D8E64BE60FD1A97FA1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_A78AD075EEBBAF320B75E60FD1A9F23E_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_ED5997291075E9D8E64BE60FD1A97FA1" xlink:to="loc_us-gaap_SegmentDomain_A78AD075EEBBAF320B75E60FD1A9F23E_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_A78AD075EEBBAF320B75E60FD1A9F23E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_ED5997291075E9D8E64BE60FD1A97FA1" xlink:to="loc_us-gaap_SegmentDomain_A78AD075EEBBAF320B75E60FD1A9F23E" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_EnergyManagementMember" xlink:label="loc_oesx_EnergyManagementMember_B6ACDC8F9DBBAF95C0B7E60FD1A9CEFE" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_A78AD075EEBBAF320B75E60FD1A9F23E" xlink:to="loc_oesx_EnergyManagementMember_B6ACDC8F9DBBAF95C0B7E60FD1A9CEFE" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_EngineeredSystemsMember" xlink:label="loc_oesx_EngineeredSystemsMember_9251E1E72585ED8FED8AE60FD1A967FB" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_A78AD075EEBBAF320B75E60FD1A9F23E" xlink:to="loc_oesx_EngineeredSystemsMember_9251E1E72585ED8FED8AE60FD1A967FB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_CorporateAndOtherMember" xlink:label="loc_us-gaap_CorporateAndOtherMember_A75F124004CAFDDC6224E60FD1A9612C" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_A78AD075EEBBAF320B75E60FD1A9F23E" xlink:to="loc_us-gaap_CorporateAndOtherMember_A75F124004CAFDDC6224E60FD1A9612C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_SegmentReportingInformationRevenueAbstract" xlink:label="loc_us-gaap_SegmentReportingInformationRevenueAbstract_876E5009F86130933062E60FD1A9E970" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_49D46BDED18D0BA7C059E60FD1A97584" xlink:to="loc_us-gaap_SegmentReportingInformationRevenueAbstract_876E5009F86130933062E60FD1A9E970" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets_200AE1509223BD2D9322E60FD1A9C611" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationRevenueAbstract_876E5009F86130933062E60FD1A9E970" xlink:to="loc_us-gaap_Assets_200AE1509223BD2D9322E60FD1A9C611" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_DeferredRevenue" xlink:label="loc_us-gaap_DeferredRevenue_0D9314F5D4B1B5E81E00E60FD1A910DC" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationRevenueAbstract_876E5009F86130933062E60FD1A9E970" xlink:to="loc_us-gaap_DeferredRevenue_0D9314F5D4B1B5E81E00E60FD1A910DC" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.oesx.com/role/SegmentsTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.oesx.com/role/ShareholdersEquity" xlink:type="extended" />
  <definitionLink xlink:role="http://www.oesx.com/role/ShareholdersEquityDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_EmployeeStockOwnershipPlanESOPDisclosuresLineItems" xlink:label="loc_us-gaap_EmployeeStockOwnershipPlanESOPDisclosuresLineItems_9D3658B6436D6F490F6CE60FD49729F8" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ScheduleOfEmployeeStockOwnershipPlanESOPDisclosuresTable" xlink:label="loc_us-gaap_ScheduleOfEmployeeStockOwnershipPlanESOPDisclosuresTable_4A7AB9E25F57FA31D449E60FD4976C3A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EmployeeStockOwnershipPlanESOPDisclosuresLineItems_9D3658B6436D6F490F6CE60FD49729F8" xlink:to="loc_us-gaap_ScheduleOfEmployeeStockOwnershipPlanESOPDisclosuresTable_4A7AB9E25F57FA31D449E60FD4976C3A" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_217F227515678FA96B61E60FD497EDBA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEmployeeStockOwnershipPlanESOPDisclosuresTable_4A7AB9E25F57FA31D449E60FD4976C3A" xlink:to="loc_us-gaap_RangeAxis_217F227515678FA96B61E60FD497EDBA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_972A5B8015FAEE716447E60FD4978A96_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_217F227515678FA96B61E60FD497EDBA" xlink:to="loc_us-gaap_RangeMember_972A5B8015FAEE716447E60FD4978A96_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_972A5B8015FAEE716447E60FD4978A96" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_217F227515678FA96B61E60FD497EDBA" xlink:to="loc_us-gaap_RangeMember_972A5B8015FAEE716447E60FD4978A96" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_E35BBB9538E66EF2DA82E60FD4973C14" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_972A5B8015FAEE716447E60FD4978A96" xlink:to="loc_us-gaap_MinimumMember_E35BBB9538E66EF2DA82E60FD4973C14" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_EA70CA50C0355282C1CDE60FD497BD11" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_972A5B8015FAEE716447E60FD4978A96" xlink:to="loc_us-gaap_MaximumMember_EA70CA50C0355282C1CDE60FD497BD11" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_SummaryOfIssuanceOfStockUnderEmployeeStockOwnershipPlanAbstract" xlink:label="loc_oesx_SummaryOfIssuanceOfStockUnderEmployeeStockOwnershipPlanAbstract_51A11C705AC5387597C8E60FD4970531" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeStockOwnershipPlanESOPDisclosuresLineItems_9D3658B6436D6F490F6CE60FD49729F8" xlink:to="loc_oesx_SummaryOfIssuanceOfStockUnderEmployeeStockOwnershipPlanAbstract_51A11C705AC5387597C8E60FD4970531" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_40370CA858FCFC4064D4E60FD497E86D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_SummaryOfIssuanceOfStockUnderEmployeeStockOwnershipPlanAbstract_51A11C705AC5387597C8E60FD4970531" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_40370CA858FCFC4064D4E60FD497E86D" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_EmployeeStockPurchasePlanClosingMarketPriceOfSharesPurchased" xlink:label="loc_oesx_EmployeeStockPurchasePlanClosingMarketPriceOfSharesPurchased_E046126693A1F48A9999E60FD497FE45" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_SummaryOfIssuanceOfStockUnderEmployeeStockOwnershipPlanAbstract_51A11C705AC5387597C8E60FD4970531" xlink:to="loc_oesx_EmployeeStockPurchasePlanClosingMarketPriceOfSharesPurchased_E046126693A1F48A9999E60FD497FE45" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_EmployeeStockPurchasePlansWeightedAveragePurchasePriceOfSharesPurchasedNet" xlink:label="loc_oesx_EmployeeStockPurchasePlansWeightedAveragePurchasePriceOfSharesPurchasedNet_1C4990F0812B0C8321B6E60FD4A1AEA1" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_SummaryOfIssuanceOfStockUnderEmployeeStockOwnershipPlanAbstract_51A11C705AC5387597C8E60FD4970531" xlink:to="loc_oesx_EmployeeStockPurchasePlansWeightedAveragePurchasePriceOfSharesPurchasedNet_1C4990F0812B0C8321B6E60FD4A1AEA1" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_EmployeeStockPurchasePlansDebtStructureSharesIssued" xlink:label="loc_oesx_EmployeeStockPurchasePlansDebtStructureSharesIssued_E734A070CE8C8267103EE60FD4A100BE" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_SummaryOfIssuanceOfStockUnderEmployeeStockOwnershipPlanAbstract_51A11C705AC5387597C8E60FD4970531" xlink:to="loc_oesx_EmployeeStockPurchasePlansDebtStructureSharesIssued_E734A070CE8C8267103EE60FD4A100BE" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_EmployeeStockPurchasePlansDebtStructureSharesIssuedNet" xlink:label="loc_oesx_EmployeeStockPurchasePlansDebtStructureSharesIssuedNet_CE33D5950C6B42CABB6CE60FD4A192CF" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_SummaryOfIssuanceOfStockUnderEmployeeStockOwnershipPlanAbstract_51A11C705AC5387597C8E60FD4970531" xlink:to="loc_oesx_EmployeeStockPurchasePlansDebtStructureSharesIssuedNet_CE33D5950C6B42CABB6CE60FD4A192CF" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_EmployeeStockPurchasePlansDebtStructureDirectLoanAmount" xlink:label="loc_oesx_EmployeeStockPurchasePlansDebtStructureDirectLoanAmount_1403A135C580BF99D005E60FD4A17F54" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_SummaryOfIssuanceOfStockUnderEmployeeStockOwnershipPlanAbstract_51A11C705AC5387597C8E60FD4970531" xlink:to="loc_oesx_EmployeeStockPurchasePlansDebtStructureDirectLoanAmount_1403A135C580BF99D005E60FD4A17F54" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_EmployeeStockPurchasePlansDebtStructureDirectLoanAmountNet" xlink:label="loc_oesx_EmployeeStockPurchasePlansDebtStructureDirectLoanAmountNet_5966D9F7C6FF8432818CE60FD4A1FD9B" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_SummaryOfIssuanceOfStockUnderEmployeeStockOwnershipPlanAbstract_51A11C705AC5387597C8E60FD4970531" xlink:to="loc_oesx_EmployeeStockPurchasePlansDebtStructureDirectLoanAmountNet_5966D9F7C6FF8432818CE60FD4A1FD9B" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_EmployeeStockPurchasePlansDebtStructureDirectLoanRepaymentAmount" xlink:label="loc_oesx_EmployeeStockPurchasePlansDebtStructureDirectLoanRepaymentAmount_62FD04D50868207C4596E60FD4A13529" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_SummaryOfIssuanceOfStockUnderEmployeeStockOwnershipPlanAbstract_51A11C705AC5387597C8E60FD4970531" xlink:to="loc_oesx_EmployeeStockPurchasePlansDebtStructureDirectLoanRepaymentAmount_62FD04D50868207C4596E60FD4A13529" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_EmployeeStockPurchasePlansDebtStructureDirectLoanRepaymentAmountNet" xlink:label="loc_oesx_EmployeeStockPurchasePlansDebtStructureDirectLoanRepaymentAmountNet_DF01E34C9A70F8767B71E60FD4A10B48" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_SummaryOfIssuanceOfStockUnderEmployeeStockOwnershipPlanAbstract_51A11C705AC5387597C8E60FD4970531" xlink:to="loc_oesx_EmployeeStockPurchasePlansDebtStructureDirectLoanRepaymentAmountNet_DF01E34C9A70F8767B71E60FD4A10B48" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.oesx.com/role/ShareholdersEquityDetailsTextual" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_EquityClassOfTreasuryStockLineItems" xlink:label="loc_us-gaap_EquityClassOfTreasuryStockLineItems_ED2D1AF31B704BB0C17A33694CA2ACD2" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ClassOfTreasuryStockTable" xlink:label="loc_us-gaap_ClassOfTreasuryStockTable_8B0E343A614FE52223DE33694C978EC8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EquityClassOfTreasuryStockLineItems_ED2D1AF31B704BB0C17A33694CA2ACD2" xlink:to="loc_us-gaap_ClassOfTreasuryStockTable_8B0E343A614FE52223DE33694C978EC8" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ShareRepurchaseProgramAxis" xlink:label="loc_us-gaap_ShareRepurchaseProgramAxis_73608310C801E67D0E4D335F3118A9E3" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ClassOfTreasuryStockTable_8B0E343A614FE52223DE33694C978EC8" xlink:to="loc_us-gaap_ShareRepurchaseProgramAxis_73608310C801E67D0E4D335F3118A9E3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ShareRepurchaseProgramDomain" xlink:label="loc_us-gaap_ShareRepurchaseProgramDomain_F3DE0D59A3043540C1E33369D2DA4F00_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ShareRepurchaseProgramAxis_73608310C801E67D0E4D335F3118A9E3" xlink:to="loc_us-gaap_ShareRepurchaseProgramDomain_F3DE0D59A3043540C1E33369D2DA4F00_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ShareRepurchaseProgramDomain" xlink:label="loc_us-gaap_ShareRepurchaseProgramDomain_F3DE0D59A3043540C1E33369D2DA4F00" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ShareRepurchaseProgramAxis_73608310C801E67D0E4D335F3118A9E3" xlink:to="loc_us-gaap_ShareRepurchaseProgramDomain_F3DE0D59A3043540C1E33369D2DA4F00" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_October2011Member" xlink:label="loc_oesx_October2011Member_FD6DA1E7EC59C8A29663335F31189398" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareRepurchaseProgramDomain_F3DE0D59A3043540C1E33369D2DA4F00" xlink:to="loc_oesx_October2011Member_FD6DA1E7EC59C8A29663335F31189398" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_StockRepurchaseProgramAuthorizedAmount" xlink:label="loc_us-gaap_StockRepurchaseProgramAuthorizedAmount_6367A3310B6EA51BB50A335F3119C605" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityClassOfTreasuryStockLineItems_ED2D1AF31B704BB0C17A33694CA2ACD2" xlink:to="loc_us-gaap_StockRepurchaseProgramAuthorizedAmount_6367A3310B6EA51BB50A335F3119C605" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_StockRepurchaseProgramIncreaseInAuthorizedRepurchaseAmount" xlink:label="loc_oesx_StockRepurchaseProgramIncreaseInAuthorizedRepurchaseAmount_03A10BB0E0DA51E4AE68335F3119BD92" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityClassOfTreasuryStockLineItems_ED2D1AF31B704BB0C17A33694CA2ACD2" xlink:to="loc_oesx_StockRepurchaseProgramIncreaseInAuthorizedRepurchaseAmount_03A10BB0E0DA51E4AE68335F3119BD92" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_TreasuryStockSharesAcquired" xlink:label="loc_us-gaap_TreasuryStockSharesAcquired_693E2B34755FA820A397335F31196318" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityClassOfTreasuryStockLineItems_ED2D1AF31B704BB0C17A33694CA2ACD2" xlink:to="loc_us-gaap_TreasuryStockSharesAcquired_693E2B34755FA820A397335F31196318" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_D5D7CC1BCF24ECD6037A335F31195C09" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityClassOfTreasuryStockLineItems_ED2D1AF31B704BB0C17A33694CA2ACD2" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_D5D7CC1BCF24ECD6037A335F31195C09" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.oesx.com/role/ShareholdersEquityTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.oesx.com/role/StockOptionsRestrictedSharesAndWarrants" xlink:type="extended" />
  <definitionLink xlink:role="http://www.oesx.com/role/StockOptionsRestrictedSharesAndWarrantsDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_109DD1BE4C191687563DE60FD2F34498" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable" xlink:label="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_3C124296456831A30E38E60FD2F3112D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_109DD1BE4C191687563DE60FD2F34498" xlink:to="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_3C124296456831A30E38E60FD2F3112D" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsByReportLineAxis" xlink:label="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsByReportLineAxis_C9DA4083FC196C5383C2E60FD2F367B2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_3C124296456831A30E38E60FD2F3112D" xlink:to="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsByReportLineAxis_C9DA4083FC196C5383C2E60FD2F367B2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsReportLineDomain" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsReportLineDomain_39183479646705892E3CE60FD2F31E7F_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsByReportLineAxis_C9DA4083FC196C5383C2E60FD2F367B2" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsReportLineDomain_39183479646705892E3CE60FD2F31E7F_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsReportLineDomain" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsReportLineDomain_39183479646705892E3CE60FD2F31E7F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsByReportLineAxis_C9DA4083FC196C5383C2E60FD2F367B2" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsReportLineDomain_39183479646705892E3CE60FD2F31E7F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_CostOfSalesMember" xlink:label="loc_us-gaap_CostOfSalesMember_2FAB08F3353AEF03AC5CE60FD2F3C682" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsReportLineDomain_39183479646705892E3CE60FD2F31E7F" xlink:to="loc_us-gaap_CostOfSalesMember_2FAB08F3353AEF03AC5CE60FD2F3C682" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_GeneralAndAdministrativeExpenseMember" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpenseMember_CFBFCD49F699533C1619E60FD2F3525A" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsReportLineDomain_39183479646705892E3CE60FD2F31E7F" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpenseMember_CFBFCD49F699533C1619E60FD2F3525A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_SellingAndMarketingExpenseMember" xlink:label="loc_us-gaap_SellingAndMarketingExpenseMember_0D78E4268F5BBE07342AE60FD2F3CB91" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsReportLineDomain_39183479646705892E3CE60FD2F31E7F" xlink:to="loc_us-gaap_SellingAndMarketingExpenseMember_0D78E4268F5BBE07342AE60FD2F3CB91" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ResearchAndDevelopmentExpenseMember" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpenseMember_BCF67BDF5CD4E2C0B695E60FD2F3F15E" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsReportLineDomain_39183479646705892E3CE60FD2F31E7F" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpenseMember_BCF67BDF5CD4E2C0B695E60FD2F3F15E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ShareBasedCompensationAllocationAndClassificationInFinancialStatementsAbstract" xlink:label="loc_us-gaap_ShareBasedCompensationAllocationAndClassificationInFinancialStatementsAbstract_0CDF6B99451E57914CB0E60FD2F33ABE" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_109DD1BE4C191687563DE60FD2F34498" xlink:to="loc_us-gaap_ShareBasedCompensationAllocationAndClassificationInFinancialStatementsAbstract_0CDF6B99451E57914CB0E60FD2F33ABE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_0B1BAB9A206A5FEC2246E60FD2F3284E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationAllocationAndClassificationInFinancialStatementsAbstract_0CDF6B99451E57914CB0E60FD2F33ABE" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_0B1BAB9A206A5FEC2246E60FD2F3284E" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.oesx.com/role/StockOptionsRestrictedSharesAndWarrantsDetails1" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A132B88A328CE13250D333042D2C3D00" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_9AC67E2A9AAF363D346A33042D22DC63" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A132B88A328CE13250D333042D2C3D00" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_9AC67E2A9AAF363D346A33042D22DC63" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_37DA75688FE1F9E25B5C33042D2C71EF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_9AC67E2A9AAF363D346A33042D22DC63" xlink:to="loc_us-gaap_AwardTypeAxis_37DA75688FE1F9E25B5C33042D2C71EF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_02191CD740B385AEFF9033042D2CF739_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_37DA75688FE1F9E25B5C33042D2C71EF" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_02191CD740B385AEFF9033042D2CF739_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_02191CD740B385AEFF9033042D2CF739" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_37DA75688FE1F9E25B5C33042D2C71EF" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_02191CD740B385AEFF9033042D2CF739" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_StockOptionsMember" xlink:label="loc_us-gaap_StockOptionsMember_6FFDBCE9B48DDE6E15FB33042D2C4133" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_02191CD740B385AEFF9033042D2CF739" xlink:to="loc_us-gaap_StockOptionsMember_6FFDBCE9B48DDE6E15FB33042D2C4133" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RestrictedStockMember" xlink:label="loc_us-gaap_RestrictedStockMember_B56B79204D2BC62F810933042D2C43EA" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_02191CD740B385AEFF9033042D2CF739" xlink:to="loc_us-gaap_RestrictedStockMember_B56B79204D2BC62F810933042D2C43EA" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrantRollForward" xlink:label="loc_oesx_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrantRollForward_6C3541E123FB3BB507D233042D2C0F09" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A132B88A328CE13250D333042D2C3D00" xlink:to="loc_oesx_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrantRollForward_6C3541E123FB3BB507D233042D2C0F09" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_04B7FDC26FB5BF6789F133042D2CEE09" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrantRollForward_6C3541E123FB3BB507D233042D2C0F09" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_04B7FDC26FB5BF6789F133042D2CEE09" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrantSharesIssuedToEmployee" xlink:label="loc_oesx_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrantSharesIssuedToEmployee_03441BC6B37F3E26DFF233042D2CE596" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrantRollForward_6C3541E123FB3BB507D233042D2C0F09" xlink:to="loc_oesx_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrantSharesIssuedToEmployee_03441BC6B37F3E26DFF233042D2CE596" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrantSharesIssuedToNonEmployee" xlink:label="loc_oesx_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrantSharesIssuedToNonEmployee_F43FC2C2A0DA476415CC33042D2CD583" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrantRollForward_6C3541E123FB3BB507D233042D2C0F09" xlink:to="loc_oesx_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrantSharesIssuedToNonEmployee_F43FC2C2A0DA476415CC33042D2CD583" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrantForfeited" xlink:label="loc_oesx_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrantForfeited_72670D1AE892CFF6A9D133042D2CF88E" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrantRollForward_6C3541E123FB3BB507D233042D2C0F09" xlink:to="loc_oesx_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrantForfeited_72670D1AE892CFF6A9D133042D2CF88E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_21979FF241D854FA24F533042D2CC83B" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A132B88A328CE13250D333042D2C3D00" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_21979FF241D854FA24F533042D2CC83B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_3CB0ECF7CD5D186CFEAB33042D2C1606" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_21979FF241D854FA24F533042D2CC83B" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_3CB0ECF7CD5D186CFEAB33042D2C1606" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_77EDC79FA21F30199B2F33042D2CDB3A" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_21979FF241D854FA24F533042D2CC83B" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_77EDC79FA21F30199B2F33042D2CDB3A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod_D6E44599C5FE02EF2F7333042D2C4793" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_21979FF241D854FA24F533042D2CC83B" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod_D6E44599C5FE02EF2F7333042D2C4793" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_87A957706EB215C95B0B33042D2CAB4C" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_21979FF241D854FA24F533042D2CC83B" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_87A957706EB215C95B0B33042D2CAB4C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber_D848CECBE46080EAAF8F33042D2CDAEB" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A132B88A328CE13250D333042D2C3D00" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber_D848CECBE46080EAAF8F33042D2CDAEB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_7792A9869787F018D14C33042D2CF6E7" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A132B88A328CE13250D333042D2C3D00" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_7792A9869787F018D14C33042D2CF6E7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_6E399D1788BB9C7BEE2533042D2CBB1B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_7792A9869787F018D14C33042D2CF6E7" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_6E399D1788BB9C7BEE2533042D2CBB1B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice_4ED74CA966C0B153BF1F33042D2CA111" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_7792A9869787F018D14C33042D2CF6E7" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice_4ED74CA966C0B153BF1F33042D2CA111" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice_594F7B8DA7DFFBA61F1B33042D2C6B20" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_7792A9869787F018D14C33042D2CF6E7" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice_594F7B8DA7DFFBA61F1B33042D2C6B20" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice_5FA35CE5A2BB9D3601AB33042D2C3BC2" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_7792A9869787F018D14C33042D2CF6E7" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice_5FA35CE5A2BB9D3601AB33042D2C3BC2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice_98538E6FD381CE22E38733042D2C02C1" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A132B88A328CE13250D333042D2C3D00" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice_98538E6FD381CE22E38733042D2C02C1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2_9CD1773A23DE37E4AD3633042D2C8A05" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A132B88A328CE13250D333042D2C3D00" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2_9CD1773A23DE37E4AD3633042D2C8A05" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1_416A7E530E0A8BFB9F2733042D2C7FEF" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A132B88A328CE13250D333042D2C3D00" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1_416A7E530E0A8BFB9F2733042D2C7FEF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue_3E53C3A2BCED2739473033042D2CEDD7" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A132B88A328CE13250D333042D2C3D00" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue_3E53C3A2BCED2739473033042D2CEDD7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1_257651FDBBF57B3E868B33042D2CF33B" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A132B88A328CE13250D333042D2C3D00" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1_257651FDBBF57B3E868B33042D2CF33B" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.oesx.com/role/StockOptionsRestrictedSharesAndWarrantsDetails2" xlink:type="extended" />
  <definitionLink xlink:role="http://www.oesx.com/role/StockOptionsRestrictedSharesAndWarrantsDetails3" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_E87EE64CEAFAF108935333E30BAFF886" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_9D831D72E92C51DE398333E30BAF0473" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_E87EE64CEAFAF108935333E30BAFF886" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_9D831D72E92C51DE398333E30BAF0473" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_B3F32DF07E845EEF3F6433E30BAF9527" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_9D831D72E92C51DE398333E30BAF0473" xlink:to="loc_us-gaap_AwardTypeAxis_B3F32DF07E845EEF3F6433E30BAF9527" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_483E2B5B702B57470A5433E30BAFE76E_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_B3F32DF07E845EEF3F6433E30BAF9527" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_483E2B5B702B57470A5433E30BAFE76E_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_483E2B5B702B57470A5433E30BAFE76E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_B3F32DF07E845EEF3F6433E30BAF9527" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_483E2B5B702B57470A5433E30BAFE76E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RestrictedStockMember" xlink:label="loc_us-gaap_RestrictedStockMember_94294A8DE65832A868A433E30BAF7D35" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_483E2B5B702B57470A5433E30BAFE76E" xlink:to="loc_us-gaap_RestrictedStockMember_94294A8DE65832A868A433E30BAF7D35" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_79D5BE5BF17C2DCCD73133E30BAFF0F6" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_9D831D72E92C51DE398333E30BAF0473" xlink:to="loc_us-gaap_RangeAxis_79D5BE5BF17C2DCCD73133E30BAFF0F6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_601BE2D9F5B22FD092E433E30BAF4F43_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_79D5BE5BF17C2DCCD73133E30BAFF0F6" xlink:to="loc_us-gaap_RangeMember_601BE2D9F5B22FD092E433E30BAF4F43_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_601BE2D9F5B22FD092E433E30BAF4F43" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_79D5BE5BF17C2DCCD73133E30BAFF0F6" xlink:to="loc_us-gaap_RangeMember_601BE2D9F5B22FD092E433E30BAF4F43" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_11FEA8D0AD1CD009D28533E30BAF7FAA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_601BE2D9F5B22FD092E433E30BAF4F43" xlink:to="loc_us-gaap_MaximumMember_11FEA8D0AD1CD009D28533E30BAF7FAA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_C725B994E2D16036F6AB33E30BAF775B" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_601BE2D9F5B22FD092E433E30BAF4F43" xlink:to="loc_us-gaap_MinimumMember_C725B994E2D16036F6AB33E30BAF775B" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_SharebasedCompensationArrangementByShareBasedPaymentAwardPerSharePrice" xlink:label="loc_oesx_SharebasedCompensationArrangementByShareBasedPaymentAwardPerSharePrice_DDA923BA34AA3731C96C33E30BAFBC41" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_E87EE64CEAFAF108935333E30BAFF886" xlink:to="loc_oesx_SharebasedCompensationArrangementByShareBasedPaymentAwardPerSharePrice_DDA923BA34AA3731C96C33E30BAFBC41" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_86C1BFDDD47309EF48FD33E30BAF00EA" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_E87EE64CEAFAF108935333E30BAFF886" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_86C1BFDDD47309EF48FD33E30BAF00EA" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_RestrictedSharesIssuedToKeyEmployeesAbstract" xlink:label="loc_oesx_RestrictedSharesIssuedToKeyEmployeesAbstract_F129D40A4B070B996CA133E30BAF1484" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_E87EE64CEAFAF108935333E30BAFF886" xlink:to="loc_oesx_RestrictedSharesIssuedToKeyEmployeesAbstract_F129D40A4B070B996CA133E30BAF1484" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_F0E619D1E6DB7CB31F3D33E30F5B34A0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_RestrictedSharesIssuedToKeyEmployeesAbstract_F129D40A4B070B996CA133E30BAF1484" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_F0E619D1E6DB7CB31F3D33E30F5B34A0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_514485D5B2697A390C9D33E30BAF7FD9" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_RestrictedSharesIssuedToKeyEmployeesAbstract_F129D40A4B070B996CA133E30BAF1484" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_514485D5B2697A390C9D33E30BAF7FD9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_8706C8EDEBEFFD30021333E30BAFD28C" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_RestrictedSharesIssuedToKeyEmployeesAbstract_F129D40A4B070B996CA133E30BAF1484" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_8706C8EDEBEFFD30021333E30BAFD28C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_732B30BE5835DF0C2A2533E30BAF746A" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_RestrictedSharesIssuedToKeyEmployeesAbstract_F129D40A4B070B996CA133E30BAF1484" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_732B30BE5835DF0C2A2533E30BAF746A" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.oesx.com/role/StockOptionsRestrictedSharesAndWarrantsDetails4" xlink:type="extended" />
  <definitionLink xlink:role="http://www.oesx.com/role/StockOptionsRestrictedSharesAndWarrantsDetailsTextual" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_7429C7540CE994876C1333B9372C05F2" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_01BFA342CAE1112D8A3C33B93726EBC8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_7429C7540CE994876C1333B9372C05F2" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_01BFA342CAE1112D8A3C33B93726EBC8" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_714000C808A57294D2DF33B9372661C5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_01BFA342CAE1112D8A3C33B93726EBC8" xlink:to="loc_us-gaap_AwardTypeAxis_714000C808A57294D2DF33B9372661C5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_D8916CA94935FB9B34EA33B9372640DF_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_714000C808A57294D2DF33B9372661C5" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_D8916CA94935FB9B34EA33B9372640DF_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_D8916CA94935FB9B34EA33B9372640DF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_714000C808A57294D2DF33B9372661C5" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_D8916CA94935FB9B34EA33B9372640DF" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_NonEmployeeDirectorMember" xlink:label="loc_oesx_NonEmployeeDirectorMember_345C60AFC4C841FDB8F533B93726CBBD" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_D8916CA94935FB9B34EA33B9372640DF" xlink:to="loc_oesx_NonEmployeeDirectorMember_345C60AFC4C841FDB8F533B93726CBBD" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_ConsultantMember" xlink:label="loc_oesx_ConsultantMember_D1776224B842C2D20B4D33B93726D20A" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_D8916CA94935FB9B34EA33B9372640DF" xlink:to="loc_oesx_ConsultantMember_D1776224B842C2D20B4D33B93726D20A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RestrictedStockMember" xlink:label="loc_us-gaap_RestrictedStockMember_F4796F65E377CB5C278433B937263C6C" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_714000C808A57294D2DF33B9372661C5" xlink:to="loc_us-gaap_RestrictedStockMember_F4796F65E377CB5C278433B937263C6C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_PlanNameAxis" xlink:label="loc_us-gaap_PlanNameAxis_10BAECD810D629F8E0D833B9372609B5" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_01BFA342CAE1112D8A3C33B93726EBC8" xlink:to="loc_us-gaap_PlanNameAxis_10BAECD810D629F8E0D833B9372609B5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_AB8869363600947F992933B9372C8F44_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_10BAECD810D629F8E0D833B9372609B5" xlink:to="loc_us-gaap_PlanNameDomain_AB8869363600947F992933B9372C8F44_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_AB8869363600947F992933B9372C8F44" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_10BAECD810D629F8E0D833B9372609B5" xlink:to="loc_us-gaap_PlanNameDomain_AB8869363600947F992933B9372C8F44" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_TwoThousandThreeStockOptionMember" xlink:label="loc_oesx_TwoThousandThreeStockOptionMember_4DED5881B054CC9D76BE33B9372CBE36" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_AB8869363600947F992933B9372C8F44" xlink:to="loc_oesx_TwoThousandThreeStockOptionMember_4DED5881B054CC9D76BE33B9372CBE36" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RestrictedStockMember" xlink:label="loc_us-gaap_RestrictedStockMember_8DC72E424A9CE3F07DE433B9372CCF70" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_AB8869363600947F992933B9372C8F44" xlink:to="loc_us-gaap_RestrictedStockMember_8DC72E424A9CE3F07DE433B9372CCF70" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_TwoThousandFourStockAndIncentiveAndAwardPlanMember" xlink:label="loc_oesx_TwoThousandFourStockAndIncentiveAndAwardPlanMember_76CA53AB525290E264BB33B9372C87A7" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_AB8869363600947F992933B9372C8F44" xlink:to="loc_oesx_TwoThousandFourStockAndIncentiveAndAwardPlanMember_76CA53AB525290E264BB33B9372C87A7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_F313B4C6EF306553AF7433B9372CA6A0" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_01BFA342CAE1112D8A3C33B93726EBC8" xlink:to="loc_us-gaap_RangeAxis_F313B4C6EF306553AF7433B9372CA6A0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_1F6379B1F1598FCE6AE333B9372C4866_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_F313B4C6EF306553AF7433B9372CA6A0" xlink:to="loc_us-gaap_RangeMember_1F6379B1F1598FCE6AE333B9372C4866_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_1F6379B1F1598FCE6AE333B9372C4866" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_F313B4C6EF306553AF7433B9372CA6A0" xlink:to="loc_us-gaap_RangeMember_1F6379B1F1598FCE6AE333B9372C4866" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_22CC69CBFB0F02D1C71233B9372C63EB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_1F6379B1F1598FCE6AE333B9372C4866" xlink:to="loc_us-gaap_MinimumMember_22CC69CBFB0F02D1C71233B9372C63EB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_AD05CF7E1D7F3742C69333B9372C4A9B" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_1F6379B1F1598FCE6AE333B9372C4866" xlink:to="loc_us-gaap_MaximumMember_AD05CF7E1D7F3742C69333B9372C4A9B" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_StockOptionsRestrictedSharesAndWarrantsTextualAbstract" xlink:label="loc_oesx_StockOptionsRestrictedSharesAndWarrantsTextualAbstract_EAD24C67EF7052BE929E33B9372C5F50" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_7429C7540CE994876C1333B9372C05F2" xlink:to="loc_oesx_StockOptionsRestrictedSharesAndWarrantsTextualAbstract_EAD24C67EF7052BE929E33B9372C5F50" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_CommonStockCapitalSharesReservedForFutureIssuance" xlink:label="loc_us-gaap_CommonStockCapitalSharesReservedForFutureIssuance_348F6CFC2D96CC856B2F33B9372C2E41" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_StockOptionsRestrictedSharesAndWarrantsTextualAbstract_EAD24C67EF7052BE929E33B9372C5F50" xlink:to="loc_us-gaap_CommonStockCapitalSharesReservedForFutureIssuance_348F6CFC2D96CC856B2F33B9372C2E41" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_77995E96E4EF8120C05233B9372D5836" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_StockOptionsRestrictedSharesAndWarrantsTextualAbstract_EAD24C67EF7052BE929E33B9372C5F50" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_77995E96E4EF8120C05233B9372D5836" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_ShareBasedCompensationArrangementsByShareBasedPaymentsAwardOptionMaximumLife" xlink:label="loc_oesx_ShareBasedCompensationArrangementsByShareBasedPaymentsAwardOptionMaximumLife_D779CA897F492DB0047833B9372D90CB" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_StockOptionsRestrictedSharesAndWarrantsTextualAbstract_EAD24C67EF7052BE929E33B9372C5F50" xlink:to="loc_oesx_ShareBasedCompensationArrangementsByShareBasedPaymentsAwardOptionMaximumLife_D779CA897F492DB0047833B9372D90CB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesIssuedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesIssuedInPeriod_016E69100BD159D69FEC33B9372DF4D7" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_StockOptionsRestrictedSharesAndWarrantsTextualAbstract_EAD24C67EF7052BE929E33B9372C5F50" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesIssuedInPeriod_016E69100BD159D69FEC33B9372DF4D7" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_SharebasedCompensationArrangementByShareBasedPaymentAwardPerSharePrice" xlink:label="loc_oesx_SharebasedCompensationArrangementByShareBasedPaymentAwardPerSharePrice_767EA981023FD35429EF33B9372D5216" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_StockOptionsRestrictedSharesAndWarrantsTextualAbstract_EAD24C67EF7052BE929E33B9372C5F50" xlink:to="loc_oesx_SharebasedCompensationArrangementByShareBasedPaymentAwardPerSharePrice_767EA981023FD35429EF33B9372D5216" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_96EF05498330B087A7BA33B937321A64" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_StockOptionsRestrictedSharesAndWarrantsTextualAbstract_EAD24C67EF7052BE929E33B9372C5F50" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_96EF05498330B087A7BA33B937321A64" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ShareBasedGoodsAndNonemployeeServicesTransactionQuantityOfSecuritiesIssued" xlink:label="loc_us-gaap_ShareBasedGoodsAndNonemployeeServicesTransactionQuantityOfSecuritiesIssued_4ED7ABC2587F6039A42633B937324868" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_StockOptionsRestrictedSharesAndWarrantsTextualAbstract_EAD24C67EF7052BE929E33B9372C5F50" xlink:to="loc_us-gaap_ShareBasedGoodsAndNonemployeeServicesTransactionQuantityOfSecuritiesIssued_4ED7ABC2587F6039A42633B937324868" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_SharebasedGoodsandNonemployeeServicesTransactionSecuritiesIssuedValuationPricePerShare" xlink:label="loc_oesx_SharebasedGoodsandNonemployeeServicesTransactionSecuritiesIssuedValuationPricePerShare_FFB3C7BF06A0CFA3AECF33B9373246B1" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_StockOptionsRestrictedSharesAndWarrantsTextualAbstract_EAD24C67EF7052BE929E33B9372C5F50" xlink:to="loc_oesx_SharebasedGoodsandNonemployeeServicesTransactionSecuritiesIssuedValuationPricePerShare_FFB3C7BF06A0CFA3AECF33B9373246B1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_0F2C133D7B3942FD2DB733B93732225E" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_StockOptionsRestrictedSharesAndWarrantsTextualAbstract_EAD24C67EF7052BE929E33B9372C5F50" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_0F2C133D7B3942FD2DB733B93732225E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_D3AC20B252A40406E01533B93732F838" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_StockOptionsRestrictedSharesAndWarrantsTextualAbstract_EAD24C67EF7052BE929E33B9372C5F50" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_D3AC20B252A40406E01533B93732F838" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_FairValueOfClosingCommonStockPrice" xlink:label="loc_oesx_FairValueOfClosingCommonStockPrice_3C6BB1985CF16C2DBD6433B9373272F4" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_StockOptionsRestrictedSharesAndWarrantsTextualAbstract_EAD24C67EF7052BE929E33B9372C5F50" xlink:to="loc_oesx_FairValueOfClosingCommonStockPrice_3C6BB1985CF16C2DBD6433B9373272F4" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_DeferredCompensationArrangementWithIndividualCompensationExpensePeriodOfRecognition" xlink:label="loc_oesx_DeferredCompensationArrangementWithIndividualCompensationExpensePeriodOfRecognition_E998801C9C1431D1C3D833B93732418E" xlink:type="locator" />
    <definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_StockOptionsRestrictedSharesAndWarrantsTextualAbstract_EAD24C67EF7052BE929E33B9372C5F50" xlink:to="loc_oesx_DeferredCompensationArrangementWithIndividualCompensationExpensePeriodOfRecognition_E998801C9C1431D1C3D833B93732418E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_DeferredCompensationArrangementWithIndividualCompensationExpense" xlink:label="loc_us-gaap_DeferredCompensationArrangementWithIndividualCompensationExpense_A3C4377C39271B7D1E1F33B93733A7B7" xlink:type="locator" />
    <definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_StockOptionsRestrictedSharesAndWarrantsTextualAbstract_EAD24C67EF7052BE929E33B9372C5F50" xlink:to="loc_us-gaap_DeferredCompensationArrangementWithIndividualCompensationExpense_A3C4377C39271B7D1E1F33B93733A7B7" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.oesx.com/role/StockOptionsRestrictedSharesAndWarrantsTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.oesx.com/role/SubsequentEventsDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_SubsequentEventLineItems" xlink:label="loc_us-gaap_SubsequentEventLineItems_D756DC5A2F3E370E1FDE2FE5DA00D88A" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_SubsequentEventTable" xlink:label="loc_us-gaap_SubsequentEventTable_43CCE294639B4A6F43982FE5D9AA1813" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SubsequentEventLineItems_D756DC5A2F3E370E1FDE2FE5DA00D88A" xlink:to="loc_us-gaap_SubsequentEventTable_43CCE294639B4A6F43982FE5D9AA1813" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_SubsequentEventTypeAxis" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_2F816BD18F83C84700302FE5D9AB36BD" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_43CCE294639B4A6F43982FE5D9AA1813" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_2F816BD18F83C84700302FE5D9AB36BD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_01107397E4D2B2DA096D2FE5D9B28227_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_2F816BD18F83C84700302FE5D9AB36BD" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_01107397E4D2B2DA096D2FE5D9B28227_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_01107397E4D2B2DA096D2FE5D9B28227" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_2F816BD18F83C84700302FE5D9AB36BD" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_01107397E4D2B2DA096D2FE5D9B28227" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_SubsequentEventMember" xlink:label="loc_us-gaap_SubsequentEventMember_C08100301DAE4F0B82732FEF5AC03C34" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_01107397E4D2B2DA096D2FE5D9B28227" xlink:to="loc_us-gaap_SubsequentEventMember_C08100301DAE4F0B82732FEF5AC03C34" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_8E20949B37C2BAD323A62FE5D9C1C17E" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_43CCE294639B4A6F43982FE5D9AA1813" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_8E20949B37C2BAD323A62FE5D9C1C17E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_F412B668A09D430ED83D2FE5D9C2B0CA_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_8E20949B37C2BAD323A62FE5D9C1C17E" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_F412B668A09D430ED83D2FE5D9C2B0CA_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_F412B668A09D430ED83D2FE5D9C2B0CA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_8E20949B37C2BAD323A62FE5D9C1C17E" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_F412B668A09D430ED83D2FE5D9C2B0CA" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_HarrisMember" xlink:label="loc_oesx_HarrisMember_69012F42FBDC9C785D6F2FE88C26C22D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_F412B668A09D430ED83D2FE5D9C2B0CA" xlink:to="loc_oesx_HarrisMember_69012F42FBDC9C785D6F2FE88C26C22D" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_BusinessCombinationFixedFutureConsiderationAmount" xlink:label="loc_oesx_BusinessCombinationFixedFutureConsiderationAmount_14ADF89FD094F5094F572FE7CA384F29" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_D756DC5A2F3E370E1FDE2FE5DA00D88A" xlink:to="loc_oesx_BusinessCombinationFixedFutureConsiderationAmount_14ADF89FD094F5094F572FE7CA384F29" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_BusinessCombinationFixedFutureConsiderationSharesValue" xlink:label="loc_oesx_BusinessCombinationFixedFutureConsiderationSharesValue_8AAB2DF00186A1F3CD102FEABC5483AE" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_D756DC5A2F3E370E1FDE2FE5DA00D88A" xlink:to="loc_oesx_BusinessCombinationFixedFutureConsiderationSharesValue_8AAB2DF00186A1F3CD102FEABC5483AE" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_BusinessCombinationFixedFutureConsiderationSharesPricePerShare" xlink:label="loc_oesx_BusinessCombinationFixedFutureConsiderationSharesPricePerShare_E6F71A3A3F6025471BC02FEB73729737" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_D756DC5A2F3E370E1FDE2FE5DA00D88A" xlink:to="loc_oesx_BusinessCombinationFixedFutureConsiderationSharesPricePerShare_E6F71A3A3F6025471BC02FEB73729737" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_BusinessCombinationFixedFutureConsiderationCash" xlink:label="loc_oesx_BusinessCombinationFixedFutureConsiderationCash_6CF4F63E5B5BA14C71302FEC8747071A" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_D756DC5A2F3E370E1FDE2FE5DA00D88A" xlink:to="loc_oesx_BusinessCombinationFixedFutureConsiderationCash_6CF4F63E5B5BA14C71302FEC8747071A" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.oesx.com/role/SubsequentEventsNotes" xlink:type="extended" />
  <definitionLink xlink:role="http://www.oesx.com/role/SummaryOfSignificantAccountingPolicies" xlink:type="extended" />
  <definitionLink xlink:role="http://www.oesx.com/role/SummaryOfSignificantAccountingPoliciesCashAndCashEquivDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_CashAndCashEquivalentsLineItems" xlink:label="loc_us-gaap_CashAndCashEquivalentsLineItems_A9E7665930E85FD47901331CFFD5E93F" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ScheduleOfCashAndCashEquivalentsTable" xlink:label="loc_us-gaap_ScheduleOfCashAndCashEquivalentsTable_A8AD4E2CB7A09687E2C4331CFFD53F2C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_CashAndCashEquivalentsLineItems_A9E7665930E85FD47901331CFFD5E93F" xlink:to="loc_us-gaap_ScheduleOfCashAndCashEquivalentsTable_A8AD4E2CB7A09687E2C4331CFFD53F2C" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_CashAndCashEquivalentsAxis" xlink:label="loc_us-gaap_CashAndCashEquivalentsAxis_D6DB2D8B348E9C799233331CFFD5CFEF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCashAndCashEquivalentsTable_A8AD4E2CB7A09687E2C4331CFFD53F2C" xlink:to="loc_us-gaap_CashAndCashEquivalentsAxis_D6DB2D8B348E9C799233331CFFD5CFEF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_6A6C76D0DF720D098B1D331CFFD5EA31_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CashAndCashEquivalentsAxis_D6DB2D8B348E9C799233331CFFD5CFEF" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_6A6C76D0DF720D098B1D331CFFD5EA31_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_6A6C76D0DF720D098B1D331CFFD5EA31" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CashAndCashEquivalentsAxis_D6DB2D8B348E9C799233331CFFD5CFEF" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_6A6C76D0DF720D098B1D331CFFD5EA31" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_MoneyMarketFundsMember" xlink:label="loc_us-gaap_MoneyMarketFundsMember_3D0CBE0C20D923904613331CFFD51E96" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_6A6C76D0DF720D098B1D331CFFD5EA31" xlink:to="loc_us-gaap_MoneyMarketFundsMember_3D0CBE0C20D923904613331CFFD51E96" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_CertificatesOfDepositMember" xlink:label="loc_us-gaap_CertificatesOfDepositMember_E9C83DEEA3E10A34F044331CFFD56716" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_6A6C76D0DF720D098B1D331CFFD5EA31" xlink:to="loc_us-gaap_CertificatesOfDepositMember_E9C83DEEA3E10A34F044331CFFD56716" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ShortTermInvestmentsAbstract" xlink:label="loc_us-gaap_ShortTermInvestmentsAbstract_A607A7DDAA6CAD8B00E4331CFFD52490" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CashAndCashEquivalentsLineItems_A9E7665930E85FD47901331CFFD5E93F" xlink:to="loc_us-gaap_ShortTermInvestmentsAbstract_A607A7DDAA6CAD8B00E4331CFFD52490" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_CBDA60445CA906283DC3331CFFD5E4B0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShortTermInvestmentsAbstract_A607A7DDAA6CAD8B00E4331CFFD52490" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_CBDA60445CA906283DC3331CFFD5E4B0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AvailableforsaleSecuritiesGrossUnrealizedGain" xlink:label="loc_us-gaap_AvailableforsaleSecuritiesGrossUnrealizedGain_93259FC7CBF1BD1437B1331CFFD53156" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShortTermInvestmentsAbstract_A607A7DDAA6CAD8B00E4331CFFD52490" xlink:to="loc_us-gaap_AvailableforsaleSecuritiesGrossUnrealizedGain_93259FC7CBF1BD1437B1331CFFD53156" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AvailableForSaleSecuritiesGrossUnrealizedLosses1" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesGrossUnrealizedLosses1_D1E1FAE5B13F19F6DF90331CFFD58891" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShortTermInvestmentsAbstract_A607A7DDAA6CAD8B00E4331CFFD52490" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesGrossUnrealizedLosses1_D1E1FAE5B13F19F6DF90331CFFD58891" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_417416729B753CAAF361331CFFD5C3F3" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShortTermInvestmentsAbstract_A607A7DDAA6CAD8B00E4331CFFD52490" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_417416729B753CAAF361331CFFD5C3F3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_CashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashEquivalentsAtCarryingValue_04C5E02CC431668AA8F7331CFFD525FD" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShortTermInvestmentsAbstract_A607A7DDAA6CAD8B00E4331CFFD52490" xlink:to="loc_us-gaap_CashEquivalentsAtCarryingValue_04C5E02CC431668AA8F7331CFFD525FD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ShortTermInvestments" xlink:label="loc_us-gaap_ShortTermInvestments_ECB2CC10EB3620FD91B2331CFFD5A4A4" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShortTermInvestmentsAbstract_A607A7DDAA6CAD8B00E4331CFFD52490" xlink:to="loc_us-gaap_ShortTermInvestments_ECB2CC10EB3620FD91B2331CFFD5A4A4" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.oesx.com/role/SummaryOfSignificantAccountingPoliciesConcentrationRiskDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ConcentrationRiskLineItems" xlink:label="loc_us-gaap_ConcentrationRiskLineItems_DBF30247A1CEFD9F2BD133B9383366DF" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ConcentrationRiskTable" xlink:label="loc_us-gaap_ConcentrationRiskTable_2D7CD7E0C759FC9D8F6433B938311CFC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ConcentrationRiskLineItems_DBF30247A1CEFD9F2BD133B9383366DF" xlink:to="loc_us-gaap_ConcentrationRiskTable_2D7CD7E0C759FC9D8F6433B938311CFC" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_FA0070C14032CB89520D33B93831B4BA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ConcentrationRiskTable_2D7CD7E0C759FC9D8F6433B938311CFC" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_FA0070C14032CB89520D33B93831B4BA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_7764B041C9B0C3CDAE9933B93831198E_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_FA0070C14032CB89520D33B93831B4BA" xlink:to="loc_us-gaap_SegmentDomain_7764B041C9B0C3CDAE9933B93831198E_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_7764B041C9B0C3CDAE9933B93831198E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_FA0070C14032CB89520D33B93831B4BA" xlink:to="loc_us-gaap_SegmentDomain_7764B041C9B0C3CDAE9933B93831198E" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_EnergyManagementMember" xlink:label="loc_oesx_EnergyManagementMember_C440C55ED00615E4CF6833B93831E7B4" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_7764B041C9B0C3CDAE9933B93831198E" xlink:to="loc_oesx_EnergyManagementMember_C440C55ED00615E4CF6833B93831E7B4" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_EngineeredSystemsMember" xlink:label="loc_oesx_EngineeredSystemsMember_C4841CC404EACFB52C5233B938326135" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_7764B041C9B0C3CDAE9933B93831198E" xlink:to="loc_oesx_EngineeredSystemsMember_C4841CC404EACFB52C5233B938326135" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_364D52160065F3FC886333B93832B1CC" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ConcentrationRiskTable_2D7CD7E0C759FC9D8F6433B938311CFC" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_364D52160065F3FC886333B93832B1CC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_66E3297110B0ACAD8D8733B938324FB9_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_364D52160065F3FC886333B93832B1CC" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_66E3297110B0ACAD8D8733B938324FB9_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_66E3297110B0ACAD8D8733B938324FB9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_364D52160065F3FC886333B93832B1CC" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_66E3297110B0ACAD8D8733B938324FB9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_CostOfGoodsTotalMember" xlink:label="loc_us-gaap_CostOfGoodsTotalMember_D160233271288C05917333B938322934" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_66E3297110B0ACAD8D8733B938324FB9" xlink:to="loc_us-gaap_CostOfGoodsTotalMember_D160233271288C05917333B938322934" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_SalesRevenueServicesNetMember" xlink:label="loc_us-gaap_SalesRevenueServicesNetMember_D8D66921CE5960B99D8833B938321ACE" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_66E3297110B0ACAD8D8733B938324FB9" xlink:to="loc_us-gaap_SalesRevenueServicesNetMember_D8D66921CE5960B99D8833B938321ACE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AccountsReceivableMember" xlink:label="loc_us-gaap_AccountsReceivableMember_97AA6674AC9277191C0133B9383233B9" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_66E3297110B0ACAD8D8733B938324FB9" xlink:to="loc_us-gaap_AccountsReceivableMember_97AA6674AC9277191C0133B9383233B9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_SalesMember" xlink:label="loc_us-gaap_SalesMember_CD027DE7AA017854DD9333B938328E7B" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_66E3297110B0ACAD8D8733B938324FB9" xlink:to="loc_us-gaap_SalesMember_CD027DE7AA017854DD9333B938328E7B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ConcentrationRiskByTypeAxis" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_A4D456C53CC374D83B4B33B93832A074" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ConcentrationRiskTable_2D7CD7E0C759FC9D8F6433B938311CFC" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_A4D456C53CC374D83B4B33B93832A074" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ConcentrationRiskTypeDomain" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_37BAEB44D27ACFE3706C33B93832DFA3_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_A4D456C53CC374D83B4B33B93832A074" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_37BAEB44D27ACFE3706C33B93832DFA3_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ConcentrationRiskTypeDomain" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_37BAEB44D27ACFE3706C33B93832DFA3" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_A4D456C53CC374D83B4B33B93832A074" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_37BAEB44D27ACFE3706C33B93832DFA3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_SupplierConcentrationRiskMember" xlink:label="loc_us-gaap_SupplierConcentrationRiskMember_18FF165C577E81A3D94333B938321422" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_37BAEB44D27ACFE3706C33B93832DFA3" xlink:to="loc_us-gaap_SupplierConcentrationRiskMember_18FF165C577E81A3D94333B938321422" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_CustomerConcentrationRiskMember" xlink:label="loc_us-gaap_CustomerConcentrationRiskMember_7F19109D51F732F8C93B33B93832A7C3" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_37BAEB44D27ACFE3706C33B93832DFA3" xlink:to="loc_us-gaap_CustomerConcentrationRiskMember_7F19109D51F732F8C93B33B93832A7C3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ShareBasedGoodsAndNonemployeeServicesTransactionBySupplierAxis" xlink:label="loc_us-gaap_ShareBasedGoodsAndNonemployeeServicesTransactionBySupplierAxis_7C17D7782745BFEF08FC33B938336803" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ConcentrationRiskTable_2D7CD7E0C759FC9D8F6433B938311CFC" xlink:to="loc_us-gaap_ShareBasedGoodsAndNonemployeeServicesTransactionBySupplierAxis_7C17D7782745BFEF08FC33B938336803" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_NameofMajorSupplierDomain" xlink:label="loc_oesx_NameofMajorSupplierDomain_EB518D1E80CA7172E14133B938332392_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ShareBasedGoodsAndNonemployeeServicesTransactionBySupplierAxis_7C17D7782745BFEF08FC33B938336803" xlink:to="loc_oesx_NameofMajorSupplierDomain_EB518D1E80CA7172E14133B938332392_default" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_NameofMajorSupplierDomain" xlink:label="loc_oesx_NameofMajorSupplierDomain_EB518D1E80CA7172E14133B938332392" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ShareBasedGoodsAndNonemployeeServicesTransactionBySupplierAxis_7C17D7782745BFEF08FC33B938336803" xlink:to="loc_oesx_NameofMajorSupplierDomain_EB518D1E80CA7172E14133B938332392" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_SupplierOneMember" xlink:label="loc_oesx_SupplierOneMember_785A337C088541E1859333B938335F4C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_NameofMajorSupplierDomain_EB518D1E80CA7172E14133B938332392" xlink:to="loc_oesx_SupplierOneMember_785A337C088541E1859333B938335F4C" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_SupplierTwoMember" xlink:label="loc_oesx_SupplierTwoMember_5CA871C25E136495446B33B938331C7E" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_NameofMajorSupplierDomain_EB518D1E80CA7172E14133B938332392" xlink:to="loc_oesx_SupplierTwoMember_5CA871C25E136495446B33B938331C7E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ConcentrationRiskPercentage1" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_31CB73C4DFF9C47ACD8333B93833356F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskLineItems_DBF30247A1CEFD9F2BD133B9383366DF" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_31CB73C4DFF9C47ACD8333B93833356F" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_ConcentrationRiskNumberOfEntitiesInvolvedInRiskCalculation" xlink:label="loc_oesx_ConcentrationRiskNumberOfEntitiesInvolvedInRiskCalculation_8D65C5C0B8FC6FB985D433B938337A91" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskLineItems_DBF30247A1CEFD9F2BD133B9383366DF" xlink:to="loc_oesx_ConcentrationRiskNumberOfEntitiesInvolvedInRiskCalculation_8D65C5C0B8FC6FB985D433B938337A91" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.oesx.com/role/SummaryOfSignificantAccountingPoliciesDilutiveSecuritiesDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_45A2926E5A7A2AAD4DA9331CF0CB0577" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable" xlink:label="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_AB81C34544E37F40CC69331CF0CB062D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_45A2926E5A7A2AAD4DA9331CF0CB0577" xlink:to="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_AB81C34544E37F40CC69331CF0CB062D" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_AE8E42FB44D54317D965331CF0CBDB19" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_AB81C34544E37F40CC69331CF0CB062D" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_AE8E42FB44D54317D965331CF0CBDB19" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_E6630BC5C75E9219C4BE331CF0CB9C89_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_AE8E42FB44D54317D965331CF0CBDB19" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_E6630BC5C75E9219C4BE331CF0CB9C89_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_E6630BC5C75E9219C4BE331CF0CB9C89" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_AE8E42FB44D54317D965331CF0CBDB19" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_E6630BC5C75E9219C4BE331CF0CB9C89" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_StockOptionsMember" xlink:label="loc_us-gaap_StockOptionsMember_1385690C2FD07BFE0F09331CF0CB6F53" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_E6630BC5C75E9219C4BE331CF0CB9C89" xlink:to="loc_us-gaap_StockOptionsMember_1385690C2FD07BFE0F09331CF0CB6F53" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RestrictedStockMember" xlink:label="loc_us-gaap_RestrictedStockMember_1AC604032BBB2E7F46BA331CF0CB34C5" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_E6630BC5C75E9219C4BE331CF0CB9C89" xlink:to="loc_us-gaap_RestrictedStockMember_1AC604032BBB2E7F46BA331CF0CB34C5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_WarrantMember" xlink:label="loc_us-gaap_WarrantMember_7744D5241B198FD2FDB1331CF0CBF33E" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_E6630BC5C75E9219C4BE331CF0CB9C89" xlink:to="loc_us-gaap_WarrantMember_7744D5241B198FD2FDB1331CF0CBF33E" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_AntidilutiveSharesExcludedFromComputationOfEarningsPerShareAbstract" xlink:label="loc_oesx_AntidilutiveSharesExcludedFromComputationOfEarningsPerShareAbstract_D18159AC629369F2C329331CF0CB8D3C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_45A2926E5A7A2AAD4DA9331CF0CB0577" xlink:to="loc_oesx_AntidilutiveSharesExcludedFromComputationOfEarningsPerShareAbstract_D18159AC629369F2C329331CF0CB8D3C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_B227900FC32590D66DB9331CF0CBA936" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_AntidilutiveSharesExcludedFromComputationOfEarningsPerShareAbstract_D18159AC629369F2C329331CF0CB8D3C" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_B227900FC32590D66DB9331CF0CBA936" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.oesx.com/role/SummaryOfSignificantAccountingPoliciesEpsDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.oesx.com/role/SummaryOfSignificantAccountingPoliciesFinancingReceivablesDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AccountsNotesAndLoansReceivableLineItems" xlink:label="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_3FC44348D6195E50C1042E884DDF10E8" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_016389F5E3923FD2091A2E884DDEC63D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_3FC44348D6195E50C1042E884DDF10E8" xlink:to="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_016389F5E3923FD2091A2E884DDEC63D" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FinancingReceivableInformationByCreditQualityIndicatorAxis" xlink:label="loc_us-gaap_FinancingReceivableInformationByCreditQualityIndicatorAxis_640BB3885D20A5BA2DF82E884DDE5E37" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_016389F5E3923FD2091A2E884DDEC63D" xlink:to="loc_us-gaap_FinancingReceivableInformationByCreditQualityIndicatorAxis_640BB3885D20A5BA2DF82E884DDE5E37" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FinancingReceivableByCreditQualityIndicatorDomain" xlink:label="loc_us-gaap_FinancingReceivableByCreditQualityIndicatorDomain_69FF0CD458BA63317D182E884DDE043E_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableInformationByCreditQualityIndicatorAxis_640BB3885D20A5BA2DF82E884DDE5E37" xlink:to="loc_us-gaap_FinancingReceivableByCreditQualityIndicatorDomain_69FF0CD458BA63317D182E884DDE043E_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FinancingReceivableByCreditQualityIndicatorDomain" xlink:label="loc_us-gaap_FinancingReceivableByCreditQualityIndicatorDomain_69FF0CD458BA63317D182E884DDE043E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableInformationByCreditQualityIndicatorAxis_640BB3885D20A5BA2DF82E884DDE5E37" xlink:to="loc_us-gaap_FinancingReceivableByCreditQualityIndicatorDomain_69FF0CD458BA63317D182E884DDE043E" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_NotPastDueMember" xlink:label="loc_oesx_NotPastDueMember_745B8F33F70FC012B00E2E884DDEF943" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableByCreditQualityIndicatorDomain_69FF0CD458BA63317D182E884DDE043E" xlink:to="loc_oesx_NotPastDueMember_745B8F33F70FC012B00E2E884DDEF943" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_OneToNinetyDaysMember" xlink:label="loc_oesx_OneToNinetyDaysMember_A8960A2A30E2C27C5AD02E884DDF834B" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableByCreditQualityIndicatorDomain_69FF0CD458BA63317D182E884DDE043E" xlink:to="loc_oesx_OneToNinetyDaysMember_A8960A2A30E2C27C5AD02E884DDF834B" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_GreaterThanNinetyDaysMember" xlink:label="loc_oesx_GreaterThanNinetyDaysMember_3E6204BFB3D6903CC8CD2E884DDFDC7E" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableByCreditQualityIndicatorDomain_69FF0CD458BA63317D182E884DDE043E" xlink:to="loc_oesx_GreaterThanNinetyDaysMember_3E6204BFB3D6903CC8CD2E884DDFDC7E" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_PastDueLeaseNetMember" xlink:label="loc_oesx_PastDueLeaseNetMember_F9564F32854A5E7720D42E884DDF15DB" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableByCreditQualityIndicatorDomain_69FF0CD458BA63317D182E884DDE043E" xlink:to="loc_oesx_PastDueLeaseNetMember_F9564F32854A5E7720D42E884DDF15DB" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_SalesTypeNetMember" xlink:label="loc_oesx_SalesTypeNetMember_B10BE533A33B5C4A0DAD2E884DDF0940" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableByCreditQualityIndicatorDomain_69FF0CD458BA63317D182E884DDE043E" xlink:to="loc_oesx_SalesTypeNetMember_B10BE533A33B5C4A0DAD2E884DDF0940" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_LeaseReceivableProvisionWriteOff" xlink:label="loc_oesx_LeaseReceivableProvisionWriteOff_E23103ACBCBFA98A90C22E884DDF135E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_3FC44348D6195E50C1042E884DDF10E8" xlink:to="loc_oesx_LeaseReceivableProvisionWriteOff_E23103ACBCBFA98A90C22E884DDF135E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AccountsNotesAndLoansReceivableClassifiedAbstract" xlink:label="loc_us-gaap_AccountsNotesAndLoansReceivableClassifiedAbstract_E650339A2D0DDFC02F072E884DDF9576" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_3FC44348D6195E50C1042E884DDF10E8" xlink:to="loc_us-gaap_AccountsNotesAndLoansReceivableClassifiedAbstract_E650339A2D0DDFC02F072E884DDF9576" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AccountsNotesAndLoansReceivableNetCurrent" xlink:label="loc_us-gaap_AccountsNotesAndLoansReceivableNetCurrent_1FC00D1BB6BE37A77F812E884DDF1A84" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableClassifiedAbstract_E650339A2D0DDFC02F072E884DDF9576" xlink:to="loc_us-gaap_AccountsNotesAndLoansReceivableNetCurrent_1FC00D1BB6BE37A77F812E884DDF1A84" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_LongTermAccountsNotesAndLoansReceivableNetNoncurrent" xlink:label="loc_us-gaap_LongTermAccountsNotesAndLoansReceivableNetNoncurrent_25B97DF5BC09B9E849872E884DDF6D6A" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableClassifiedAbstract_E650339A2D0DDFC02F072E884DDF9576" xlink:to="loc_us-gaap_LongTermAccountsNotesAndLoansReceivableNetNoncurrent_25B97DF5BC09B9E849872E884DDF6D6A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AccountsReceivableGrossCurrent" xlink:label="loc_us-gaap_AccountsReceivableGrossCurrent_5437E1957AE5F962248E2E884DDFFAA3" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableClassifiedAbstract_E650339A2D0DDFC02F072E884DDF9576" xlink:to="loc_us-gaap_AccountsReceivableGrossCurrent_5437E1957AE5F962248E2E884DDFFAA3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_D9641FEE84CBDC22A36A2E884DDFB28E" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableClassifiedAbstract_E650339A2D0DDFC02F072E884DDF9576" xlink:to="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_D9641FEE84CBDC22A36A2E884DDFB28E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AccountsReceivableNetCurrent" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_EC87A73FBC97EFF9DACE2E884DDF725B" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableClassifiedAbstract_E650339A2D0DDFC02F072E884DDF9576" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_EC87A73FBC97EFF9DACE2E884DDF725B" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.oesx.com/role/SummaryOfSignificantAccountingPoliciesGoodwillAndOtherIntangilbeAssetsDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsLineItems" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_4EBAC2CFC80265B6F00933738D29B4F3" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable" xlink:label="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_221621984F46802C14E033738D28508D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_4EBAC2CFC80265B6F00933738D29B4F3" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_221621984F46802C14E033738D28508D" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_5239BCFA288302C1CE6333738D287462" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_221621984F46802C14E033738D28508D" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_5239BCFA288302C1CE6333738D287462" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_A6CDFAD5E3FDBF7D012033738D286AE1_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_5239BCFA288302C1CE6333738D287462" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_A6CDFAD5E3FDBF7D012033738D286AE1_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_A6CDFAD5E3FDBF7D012033738D286AE1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_5239BCFA288302C1CE6333738D287462" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_A6CDFAD5E3FDBF7D012033738D286AE1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_PatentsMember" xlink:label="loc_us-gaap_PatentsMember_330402238F16395144AE33738D28B9C3" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_A6CDFAD5E3FDBF7D012033738D286AE1" xlink:to="loc_us-gaap_PatentsMember_330402238F16395144AE33738D28B9C3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_LicensingAgreementsMember" xlink:label="loc_us-gaap_LicensingAgreementsMember_2182EDCCBFDBA658EB3E33738D28DC0B" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_A6CDFAD5E3FDBF7D012033738D286AE1" xlink:to="loc_us-gaap_LicensingAgreementsMember_2182EDCCBFDBA658EB3E33738D28DC0B" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_TrademarksandTradeNamesMember" xlink:label="loc_oesx_TrademarksandTradeNamesMember_FE33B85FE134C99A534333738D28BB76" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_A6CDFAD5E3FDBF7D012033738D286AE1" xlink:to="loc_oesx_TrademarksandTradeNamesMember_FE33B85FE134C99A534333738D28BB76" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_CustomerRelationshipsMember" xlink:label="loc_us-gaap_CustomerRelationshipsMember_092D423142FB24CFBCE433738D2855ED" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_A6CDFAD5E3FDBF7D012033738D286AE1" xlink:to="loc_us-gaap_CustomerRelationshipsMember_092D423142FB24CFBCE433738D2855ED" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_DevelopedTechnologyRightsMember" xlink:label="loc_us-gaap_DevelopedTechnologyRightsMember_12BA24823D0AF7AF204833738D282154" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_A6CDFAD5E3FDBF7D012033738D286AE1" xlink:to="loc_us-gaap_DevelopedTechnologyRightsMember_12BA24823D0AF7AF204833738D282154" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_NoncompeteAgreementsMember" xlink:label="loc_us-gaap_NoncompeteAgreementsMember_79C415106687776A7CC833738D2821AB" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_A6CDFAD5E3FDBF7D012033738D286AE1" xlink:to="loc_us-gaap_NoncompeteAgreementsMember_79C415106687776A7CC833738D2821AB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_C5E2C77EC3984D87B91933738D28C42E" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_221621984F46802C14E033738D28508D" xlink:to="loc_us-gaap_RangeAxis_C5E2C77EC3984D87B91933738D28C42E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_6A7FC67659B62D2FA12633738D295055_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_C5E2C77EC3984D87B91933738D28C42E" xlink:to="loc_us-gaap_RangeMember_6A7FC67659B62D2FA12633738D295055_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_6A7FC67659B62D2FA12633738D295055" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_C5E2C77EC3984D87B91933738D28C42E" xlink:to="loc_us-gaap_RangeMember_6A7FC67659B62D2FA12633738D295055" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_F76DB5FEA4F04CE5398F33738D29C8C1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_6A7FC67659B62D2FA12633738D295055" xlink:to="loc_us-gaap_MinimumMember_F76DB5FEA4F04CE5398F33738D29C8C1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_706895928877810BC20033738D29BD35" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_6A7FC67659B62D2FA12633738D295055" xlink:to="loc_us-gaap_MaximumMember_706895928877810BC20033738D29BD35" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetUsefulLife" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_5E3137ADAC14DED5572633738D29B803" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_4EBAC2CFC80265B6F00933738D29B4F3" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_5E3137ADAC14DED5572633738D29B803" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_FiniteLivedandIndefiniteLivedIntangibleAssetsGross" xlink:label="loc_oesx_FiniteLivedandIndefiniteLivedIntangibleAssetsGross_EBDCA1F68D084F2D7C423396212ACD0B" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_4EBAC2CFC80265B6F00933738D29B4F3" xlink:to="loc_oesx_FiniteLivedandIndefiniteLivedIntangibleAssetsGross_EBDCA1F68D084F2D7C423396212ACD0B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_498ED1CD6E7FE721199F33738D29BFA3" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_4EBAC2CFC80265B6F00933738D29B4F3" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_498ED1CD6E7FE721199F33738D29BFA3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsFutureAmortizationExpenseAbstract" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsFutureAmortizationExpenseAbstract_E1BFE70834E5E704EFE333738D29C08A" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_4EBAC2CFC80265B6F00933738D29B4F3" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsFutureAmortizationExpenseAbstract_E1BFE70834E5E704EFE333738D29C08A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear_37EF43C421C28123B16833738D299BE1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsFutureAmortizationExpenseAbstract_E1BFE70834E5E704EFE333738D29C08A" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear_37EF43C421C28123B16833738D299BE1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_C504B4B019BDF1545E1033738D2AF064" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsFutureAmortizationExpenseAbstract_E1BFE70834E5E704EFE333738D29C08A" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_C504B4B019BDF1545E1033738D2AF064" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_033DC028682BAD68F45033738D2A44A2" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsFutureAmortizationExpenseAbstract_E1BFE70834E5E704EFE333738D29C08A" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_033DC028682BAD68F45033738D2A44A2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_94AF979B0475E488856333738D2AD495" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsFutureAmortizationExpenseAbstract_E1BFE70834E5E704EFE333738D29C08A" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_94AF979B0475E488856333738D2AD495" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_03B622928B573463CE0433738D2A56EB" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsFutureAmortizationExpenseAbstract_E1BFE70834E5E704EFE333738D29C08A" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_03B622928B573463CE0433738D2A56EB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive_028497CC13437625786F33738D2AB073" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsFutureAmortizationExpenseAbstract_E1BFE70834E5E704EFE333738D29C08A" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive_028497CC13437625786F33738D2AB073" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive_2479DE28CBDEC6F29B6C33738D2A9C1B" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsFutureAmortizationExpenseAbstract_E1BFE70834E5E704EFE333738D29C08A" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive_2479DE28CBDEC6F29B6C33738D2A9C1B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_046353293B02FA0CBC2C33738D2A4DBD" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsFutureAmortizationExpenseAbstract_E1BFE70834E5E704EFE333738D29C08A" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_046353293B02FA0CBC2C33738D2A4DBD" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.oesx.com/role/SummaryOfSignificantAccountingPoliciesInventoriesDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.oesx.com/role/SummaryOfSignificantAccountingPoliciesLtReceivablesDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.oesx.com/role/SummaryOfSignificantAccountingPoliciesNarrativeDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_SegmentReportingInformationLineItems" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_3FB34BA295CB962E3D8833E85C48A3A9" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_2A0E72F9DD6FBBCAA2DB33E85C3C7D92" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_3FB34BA295CB962E3D8833E85C48A3A9" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_2A0E72F9DD6FBBCAA2DB33E85C3C7D92" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_CD72DD007A6EFF86836D33B93829D6E7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_2A0E72F9DD6FBBCAA2DB33E85C3C7D92" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_CD72DD007A6EFF86836D33B93829D6E7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_24D260DE0D947704732833B93829C28F_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_CD72DD007A6EFF86836D33B93829D6E7" xlink:to="loc_us-gaap_SegmentDomain_24D260DE0D947704732833B93829C28F_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_24D260DE0D947704732833B93829C28F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_CD72DD007A6EFF86836D33B93829D6E7" xlink:to="loc_us-gaap_SegmentDomain_24D260DE0D947704732833B93829C28F" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_EngineeredSystemsMember" xlink:label="loc_oesx_EngineeredSystemsMember_CF808C3C13C424AE1D5133B9382AC637" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_24D260DE0D947704732833B93829C28F" xlink:to="loc_oesx_EngineeredSystemsMember_CF808C3C13C424AE1D5133B9382AC637" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ProductWarrantyAccrualBalanceSheetClassificationAbstract" xlink:label="loc_us-gaap_ProductWarrantyAccrualBalanceSheetClassificationAbstract_1D8AD742BDB7C747ED9633E9E1DBB27C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_3FB34BA295CB962E3D8833E85C48A3A9" xlink:to="loc_us-gaap_ProductWarrantyAccrualBalanceSheetClassificationAbstract_1D8AD742BDB7C747ED9633E9E1DBB27C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ProductWarrantyAccrual" xlink:label="loc_us-gaap_ProductWarrantyAccrual_4A0F1CC8D21245D39FDE33B9382BF423" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ProductWarrantyAccrualBalanceSheetClassificationAbstract_1D8AD742BDB7C747ED9633E9E1DBB27C" xlink:to="loc_us-gaap_ProductWarrantyAccrual_4A0F1CC8D21245D39FDE33B9382BF423" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.oesx.com/role/SummaryOfSignificantAccountingPoliciesPolicies" xlink:type="extended" />
  <definitionLink xlink:role="http://www.oesx.com/role/SummaryOfSignificantAccountingPoliciesPpeUsefulLivesDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_PropertyPlantAndEquipmentLineItems" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_3A03F8963032EC19582A2E884DD3B6F2" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_8B46259F2877F71207B62E884DD2AE52" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_3A03F8963032EC19582A2E884DD3B6F2" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_8B46259F2877F71207B62E884DD2AE52" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_3BCE0E36DFE99F0AD32E2E884DD2608F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_8B46259F2877F71207B62E884DD2AE52" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_3BCE0E36DFE99F0AD32E2E884DD2608F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_DC3F92663345259261262E884DD26D29_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_3BCE0E36DFE99F0AD32E2E884DD2608F" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_DC3F92663345259261262E884DD26D29_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_DC3F92663345259261262E884DD26D29" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_3BCE0E36DFE99F0AD32E2E884DD2608F" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_DC3F92663345259261262E884DD26D29" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_LandImprovementsMember" xlink:label="loc_us-gaap_LandImprovementsMember_38BBEB32BF3BA2AE49AF2E884DD33993" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_DC3F92663345259261262E884DD26D29" xlink:to="loc_us-gaap_LandImprovementsMember_38BBEB32BF3BA2AE49AF2E884DD33993" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BuildingAndBuildingImprovementsMember" xlink:label="loc_us-gaap_BuildingAndBuildingImprovementsMember_5FA27EA747C77B1580032E884DD3D868" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_DC3F92663345259261262E884DD26D29" xlink:to="loc_us-gaap_BuildingAndBuildingImprovementsMember_5FA27EA747C77B1580032E884DD3D868" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_LeaseholdsAndLeaseholdImprovementsMember" xlink:label="loc_us-gaap_LeaseholdsAndLeaseholdImprovementsMember_C0478F56B9C2740A04E22E884DD33DA6" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_DC3F92663345259261262E884DD26D29" xlink:to="loc_us-gaap_LeaseholdsAndLeaseholdImprovementsMember_C0478F56B9C2740A04E22E884DD33DA6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FurnitureAndFixturesMember" xlink:label="loc_us-gaap_FurnitureAndFixturesMember_8B2B291CB5567891CAC32E884DD34382" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_DC3F92663345259261262E884DD26D29" xlink:to="loc_us-gaap_FurnitureAndFixturesMember_8B2B291CB5567891CAC32E884DD34382" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_EquipmentMember" xlink:label="loc_us-gaap_EquipmentMember_3B00FC0D88176938B0A12E884DD392F3" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_DC3F92663345259261262E884DD26D29" xlink:to="loc_us-gaap_EquipmentMember_3B00FC0D88176938B0A12E884DD392F3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_E89CAAD65905DAFD4B572E884DD35366" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_8B46259F2877F71207B62E884DD2AE52" xlink:to="loc_us-gaap_RangeAxis_E89CAAD65905DAFD4B572E884DD35366" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_39F59FA1182CA74F62B92E884DD3D5A0_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_E89CAAD65905DAFD4B572E884DD35366" xlink:to="loc_us-gaap_RangeMember_39F59FA1182CA74F62B92E884DD3D5A0_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_39F59FA1182CA74F62B92E884DD3D5A0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_E89CAAD65905DAFD4B572E884DD35366" xlink:to="loc_us-gaap_RangeMember_39F59FA1182CA74F62B92E884DD3D5A0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_431928918EE84EABFF7B2E884DD3770E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_39F59FA1182CA74F62B92E884DD3D5A0" xlink:to="loc_us-gaap_MaximumMember_431928918EE84EABFF7B2E884DD3770E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_9852C027D6ED17E39E0C2E884DD38B99" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_39F59FA1182CA74F62B92E884DD3D5A0" xlink:to="loc_us-gaap_MinimumMember_9852C027D6ED17E39E0C2E884DD38B99" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNetAbstract" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNetAbstract_2FA4FA8D70241E2CF4602E884DD37E89" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_3A03F8963032EC19582A2E884DD3B6F2" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNetAbstract_2FA4FA8D70241E2CF4602E884DD37E89" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_PropertyPlantAndEquipmentUsefulLife" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_3C030265B321ED238AA02E884DD36E81" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNetAbstract_2FA4FA8D70241E2CF4602E884DD37E89" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_3C030265B321ED238AA02E884DD36E81" xlink:type="arc" />
    <loc xlink:href="oesx-20130930.xsd#oesx_PropertyPlantAndEquipmentEstimatedUsefulLife" xlink:label="loc_oesx_PropertyPlantAndEquipmentEstimatedUsefulLife_DFC1FF8D94311A01F45E2E884DD3B8A1" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNetAbstract_2FA4FA8D70241E2CF4602E884DD37E89" xlink:to="loc_oesx_PropertyPlantAndEquipmentEstimatedUsefulLife_DFC1FF8D94311A01F45E2E884DD3B8A1" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.oesx.com/role/SummaryOfSignificantAccountingPoliciesPropPlantAndEquipDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_PropertyPlantAndEquipmentLineItems" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_C4B08EF3B97F35136065331CFC65B55D" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_C2945EFA6EBC27FFCC43331CFC6538CB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_C4B08EF3B97F35136065331CFC65B55D" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_C2945EFA6EBC27FFCC43331CFC6538CB" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_50B790933269C69A6615331CFC65C3E0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_C2945EFA6EBC27FFCC43331CFC6538CB" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_50B790933269C69A6615331CFC65C3E0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_A58CB168F9B65FFDFED1331CFC65AAA5_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_50B790933269C69A6615331CFC65C3E0" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_A58CB168F9B65FFDFED1331CFC65AAA5_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_A58CB168F9B65FFDFED1331CFC65AAA5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_50B790933269C69A6615331CFC65C3E0" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_A58CB168F9B65FFDFED1331CFC65AAA5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_LandImprovementsMember" xlink:label="loc_us-gaap_LandImprovementsMember_B7B1817EA7E86524CBF1331CFC65BD19" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_A58CB168F9B65FFDFED1331CFC65AAA5" xlink:to="loc_us-gaap_LandImprovementsMember_B7B1817EA7E86524CBF1331CFC65BD19" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BuildingAndBuildingImprovementsMember" xlink:label="loc_us-gaap_BuildingAndBuildingImprovementsMember_C80D683047B1CEB64FDD331CFC652186" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_A58CB168F9B65FFDFED1331CFC65AAA5" xlink:to="loc_us-gaap_BuildingAndBuildingImprovementsMember_C80D683047B1CEB64FDD331CFC652186" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FurnitureAndFixturesMember" xlink:label="loc_us-gaap_FurnitureAndFixturesMember_07BB5EA0196B60C2804A331CFC65BEB4" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_A58CB168F9B65FFDFED1331CFC65AAA5" xlink:to="loc_us-gaap_FurnitureAndFixturesMember_07BB5EA0196B60C2804A331CFC65BEB4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_LeaseholdImprovementsMember" xlink:label="loc_us-gaap_LeaseholdImprovementsMember_1E6B2CF46D7B343DF171331CFC657CBC" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_A58CB168F9B65FFDFED1331CFC65AAA5" xlink:to="loc_us-gaap_LeaseholdImprovementsMember_1E6B2CF46D7B343DF171331CFC657CBC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_EquipmentLeasedToOtherPartyMember" xlink:label="loc_us-gaap_EquipmentLeasedToOtherPartyMember_E89E61C5D8E51CDAF9CD331CFC650FAE" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_A58CB168F9B65FFDFED1331CFC65AAA5" xlink:to="loc_us-gaap_EquipmentLeasedToOtherPartyMember_E89E61C5D8E51CDAF9CD331CFC650FAE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_PropertyPlantAndEquipmentOtherTypesMember" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentOtherTypesMember_773F8C2AE7475AC8BB08331CFC65F725" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_A58CB168F9B65FFDFED1331CFC65AAA5" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentOtherTypesMember_773F8C2AE7475AC8BB08331CFC65F725" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ConstructionInProgressMember" xlink:label="loc_us-gaap_ConstructionInProgressMember_2190ECC120A759A41FBC331CFC65B76D" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_A58CB168F9B65FFDFED1331CFC65AAA5" xlink:to="loc_us-gaap_ConstructionInProgressMember_2190ECC120A759A41FBC331CFC65B76D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNetAbstract" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNetAbstract_97F524CC49AE17073EA9331CFC654FE7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_C4B08EF3B97F35136065331CFC65B55D" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNetAbstract_97F524CC49AE17073EA9331CFC654FE7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_PropertyPlantAndEquipmentGross" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_E2EF45843B3332853F98331CFC658C02" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNetAbstract_97F524CC49AE17073EA9331CFC654FE7" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_E2EF45843B3332853F98331CFC658C02" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_E888BF81B62AF1CB3A3F331CFC657822" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNetAbstract_97F524CC49AE17073EA9331CFC654FE7" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_E888BF81B62AF1CB3A3F331CFC657822" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_2EA652F044C871C177D9331CFC65C00D" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNetAbstract_97F524CC49AE17073EA9331CFC654FE7" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_2EA652F044C871C177D9331CFC65C00D" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.oesx.com/role/SummaryOfSignificantAccountingPoliciesStockOptionAssumptionsDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.oesx.com/role/SummaryOfSignificantAccountingPoliciesTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.oesx.com/role/SummaryOfSignificantAccountingPoliciesWarrantyAccrualDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.oesx.com/role/UnauditedCondensedConsolidatedBalanceSheets" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_C227435F9DB7660696A433B938920187" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_1EE12583F9C367B6258833B938926144" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_C227435F9DB7660696A433B938920187" xlink:to="loc_us-gaap_StatementTable_1EE12583F9C367B6258833B938926144" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_StatementScenarioAxis" xlink:label="loc_us-gaap_StatementScenarioAxis_6ABF97CA4C4666F87E4B33B938921866" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_1EE12583F9C367B6258833B938926144" xlink:to="loc_us-gaap_StatementScenarioAxis_6ABF97CA4C4666F87E4B33B938921866" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="loc_us-gaap_ScenarioUnspecifiedDomain_D95E2D55DF290CE0E27D33B9389281B8_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementScenarioAxis_6ABF97CA4C4666F87E4B33B938921866" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_D95E2D55DF290CE0E27D33B9389281B8_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="loc_us-gaap_ScenarioUnspecifiedDomain_D95E2D55DF290CE0E27D33B9389281B8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementScenarioAxis_6ABF97CA4C4666F87E4B33B938921866" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_D95E2D55DF290CE0E27D33B9389281B8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AssetsAbstract" xlink:label="loc_us-gaap_AssetsAbstract_DDD9947C77D14545583433B93892D177" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_C227435F9DB7660696A433B938920187" xlink:to="loc_us-gaap_AssetsAbstract_DDD9947C77D14545583433B93892D177" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_4247E0E308409877616333B93892F0EC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_DDD9947C77D14545583433B93892D177" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_4247E0E308409877616333B93892F0EC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ShortTermInvestments" xlink:label="loc_us-gaap_ShortTermInvestments_346719D18C51B92BE9BA33B93892E187" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_DDD9947C77D14545583433B93892D177" xlink:to="loc_us-gaap_ShortTermInvestments_346719D18C51B92BE9BA33B93892E187" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AccountsReceivableNetCurrent" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_269EF8E74F3CCDC3732533B9389374CE" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_DDD9947C77D14545583433B93892D177" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_269EF8E74F3CCDC3732533B9389374CE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_InventoryNet" xlink:label="loc_us-gaap_InventoryNet_67B99FB3453C77C7C70733B9389331B1" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_DDD9947C77D14545583433B93892D177" xlink:to="loc_us-gaap_InventoryNet_67B99FB3453C77C7C70733B9389331B1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_DeferredCostsCurrent" xlink:label="loc_us-gaap_DeferredCostsCurrent_89864D4BCCCC3DF49CD833B93893A0DE" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_DDD9947C77D14545583433B93892D177" xlink:to="loc_us-gaap_DeferredCostsCurrent_89864D4BCCCC3DF49CD833B93893A0DE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_154E2531A94B70BBAE9933B93893C465" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_DDD9947C77D14545583433B93892D177" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_154E2531A94B70BBAE9933B93893C465" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AssetsCurrent" xlink:label="loc_us-gaap_AssetsCurrent_8161D69F92CA6F5740F733B93893001E" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_DDD9947C77D14545583433B93892D177" xlink:to="loc_us-gaap_AssetsCurrent_8161D69F92CA6F5740F733B93893001E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_A91F3FFEC8F8F4A6A3F833B938937A63" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_DDD9947C77D14545583433B93892D177" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_A91F3FFEC8F8F4A6A3F833B938937A63" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_InventoryNoncurrent" xlink:label="loc_us-gaap_InventoryNoncurrent_3616481B07BEB03626EE33B93893A207" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_DDD9947C77D14545583433B93892D177" xlink:to="loc_us-gaap_InventoryNoncurrent_3616481B07BEB03626EE33B93893A207" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_96CD8417C2521C8A626A33B938935EAF" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_DDD9947C77D14545583433B93892D177" xlink:to="loc_us-gaap_Goodwill_96CD8417C2521C8A626A33B938935EAF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_215F0D9B3459DAE9E42533B9389335AE" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_DDD9947C77D14545583433B93892D177" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_215F0D9B3459DAE9E42533B9389335AE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_DeferredTaxAssetsNetNoncurrent" xlink:label="loc_us-gaap_DeferredTaxAssetsNetNoncurrent_2C6146783309D2DB043033B9389399EF" xlink:type="locator" />
    <definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_DDD9947C77D14545583433B93892D177" xlink:to="loc_us-gaap_DeferredTaxAssetsNetNoncurrent_2C6146783309D2DB043033B9389399EF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AccountsReceivableNetNoncurrent" xlink:label="loc_us-gaap_AccountsReceivableNetNoncurrent_11D5B0DA82E27D64382633B93893D418" xlink:type="locator" />
    <definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_DDD9947C77D14545583433B93892D177" xlink:to="loc_us-gaap_AccountsReceivableNetNoncurrent_11D5B0DA82E27D64382633B93893D418" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_OtherAssetsNoncurrent" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_C86DCCA9BCD4F567D3AB33B93893B7A1" xlink:type="locator" />
    <definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_DDD9947C77D14545583433B93892D177" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_C86DCCA9BCD4F567D3AB33B93893B7A1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets_8417356B8E2FAC5FFAF833B93893A51C" xlink:type="locator" />
    <definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_DDD9947C77D14545583433B93892D177" xlink:to="loc_us-gaap_Assets_8417356B8E2FAC5FFAF833B93893A51C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquityAbstract" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_7AFD2030DB0DC05AE16133B938948B06" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_C227435F9DB7660696A433B938920187" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_7AFD2030DB0DC05AE16133B938948B06" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AccountsPayableCurrent" xlink:label="loc_us-gaap_AccountsPayableCurrent_678013B1C3A001AF6D9A33B9389487C1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_7AFD2030DB0DC05AE16133B938948B06" xlink:to="loc_us-gaap_AccountsPayableCurrent_678013B1C3A001AF6D9A33B9389487C1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AccruedLiabilitiesCurrent" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_FA2D1856BDD6C0F63AE533B9389484C4" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_7AFD2030DB0DC05AE16133B938948B06" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_FA2D1856BDD6C0F63AE533B9389484C4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_DeferredRevenueCurrent" xlink:label="loc_us-gaap_DeferredRevenueCurrent_6715A008C7535618D05533B938941B58" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_7AFD2030DB0DC05AE16133B938948B06" xlink:to="loc_us-gaap_DeferredRevenueCurrent_6715A008C7535618D05533B938941B58" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_LongTermDebtCurrent" xlink:label="loc_us-gaap_LongTermDebtCurrent_96C8067A51FEEDF9CE5933B93894DC7E" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_7AFD2030DB0DC05AE16133B938948B06" xlink:to="loc_us-gaap_LongTermDebtCurrent_96C8067A51FEEDF9CE5933B93894DC7E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_LiabilitiesCurrent" xlink:label="loc_us-gaap_LiabilitiesCurrent_4EE75D832ABABD03071033B9389420AB" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_7AFD2030DB0DC05AE16133B938948B06" xlink:to="loc_us-gaap_LiabilitiesCurrent_4EE75D832ABABD03071033B9389420AB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_LongTermDebtNoncurrent" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_AEA888A46CCF39D8062D33B9389425D6" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_7AFD2030DB0DC05AE16133B938948B06" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_AEA888A46CCF39D8062D33B9389425D6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_DeferredRevenueNoncurrent" xlink:label="loc_us-gaap_DeferredRevenueNoncurrent_E5D648B2604C8A7CC63433B938941771" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_7AFD2030DB0DC05AE16133B938948B06" xlink:to="loc_us-gaap_DeferredRevenueNoncurrent_E5D648B2604C8A7CC63433B938941771" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_40C7917D1328A7FCA98633B938947D3A" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_7AFD2030DB0DC05AE16133B938948B06" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_40C7917D1328A7FCA98633B938947D3A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_Liabilities" xlink:label="loc_us-gaap_Liabilities_C0D20DCDDD3F67FEFD7B33B93894C8BB" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_7AFD2030DB0DC05AE16133B938948B06" xlink:to="loc_us-gaap_Liabilities_C0D20DCDDD3F67FEFD7B33B93894C8BB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_CommitmentsAndContingencies" xlink:label="loc_us-gaap_CommitmentsAndContingencies_B8FC47F8A3280B964AC433B93894C785" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_7AFD2030DB0DC05AE16133B938948B06" xlink:to="loc_us-gaap_CommitmentsAndContingencies_B8FC47F8A3280B964AC433B93894C785" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_StockholdersEquityAbstract" xlink:label="loc_us-gaap_StockholdersEquityAbstract_DB66FC689559238B7BF833B9389437C8" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_7AFD2030DB0DC05AE16133B938948B06" xlink:to="loc_us-gaap_StockholdersEquityAbstract_DB66FC689559238B7BF833B9389437C8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_CommonStockValue" xlink:label="loc_us-gaap_CommonStockValue_545F20DD26A5BCBA313133B938941790" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_DB66FC689559238B7BF833B9389437C8" xlink:to="loc_us-gaap_CommonStockValue_545F20DD26A5BCBA313133B938941790" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AdditionalPaidInCapital" xlink:label="loc_us-gaap_AdditionalPaidInCapital_F15BA04E2907A09DB97433B938949F6D" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_DB66FC689559238B7BF833B9389437C8" xlink:to="loc_us-gaap_AdditionalPaidInCapital_F15BA04E2907A09DB97433B938949F6D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_TreasuryStockValue" xlink:label="loc_us-gaap_TreasuryStockValue_36BC70694A676ED3244E33B9389409EF" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_DB66FC689559238B7BF833B9389437C8" xlink:to="loc_us-gaap_TreasuryStockValue_36BC70694A676ED3244E33B9389409EF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ReceivableFromShareholdersOrAffiliatesForIssuanceOfCapitalStock" xlink:label="loc_us-gaap_ReceivableFromShareholdersOrAffiliatesForIssuanceOfCapitalStock_4FC236FC421079DAC28333B93894948D" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_DB66FC689559238B7BF833B9389437C8" xlink:to="loc_us-gaap_ReceivableFromShareholdersOrAffiliatesForIssuanceOfCapitalStock_4FC236FC421079DAC28333B93894948D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_D9339C063B4F0877F05233B938954A29" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_DB66FC689559238B7BF833B9389437C8" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_D9339C063B4F0877F05233B938954A29" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_F0A0363B8189D1DF078E33B938954CC0" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_DB66FC689559238B7BF833B9389437C8" xlink:to="loc_us-gaap_StockholdersEquity_F0A0363B8189D1DF078E33B938954CC0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_DAAED4600B8C03AB811433B93895C73C" xlink:type="locator" />
    <definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_7AFD2030DB0DC05AE16133B938948B06" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquity_DAAED4600B8C03AB811433B93895C73C" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.oesx.com/role/UnauditedCondensedConsolidatedBalanceSheetsParenthetical" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_6BD4B745432E8B199ECBE60FD311101E" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_A0710E4BB36D2DC814AFE60FD311C960" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_6BD4B745432E8B199ECBE60FD311101E" xlink:to="loc_us-gaap_StatementTable_A0710E4BB36D2DC814AFE60FD311C960" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_StatementScenarioAxis" xlink:label="loc_us-gaap_StatementScenarioAxis_F9552D55DC9B0A3FBE76E60FD311D0DC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_A0710E4BB36D2DC814AFE60FD311C960" xlink:to="loc_us-gaap_StatementScenarioAxis_F9552D55DC9B0A3FBE76E60FD311D0DC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="loc_us-gaap_ScenarioUnspecifiedDomain_EA1F7489249ED2FB5B59E60FD311FD31_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementScenarioAxis_F9552D55DC9B0A3FBE76E60FD311D0DC" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_EA1F7489249ED2FB5B59E60FD311FD31_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="loc_us-gaap_ScenarioUnspecifiedDomain_EA1F7489249ED2FB5B59E60FD311FD31" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementScenarioAxis_F9552D55DC9B0A3FBE76E60FD311D0DC" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_EA1F7489249ED2FB5B59E60FD311FD31" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_2FF79149E99494FD2150E60FD311D65D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_6BD4B745432E8B199ECBE60FD311101E" xlink:to="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_2FF79149E99494FD2150E60FD311D65D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_CommonStockNoParValue" xlink:label="loc_us-gaap_CommonStockNoParValue_2992088B264646364149E60FD31B2515" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_6BD4B745432E8B199ECBE60FD311101E" xlink:to="loc_us-gaap_CommonStockNoParValue_2992088B264646364149E60FD31B2515" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_CommonStockSharesAuthorized" xlink:label="loc_us-gaap_CommonStockSharesAuthorized_7AB860B33A8B31BF831CE60FD31B3899" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_6BD4B745432E8B199ECBE60FD311101E" xlink:to="loc_us-gaap_CommonStockSharesAuthorized_7AB860B33A8B31BF831CE60FD31B3899" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_CommonStockSharesIssued" xlink:label="loc_us-gaap_CommonStockSharesIssued_F0074CAFCDAB7CE404EBE60FD31B0571" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_6BD4B745432E8B199ECBE60FD311101E" xlink:to="loc_us-gaap_CommonStockSharesIssued_F0074CAFCDAB7CE404EBE60FD31B0571" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_SharesOutstanding" xlink:label="loc_us-gaap_SharesOutstanding_4BDBA7B3CAF544973B3CE60FD31B7009" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_6BD4B745432E8B199ECBE60FD311101E" xlink:to="loc_us-gaap_SharesOutstanding_4BDBA7B3CAF544973B3CE60FD31B7009" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_TreasuryStockShares" xlink:label="loc_us-gaap_TreasuryStockShares_ACBF4860A34AF4662D20E60FD31BB04B" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_6BD4B745432E8B199ECBE60FD311101E" xlink:to="loc_us-gaap_TreasuryStockShares_ACBF4860A34AF4662D20E60FD31BB04B" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.oesx.com/role/UnauditedCondensedConsolidatedStatementsOfCashFlows" xlink:type="extended" />
  <definitionLink xlink:role="http://www.oesx.com/role/UnauditedCondensedConsolidatedStatementsOfOperations" xlink:type="extended" />
</linkbase>





