

<!--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-20131231.xsd#AcquisitionAcquisitionAgreeementDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/AcquisitionConsiderationPaidDetails" xlink:href="oesx-20131231.xsd#AcquisitionConsiderationPaidDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/AcquisitionContingentConsiderationDetails" xlink:href="oesx-20131231.xsd#AcquisitionContingentConsiderationDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/AcquisitionIdentifiableIntangibleAssetsAcquiredDetails" xlink:href="oesx-20131231.xsd#AcquisitionIdentifiableIntangibleAssetsAcquiredDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/AcquisitionNotes" xlink:href="oesx-20131231.xsd#AcquisitionNotes" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/AcquisitionProFormaResultsOfOperationsDetails" xlink:href="oesx-20131231.xsd#AcquisitionProFormaResultsOfOperationsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/AcquisitionTables" xlink:href="oesx-20131231.xsd#AcquisitionTables" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/CommitmentsAndContingencies" xlink:href="oesx-20131231.xsd#CommitmentsAndContingencies" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/CommitmentsAndContingenciesDetails" xlink:href="oesx-20131231.xsd#CommitmentsAndContingenciesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/Debt" xlink:href="oesx-20131231.xsd#Debt" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/DebtDetails" xlink:href="oesx-20131231.xsd#DebtDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/DebtDetailsTextual" xlink:href="oesx-20131231.xsd#DebtDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/DebtTables" xlink:href="oesx-20131231.xsd#DebtTables" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/DescriptionOfBusiness" xlink:href="oesx-20131231.xsd#DescriptionOfBusiness" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/DocumentAndEntityInformation" xlink:href="oesx-20131231.xsd#DocumentAndEntityInformation" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/IncomeTaxes" xlink:href="oesx-20131231.xsd#IncomeTaxes" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/IncomeTaxesDetails" xlink:href="oesx-20131231.xsd#IncomeTaxesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/IncomeTaxesDetails1" xlink:href="oesx-20131231.xsd#IncomeTaxesDetails1" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/IncomeTaxesDetailsTextual" xlink:href="oesx-20131231.xsd#IncomeTaxesDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/IncomeTaxesTables" xlink:href="oesx-20131231.xsd#IncomeTaxesTables" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/RelatedPartyTransactions" xlink:href="oesx-20131231.xsd#RelatedPartyTransactions" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/Segments" xlink:href="oesx-20131231.xsd#Segments" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/SegmentsDetails" xlink:href="oesx-20131231.xsd#SegmentsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/SegmentsDetails1" xlink:href="oesx-20131231.xsd#SegmentsDetails1" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/SegmentsTables" xlink:href="oesx-20131231.xsd#SegmentsTables" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/ShareholdersEquity" xlink:href="oesx-20131231.xsd#ShareholdersEquity" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/ShareholdersEquityDetails" xlink:href="oesx-20131231.xsd#ShareholdersEquityDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/ShareholdersEquityDetailsTextual" xlink:href="oesx-20131231.xsd#ShareholdersEquityDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/ShareholdersEquityTables" xlink:href="oesx-20131231.xsd#ShareholdersEquityTables" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/StockOptionsRestrictedSharesAndWarrants" xlink:href="oesx-20131231.xsd#StockOptionsRestrictedSharesAndWarrants" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/StockOptionsRestrictedSharesAndWarrantsDetails" xlink:href="oesx-20131231.xsd#StockOptionsRestrictedSharesAndWarrantsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/StockOptionsRestrictedSharesAndWarrantsDetails1" xlink:href="oesx-20131231.xsd#StockOptionsRestrictedSharesAndWarrantsDetails1" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/StockOptionsRestrictedSharesAndWarrantsDetails2" xlink:href="oesx-20131231.xsd#StockOptionsRestrictedSharesAndWarrantsDetails2" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/StockOptionsRestrictedSharesAndWarrantsDetails3" xlink:href="oesx-20131231.xsd#StockOptionsRestrictedSharesAndWarrantsDetails3" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/StockOptionsRestrictedSharesAndWarrantsDetails4" xlink:href="oesx-20131231.xsd#StockOptionsRestrictedSharesAndWarrantsDetails4" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/StockOptionsRestrictedSharesAndWarrantsDetailsTextual" xlink:href="oesx-20131231.xsd#StockOptionsRestrictedSharesAndWarrantsDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/StockOptionsRestrictedSharesAndWarrantsTables" xlink:href="oesx-20131231.xsd#StockOptionsRestrictedSharesAndWarrantsTables" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/SubsequentEvents" xlink:href="oesx-20131231.xsd#SubsequentEvents" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/SubsequentEventsDetails" xlink:href="oesx-20131231.xsd#SubsequentEventsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/SummaryOfSignificantAccountingPolicies" xlink:href="oesx-20131231.xsd#SummaryOfSignificantAccountingPolicies" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/SummaryOfSignificantAccountingPoliciesCashAndCashEquivDetails" xlink:href="oesx-20131231.xsd#SummaryOfSignificantAccountingPoliciesCashAndCashEquivDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/SummaryOfSignificantAccountingPoliciesConcentrationRiskDetails" xlink:href="oesx-20131231.xsd#SummaryOfSignificantAccountingPoliciesConcentrationRiskDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/SummaryOfSignificantAccountingPoliciesDilutiveSecuritiesDetails" xlink:href="oesx-20131231.xsd#SummaryOfSignificantAccountingPoliciesDilutiveSecuritiesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/SummaryOfSignificantAccountingPoliciesEpsDetails" xlink:href="oesx-20131231.xsd#SummaryOfSignificantAccountingPoliciesEpsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/SummaryOfSignificantAccountingPoliciesFinancingReceivablesDetails" xlink:href="oesx-20131231.xsd#SummaryOfSignificantAccountingPoliciesFinancingReceivablesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/SummaryOfSignificantAccountingPoliciesGoodwillAndOtherIntangilbeAssetsDetails" xlink:href="oesx-20131231.xsd#SummaryOfSignificantAccountingPoliciesGoodwillAndOtherIntangilbeAssetsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/SummaryOfSignificantAccountingPoliciesInventoriesDetails" xlink:href="oesx-20131231.xsd#SummaryOfSignificantAccountingPoliciesInventoriesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/SummaryOfSignificantAccountingPoliciesLtReceivablesDetails" xlink:href="oesx-20131231.xsd#SummaryOfSignificantAccountingPoliciesLtReceivablesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/SummaryOfSignificantAccountingPoliciesNarrativeDetails" xlink:href="oesx-20131231.xsd#SummaryOfSignificantAccountingPoliciesNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/SummaryOfSignificantAccountingPoliciesPolicies" xlink:href="oesx-20131231.xsd#SummaryOfSignificantAccountingPoliciesPolicies" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/SummaryOfSignificantAccountingPoliciesPpeUsefulLivesDetails" xlink:href="oesx-20131231.xsd#SummaryOfSignificantAccountingPoliciesPpeUsefulLivesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/SummaryOfSignificantAccountingPoliciesPropPlantAndEquipDetails" xlink:href="oesx-20131231.xsd#SummaryOfSignificantAccountingPoliciesPropPlantAndEquipDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/SummaryOfSignificantAccountingPoliciesStockOptionAssumptionsDetails" xlink:href="oesx-20131231.xsd#SummaryOfSignificantAccountingPoliciesStockOptionAssumptionsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/SummaryOfSignificantAccountingPoliciesTables" xlink:href="oesx-20131231.xsd#SummaryOfSignificantAccountingPoliciesTables" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/SummaryOfSignificantAccountingPoliciesWarrantyAccrualDetails" xlink:href="oesx-20131231.xsd#SummaryOfSignificantAccountingPoliciesWarrantyAccrualDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/UnauditedCondensedConsolidatedBalanceSheets" xlink:href="oesx-20131231.xsd#UnauditedCondensedConsolidatedBalanceSheets" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/UnauditedCondensedConsolidatedBalanceSheetsParenthetical" xlink:href="oesx-20131231.xsd#UnauditedCondensedConsolidatedBalanceSheetsParenthetical" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/UnauditedCondensedConsolidatedStatementsOfCashFlows" xlink:href="oesx-20131231.xsd#UnauditedCondensedConsolidatedStatementsOfCashFlows" xlink:type="simple" />
  <roleRef roleURI="http://www.oesx.com/role/UnauditedCondensedConsolidatedStatementsOfOperations" xlink:href="oesx-20131231.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_E01FD025FE2720152527081AA9B8590A" 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_F453664DA4F3179F5A1F081AA9B8C4B3" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_E01FD025FE2720152527081AA9B8590A" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_F453664DA4F3179F5A1F081AA9B8C4B3" 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_59E5DE00E097E99B6CB8081AA9B87FEC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_F453664DA4F3179F5A1F081AA9B8C4B3" xlink:to="loc_us-gaap_StatementScenarioAxis_59E5DE00E097E99B6CB8081AA9B87FEC" 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_7F985D3D688E2EDF1588081AA9B86FAB_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementScenarioAxis_59E5DE00E097E99B6CB8081AA9B87FEC" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_7F985D3D688E2EDF1588081AA9B86FAB_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_7F985D3D688E2EDF1588081AA9B86FAB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementScenarioAxis_59E5DE00E097E99B6CB8081AA9B87FEC" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_7F985D3D688E2EDF1588081AA9B86FAB" 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_E42244A124416BD107E908468331F4CD" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScenarioUnspecifiedDomain_7F985D3D688E2EDF1588081AA9B86FAB" xlink:to="loc_us-gaap_SubsequentEventMember_E42244A124416BD107E908468331F4CD" xlink:type="arc" />
    <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_1F2AA7BEF8857605C2E0081AA9B8D67E" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_F453664DA4F3179F5A1F081AA9B8C4B3" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_1F2AA7BEF8857605C2E0081AA9B8D67E" 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_3D8A7AB04D78DDD08AA8081AA9B80477_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_1F2AA7BEF8857605C2E0081AA9B8D67E" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_3D8A7AB04D78DDD08AA8081AA9B80477_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_3D8A7AB04D78DDD08AA8081AA9B80477" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_1F2AA7BEF8857605C2E0081AA9B8D67E" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_3D8A7AB04D78DDD08AA8081AA9B80477" 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_A6CF758CDA977BCB4C26081AA9B8A64D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_3D8A7AB04D78DDD08AA8081AA9B80477" xlink:to="loc_us-gaap_SubsequentEventMember_A6CF758CDA977BCB4C26081AA9B8A64D" 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_3E000C7158BDE1AE4168081AA9B8C29C" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_F453664DA4F3179F5A1F081AA9B8C4B3" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_3E000C7158BDE1AE4168081AA9B8C29C" 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_BDCC3E3474C2230BF6B5081AA9B8F7B3_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_3E000C7158BDE1AE4168081AA9B8C29C" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_BDCC3E3474C2230BF6B5081AA9B8F7B3_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_BDCC3E3474C2230BF6B5081AA9B8F7B3" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_3E000C7158BDE1AE4168081AA9B8C29C" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_BDCC3E3474C2230BF6B5081AA9B8F7B3" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_HarrisMember" xlink:label="loc_oesx_HarrisMember_151EB172549A2839594F081AA9B87614" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_BDCC3E3474C2230BF6B5081AA9B8F7B3" xlink:to="loc_oesx_HarrisMember_151EB172549A2839594F081AA9B87614" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_BusinessCombinationConsiderationTransferredInitialPurchaseAgreementAmount" xlink:label="loc_oesx_BusinessCombinationConsiderationTransferredInitialPurchaseAgreementAmount_7A03B48BCC63E94A81E5081AA9B8DDA9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_E01FD025FE2720152527081AA9B8590A" xlink:to="loc_oesx_BusinessCombinationConsiderationTransferredInitialPurchaseAgreementAmount_7A03B48BCC63E94A81E5081AA9B8DDA9" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_BusinessCombinationConsiderationTransferredInitialPurchaseAgreementContingentAdjustmentAmount" xlink:label="loc_oesx_BusinessCombinationConsiderationTransferredInitialPurchaseAgreementContingentAdjustmentAmount_62A75F36A4E4DF9CA35E081AA9B819D3" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_E01FD025FE2720152527081AA9B8590A" xlink:to="loc_oesx_BusinessCombinationConsiderationTransferredInitialPurchaseAgreementContingentAdjustmentAmount_62A75F36A4E4DF9CA35E081AA9B819D3" 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_F411EA169F6E425E4598081AA9B856CD" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_E01FD025FE2720152527081AA9B8590A" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesGross_F411EA169F6E425E4598081AA9B856CD" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_BusinessCombinationConsiderationTransferredLiabilitiesIncurred" xlink:label="loc_oesx_BusinessCombinationConsiderationTransferredLiabilitiesIncurred_6239F21EDF95AF227508081AA9B8A810" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_E01FD025FE2720152527081AA9B8590A" xlink:to="loc_oesx_BusinessCombinationConsiderationTransferredLiabilitiesIncurred_6239F21EDF95AF227508081AA9B8A810" 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_643EACAE9FD3F560DC9F081AA9B884EF" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_E01FD025FE2720152527081AA9B8590A" xlink:to="loc_us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued_643EACAE9FD3F560DC9F081AA9B884EF" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_BusinessAcquisitionAcquisitionConsiderationSharePrice" xlink:label="loc_oesx_BusinessAcquisitionAcquisitionConsiderationSharePrice_F557F78A3F4BC406C5D9081AA9B8CF0D" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_E01FD025FE2720152527081AA9B8590A" xlink:to="loc_oesx_BusinessAcquisitionAcquisitionConsiderationSharePrice_F557F78A3F4BC406C5D9081AA9B8CF0D" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_BusinessAcquisitionSharePriceDeterminationThresholdTradingDaysBeforePurchaseAgreement" xlink:label="loc_oesx_BusinessAcquisitionSharePriceDeterminationThresholdTradingDaysBeforePurchaseAgreement_1FB50319F7362EA8B039081AA9B83D1C" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_E01FD025FE2720152527081AA9B8590A" xlink:to="loc_oesx_BusinessAcquisitionSharePriceDeterminationThresholdTradingDaysBeforePurchaseAgreement_1FB50319F7362EA8B039081AA9B83D1C" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_BusinessAcquisitionSharePriceDeterminationThresholdTradingDaysAfterPurchaseAgreement" xlink:label="loc_oesx_BusinessAcquisitionSharePriceDeterminationThresholdTradingDaysAfterPurchaseAgreement_D2E879C10F5B7A9FECCC081AA9B8C59A" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_E01FD025FE2720152527081AA9B8590A" xlink:to="loc_oesx_BusinessAcquisitionSharePriceDeterminationThresholdTradingDaysAfterPurchaseAgreement_D2E879C10F5B7A9FECCC081AA9B8C59A" 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_876747FEAFD5DCCB6038081AA9B847ED" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_E01FD025FE2720152527081AA9B8590A" xlink:to="loc_us-gaap_BusinessAcquisitionSharePrice_876747FEAFD5DCCB6038081AA9B847ED" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_BusinessCombinationFixedFutureConsiderationAmount" xlink:label="loc_oesx_BusinessCombinationFixedFutureConsiderationAmount_8D2962AC37FF72DA6EE9081AA9B8B13F" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_E01FD025FE2720152527081AA9B8590A" xlink:to="loc_oesx_BusinessCombinationFixedFutureConsiderationAmount_8D2962AC37FF72DA6EE9081AA9B8B13F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionCostOfAcquiredEntityEquityInterestsIssuedAndIssuable" xlink:label="loc_us-gaap_BusinessAcquisitionCostOfAcquiredEntityEquityInterestsIssuedAndIssuable_37FAC86E1021A9EA19DE081AA9B8339E" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_E01FD025FE2720152527081AA9B8590A" xlink:to="loc_us-gaap_BusinessAcquisitionCostOfAcquiredEntityEquityInterestsIssuedAndIssuable_37FAC86E1021A9EA19DE081AA9B8339E" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_BusinessCombinationFixedFutureConsiderationSharesPricePerShare" xlink:label="loc_oesx_BusinessCombinationFixedFutureConsiderationSharesPricePerShare_0A243C354DE02F80AAB2081AA9B8935A" xlink:type="locator" />
    <definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_E01FD025FE2720152527081AA9B8590A" xlink:to="loc_oesx_BusinessCombinationFixedFutureConsiderationSharesPricePerShare_0A243C354DE02F80AAB2081AA9B8935A" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_BusinessCombinationFixedFutureConsiderationCash" xlink:label="loc_oesx_BusinessCombinationFixedFutureConsiderationCash_B07B9F57B46DC5A89980081AA9B85591" xlink:type="locator" />
    <definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_E01FD025FE2720152527081AA9B8590A" xlink:to="loc_oesx_BusinessCombinationFixedFutureConsiderationCash_B07B9F57B46DC5A89980081AA9B85591" 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_B25E338F1D5C3C009084081AA9B88DCE" xlink:type="locator" />
    <definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_E01FD025FE2720152527081AA9B8590A" xlink:to="loc_us-gaap_BusinessCombinationProFormaInformationRevenueOfAcquireeSinceAcquisitionDateActual_B25E338F1D5C3C009084081AA9B88DCE" 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_E3E34D8E31178E464C75081AA9B850AB" xlink:type="locator" />
    <definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_E01FD025FE2720152527081AA9B8590A" xlink:to="loc_us-gaap_BusinessCombinationProFormaInformationEarningsOrLossOfAcquireeSinceAcquisitionDateActual_E3E34D8E31178E464C75081AA9B850AB" 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_EA3384F22D3803800959081AA9B8843B" xlink:type="locator" />
    <definitionArc order="16" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_E01FD025FE2720152527081AA9B8590A" xlink:to="loc_us-gaap_BusinessCombinationAcquisitionRelatedCosts_EA3384F22D3803800959081AA9B8843B" 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_2B71008570D7CD90C6970415B98F30D1" 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_BB92638D19BAB95CFDCF0415B98E2902" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_2B71008570D7CD90C6970415B98F30D1" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_BB92638D19BAB95CFDCF0415B98E2902" 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_3C43FD3BB9F80F84466E0415B98FE6C5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_BB92638D19BAB95CFDCF0415B98E2902" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_3C43FD3BB9F80F84466E0415B98FE6C5" 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_CC178ACFAF22EFF730D80415B98F497C_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_3C43FD3BB9F80F84466E0415B98FE6C5" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_CC178ACFAF22EFF730D80415B98F497C_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_CC178ACFAF22EFF730D80415B98F497C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_3C43FD3BB9F80F84466E0415B98FE6C5" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_CC178ACFAF22EFF730D80415B98F497C" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_HarrisMember" xlink:label="loc_oesx_HarrisMember_E591EE719A4C087ED7770415B98F9D1E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_CC178ACFAF22EFF730D80415B98F497C" xlink:to="loc_oesx_HarrisMember_E591EE719A4C087ED7770415B98F9D1E" 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_844E44112D2CB28969E80415B98F3A1C" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_BB92638D19BAB95CFDCF0415B98E2902" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_844E44112D2CB28969E80415B98F3A1C" 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_36D8BFFB05C3329ADD130415B98FDF3D_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_844E44112D2CB28969E80415B98F3A1C" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_36D8BFFB05C3329ADD130415B98FDF3D_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_36D8BFFB05C3329ADD130415B98FDF3D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_844E44112D2CB28969E80415B98F3A1C" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_36D8BFFB05C3329ADD130415B98FDF3D" 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_8F8B2A79C9EACB8D34720415B98FCB35" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_36D8BFFB05C3329ADD130415B98FDF3D" xlink:to="loc_us-gaap_CustomerRelationshipsMember_8F8B2A79C9EACB8D34720415B98FCB35" 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_5567A7438754970E016D0415B98F41B1" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_36D8BFFB05C3329ADD130415B98FDF3D" xlink:to="loc_us-gaap_NoncompeteAgreementsMember_5567A7438754970E016D0415B98F41B1" 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_8400FA3F026271BE73890415B98F2B97" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_36D8BFFB05C3329ADD130415B98FDF3D" xlink:to="loc_us-gaap_DevelopedTechnologyRightsMember_8400FA3F026271BE73890415B98F2B97" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_TrademarksandTradeNamesMember" xlink:label="loc_oesx_TrademarksandTradeNamesMember_F819FE489907BD936DCF0415B98F9C44" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_36D8BFFB05C3329ADD130415B98FDF3D" xlink:to="loc_oesx_TrademarksandTradeNamesMember_F819FE489907BD936DCF0415B98F9C44" 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_0D8A88C4438A7A037DC60415B98F483C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_2B71008570D7CD90C6970415B98F30D1" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferredAbstract_0D8A88C4438A7A037DC60415B98F483C" 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_D1AFC188655211ABF6F20415B98FF010" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationConsiderationTransferredAbstract_0D8A88C4438A7A037DC60415B98F483C" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesGross_D1AFC188655211ABF6F20415B98FF010" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_BusinessCombinationConsiderationTransferredLiabilitiesIncurred" xlink:label="loc_oesx_BusinessCombinationConsiderationTransferredLiabilitiesIncurred_7068B74E35D94CA4F8C30415B98FBD14" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationConsiderationTransferredAbstract_0D8A88C4438A7A037DC60415B98F483C" xlink:to="loc_oesx_BusinessCombinationConsiderationTransferredLiabilitiesIncurred_7068B74E35D94CA4F8C30415B98FBD14" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_BusinessCombinationConsiderationTransferredEquityInterestsIssuedandIssuable" xlink:label="loc_oesx_BusinessCombinationConsiderationTransferredEquityInterestsIssuedandIssuable_388124A2E2D4F830AAF70415B98F4D3E" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationConsiderationTransferredAbstract_0D8A88C4438A7A037DC60415B98F483C" xlink:to="loc_oesx_BusinessCombinationConsiderationTransferredEquityInterestsIssuedandIssuable_388124A2E2D4F830AAF70415B98F4D3E" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_BusinessCombinationConsiderationTransferredContingentConsiderationAdjustment" xlink:label="loc_oesx_BusinessCombinationConsiderationTransferredContingentConsiderationAdjustment_E3213D498F4FABF6C7010415B9901BF7" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationConsiderationTransferredAbstract_0D8A88C4438A7A037DC60415B98F483C" xlink:to="loc_oesx_BusinessCombinationConsiderationTransferredContingentConsiderationAdjustment_E3213D498F4FABF6C7010415B9901BF7" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_BusinessCombinationConsiderationTransferred1" xlink:label="loc_oesx_BusinessCombinationConsiderationTransferred1_1E2297E562B96E7841CB0415B9907D33" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationConsiderationTransferredAbstract_0D8A88C4438A7A037DC60415B98F483C" xlink:to="loc_oesx_BusinessCombinationConsiderationTransferred1_1E2297E562B96E7841CB0415B9907D33" 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_3441FA10B9797A7993270415B990B588" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_2B71008570D7CD90C6970415B98F30D1" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedLessNoncontrollingInterestAbstract_3441FA10B9797A7993270415B990B588" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents" xlink:label="loc_oesx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_CD4214D35BF6E1C6E7DB0415B9904405" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedLessNoncontrollingInterestAbstract_3441FA10B9797A7993270415B990B588" xlink:to="loc_oesx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_CD4214D35BF6E1C6E7DB0415B9904405" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables" xlink:label="loc_oesx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables_35522BEFB3A91D0A573C0415B990EA41" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedLessNoncontrollingInterestAbstract_3441FA10B9797A7993270415B990B588" xlink:to="loc_oesx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables_35522BEFB3A91D0A573C0415B990EA41" 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_78C7A9FB288A82B32B640415B9900BFC" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedLessNoncontrollingInterestAbstract_3441FA10B9797A7993270415B990B588" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory_78C7A9FB288A82B32B640415B9900BFC" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther" xlink:label="loc_oesx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther_9A1897909580F0FC6D5B0415B9905F39" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedLessNoncontrollingInterestAbstract_3441FA10B9797A7993270415B990B588" xlink:to="loc_oesx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther_9A1897909580F0FC6D5B0415B9905F39" 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_7289DA06EED3C64703480415B9909811" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedLessNoncontrollingInterestAbstract_3441FA10B9797A7993270415B990B588" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_7289DA06EED3C64703480415B9909811" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxAssetsNoncurrent" xlink:label="loc_oesx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxAssetsNoncurrent_94FD59E6763389E7E9010415B9903DD7" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedLessNoncontrollingInterestAbstract_3441FA10B9797A7993270415B990B588" xlink:to="loc_oesx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxAssetsNoncurrent_94FD59E6763389E7E9010415B9903DD7" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill" xlink:label="loc_oesx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_F4A81459F1DB625BE4E20415B9906AA4" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedLessNoncontrollingInterestAbstract_3441FA10B9797A7993270415B990B588" xlink:to="loc_oesx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_F4A81459F1DB625BE4E20415B9906AA4" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable" xlink:label="loc_oesx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable_E49AB437B30D308E91220415B990AACC" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedLessNoncontrollingInterestAbstract_3441FA10B9797A7993270415B990B588" xlink:to="loc_oesx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable_E49AB437B30D308E91220415B990AACC" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilitiesNoncurrent" xlink:label="loc_oesx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilitiesNoncurrent_2BE7A130772306F25C5A0415B9904EFD" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedLessNoncontrollingInterestAbstract_3441FA10B9797A7993270415B990B588" xlink:to="loc_oesx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilitiesNoncurrent_2BE7A130772306F25C5A0415B9904EFD" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther" xlink:label="loc_oesx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther_D3145E6F436716F822F10415B9907683" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedLessNoncontrollingInterestAbstract_3441FA10B9797A7993270415B990B588" xlink:to="loc_oesx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther_D3145E6F436716F822F10415B9907683" 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_E928327E798E90BB555E0415B99021F2" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedLessNoncontrollingInterestAbstract_3441FA10B9797A7993270415B990B588" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_E928327E798E90BB555E0415B99021F2" 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_C1177017D192C726358C0415B9919B48" xlink:type="locator" />
    <definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedLessNoncontrollingInterestAbstract_3441FA10B9797A7993270415B990B588" xlink:to="loc_us-gaap_Goodwill_C1177017D192C726358C0415B9919B48" 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_4022043A74CB4A437F950415B991C67B" xlink:type="locator" />
    <definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedLessNoncontrollingInterestAbstract_3441FA10B9797A7993270415B990B588" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_4022043A74CB4A437F950415B991C67B" 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_51FD837FF71E5464E12F0415B98994D3" 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_041A134E2E6DF370C5A60415B9896587" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_51FD837FF71E5464E12F0415B98994D3" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_041A134E2E6DF370C5A60415B9896587" 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_D33F7757DE27025A85570415B98910B0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_041A134E2E6DF370C5A60415B9896587" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_D33F7757DE27025A85570415B98910B0" 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_941FFD467E23EA0258910415B9892004_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_D33F7757DE27025A85570415B98910B0" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_941FFD467E23EA0258910415B9892004_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_941FFD467E23EA0258910415B9892004" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_D33F7757DE27025A85570415B98910B0" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_941FFD467E23EA0258910415B9892004" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_HarrisMember" xlink:label="loc_oesx_HarrisMember_A16E36850AC7A90D20230415B989499B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_941FFD467E23EA0258910415B9892004" xlink:to="loc_oesx_HarrisMember_A16E36850AC7A90D20230415B989499B" 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_32EE7199B4814456A0750415B9890050" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_51FD837FF71E5464E12F0415B98994D3" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueHigh_32EE7199B4814456A0750415B9890050" 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_A913A215A797333A2C440415B9892C2B" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_51FD837FF71E5464E12F0415B98994D3" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueLow_A913A215A797333A2C440415B9892C2B" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_BusinessCombinationContingentConsiderationLiability" xlink:label="loc_oesx_BusinessCombinationContingentConsiderationLiability_29EE029F8A6DDABECD750415B9898BC5" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_51FD837FF71E5464E12F0415B98994D3" xlink:to="loc_oesx_BusinessCombinationContingentConsiderationLiability_29EE029F8A6DDABECD750415B9898BC5" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_BusinessCombinationContingentConsiderationLiabilitytobeRecorded" xlink:label="loc_oesx_BusinessCombinationContingentConsiderationLiabilitytobeRecorded_52B37A714EFD04A74FA5043D7B878CC1" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_51FD837FF71E5464E12F0415B98994D3" xlink:to="loc_oesx_BusinessCombinationContingentConsiderationLiabilitytobeRecorded_52B37A714EFD04A74FA5043D7B878CC1" 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_610071A7802D0D4D7A3F0415B9899430" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_51FD837FF71E5464E12F0415B98994D3" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability_610071A7802D0D4D7A3F0415B9899430" 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_39554A295452B8768B4434FB2BB5F4BA" 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_57DEEC87D248F87B44D034FB2BAB8667" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_39554A295452B8768B4434FB2BB5F4BA" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_57DEEC87D248F87B44D034FB2BAB8667" 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_9090B3AAF42F35D917A734FB2BAB90ED" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_57DEEC87D248F87B44D034FB2BAB8667" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_9090B3AAF42F35D917A734FB2BAB90ED" 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_DCD32AB7C33510708C4734FB2BAB7394_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_9090B3AAF42F35D917A734FB2BAB90ED" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_DCD32AB7C33510708C4734FB2BAB7394_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_DCD32AB7C33510708C4734FB2BAB7394" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_9090B3AAF42F35D917A734FB2BAB90ED" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_DCD32AB7C33510708C4734FB2BAB7394" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_HarrisMember" xlink:label="loc_oesx_HarrisMember_DDC1047BD4EFBACCE0BF34FB2BAB75CB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_DCD32AB7C33510708C4734FB2BAB7394" xlink:to="loc_oesx_HarrisMember_DDC1047BD4EFBACCE0BF34FB2BAB75CB" 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_B117CA4F7245B8B722CD34FB2BAB747C" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_57DEEC87D248F87B44D034FB2BAB8667" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_B117CA4F7245B8B722CD34FB2BAB747C" 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_8F76158B475A3C16E99934FB2BABE185_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_B117CA4F7245B8B722CD34FB2BAB747C" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_8F76158B475A3C16E99934FB2BABE185_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_8F76158B475A3C16E99934FB2BABE185" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_B117CA4F7245B8B722CD34FB2BAB747C" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_8F76158B475A3C16E99934FB2BABE185" 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_2DB2CE0CD52D98D0D49034FB2BABAE9C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_8F76158B475A3C16E99934FB2BABE185" xlink:to="loc_us-gaap_CustomerRelationshipsMember_2DB2CE0CD52D98D0D49034FB2BABAE9C" 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_E0A6B106C765DBB5DDB234FB2BAB647E" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_8F76158B475A3C16E99934FB2BABE185" xlink:to="loc_us-gaap_DevelopedTechnologyRightsMember_E0A6B106C765DBB5DDB234FB2BAB647E" 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_345339722D3A3F6AF20534FB2BAB4BBF" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_8F76158B475A3C16E99934FB2BABE185" xlink:to="loc_us-gaap_NoncompeteAgreementsMember_345339722D3A3F6AF20534FB2BAB4BBF" 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_F42EC117FE60709DFCE534FB2BAB2354" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_57DEEC87D248F87B44D034FB2BAB8667" xlink:to="loc_us-gaap_RangeAxis_F42EC117FE60709DFCE534FB2BAB2354" 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_8E841F9F9891A434E58C34FB2BB5E63F_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_F42EC117FE60709DFCE534FB2BAB2354" xlink:to="loc_us-gaap_RangeMember_8E841F9F9891A434E58C34FB2BB5E63F_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_8E841F9F9891A434E58C34FB2BB5E63F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_F42EC117FE60709DFCE534FB2BAB2354" xlink:to="loc_us-gaap_RangeMember_8E841F9F9891A434E58C34FB2BB5E63F" 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_1F574BA8EB64AE58BD7334FB2BB58D64" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_8E841F9F9891A434E58C34FB2BB5E63F" xlink:to="loc_us-gaap_MinimumMember_1F574BA8EB64AE58BD7334FB2BB58D64" 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_A43FB6B3730AD286A92834FB2BB5175A" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_8E841F9F9891A434E58C34FB2BB5E63F" xlink:to="loc_us-gaap_MaximumMember_A43FB6B3730AD286A92834FB2BB5175A" 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_0F7A158E45456B99987434FB2BB56771" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_39554A295452B8768B4434FB2BB5F4BA" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_0F7A158E45456B99987434FB2BB56771" 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_BC649AB0AA9357877196FE8635767746" 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_709A4E189AB1703D3E10FE863576E037" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_BC649AB0AA9357877196FE8635767746" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_709A4E189AB1703D3E10FE863576E037" 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_A336B97CD585879E4C0DFE86357618C1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_709A4E189AB1703D3E10FE863576E037" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_A336B97CD585879E4C0DFE86357618C1" 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_1F16B82910F1540F0FF2FE8635767493_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_A336B97CD585879E4C0DFE86357618C1" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1F16B82910F1540F0FF2FE8635767493_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_1F16B82910F1540F0FF2FE8635767493" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_A336B97CD585879E4C0DFE86357618C1" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1F16B82910F1540F0FF2FE8635767493" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_HarrisMember" xlink:label="loc_oesx_HarrisMember_B26023D71E6CB5B0D624FE8635766AEB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1F16B82910F1540F0FF2FE8635767493" xlink:to="loc_oesx_HarrisMember_B26023D71E6CB5B0D624FE8635766AEB" 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_03CDF0DD60E09A630A1BFE86357626E3" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_709A4E189AB1703D3E10FE863576E037" xlink:to="loc_us-gaap_NonrecurringAdjustmentAxis_03CDF0DD60E09A630A1BFE86357626E3" 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_10A37E0A03AFEBB85C91FE863576795F_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_NonrecurringAdjustmentAxis_03CDF0DD60E09A630A1BFE86357626E3" xlink:to="loc_us-gaap_NonrecurringAdjustmentDomain_10A37E0A03AFEBB85C91FE863576795F_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_10A37E0A03AFEBB85C91FE863576795F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_NonrecurringAdjustmentAxis_03CDF0DD60E09A630A1BFE86357626E3" xlink:to="loc_us-gaap_NonrecurringAdjustmentDomain_10A37E0A03AFEBB85C91FE863576795F" 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_40AEC097D42224569773FE863576ED84" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NonrecurringAdjustmentDomain_10A37E0A03AFEBB85C91FE863576795F" xlink:to="loc_us-gaap_AcquisitionRelatedCostsMember_40AEC097D42224569773FE863576ED84" 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_EFA21C08F582241BB40DFE8635766EA1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_BC649AB0AA9357877196FE8635767746" xlink:to="loc_us-gaap_BusinessAcquisitionProFormaInformationAbstract_EFA21C08F582241BB40DFE8635766EA1" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_BusinessAcquisitionProFormaIncomeTaxExpenseBenefit" xlink:label="loc_oesx_BusinessAcquisitionProFormaIncomeTaxExpenseBenefit_1971893A4617B0E079BDFE863576A12D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionProFormaInformationAbstract_EFA21C08F582241BB40DFE8635766EA1" xlink:to="loc_oesx_BusinessAcquisitionProFormaIncomeTaxExpenseBenefit_1971893A4617B0E079BDFE863576A12D" 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_B9D51EC8C1B6D908D16BFE8635760501" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionProFormaInformationAbstract_EFA21C08F582241BB40DFE8635766EA1" xlink:to="loc_us-gaap_BusinessAcquisitionsProFormaRevenue_B9D51EC8C1B6D908D16BFE8635760501" 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_8FF369700C94F8600814FE863576B04E" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionProFormaInformationAbstract_EFA21C08F582241BB40DFE8635766EA1" xlink:to="loc_us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss_8FF369700C94F8600814FE863576B04E" 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_6B99927E53A642514B20FE863576DB7A" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionProFormaInformationAbstract_EFA21C08F582241BB40DFE8635766EA1" xlink:to="loc_us-gaap_BusinessAcquisitionProFormaEarningsPerShareBasic_6B99927E53A642514B20FE863576DB7A" 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_EAD1D034EA3B8A03D4C9FE863576629F" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionProFormaInformationAbstract_EFA21C08F582241BB40DFE8635766EA1" xlink:to="loc_us-gaap_BusinessAcquisitionProFormaEarningsPerShareDiluted_EAD1D034EA3B8A03D4C9FE863576629F" 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_7B9A38E0304C725245D8FE8635768060" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionProFormaInformationAbstract_EFA21C08F582241BB40DFE8635766EA1" xlink:to="loc_us-gaap_ProfitLoss_7B9A38E0304C725245D8FE8635768060" 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_C8B3ED883BC49A3E327634FB2D6D92E0" 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_47E0056BC35B2C50EDD234FB2D6DCEDA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentLineItems_C8B3ED883BC49A3E327634FB2D6D92E0" xlink:to="loc_us-gaap_LongTermPurchaseCommitmentTable_47E0056BC35B2C50EDD234FB2D6DCEDA" 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_2CC50737609E5E2FFDE334FB2D6DF3E7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentTable_47E0056BC35B2C50EDD234FB2D6DCEDA" xlink:to="loc_us-gaap_LongTermPurchaseCommitmentByCategoryOfItemPurchasedAxis_2CC50737609E5E2FFDE334FB2D6DF3E7" 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_048CF6F6BFEB73B2F29B34FB2D6DD3B4_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentByCategoryOfItemPurchasedAxis_2CC50737609E5E2FFDE334FB2D6DF3E7" xlink:to="loc_us-gaap_LongTermPurchaseCommitmentCategoryOfItemPurchasedDomain_048CF6F6BFEB73B2F29B34FB2D6DD3B4_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_048CF6F6BFEB73B2F29B34FB2D6DD3B4" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentByCategoryOfItemPurchasedAxis_2CC50737609E5E2FFDE334FB2D6DF3E7" xlink:to="loc_us-gaap_LongTermPurchaseCommitmentCategoryOfItemPurchasedDomain_048CF6F6BFEB73B2F29B34FB2D6DD3B4" 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_BCED1C57CF082C7D130634FB2D6D8DFB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentCategoryOfItemPurchasedDomain_048CF6F6BFEB73B2F29B34FB2D6DD3B4" xlink:to="loc_us-gaap_InventoriesMember_BCED1C57CF082C7D130634FB2D6D8DFB" 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_ECD72B82D251B2D60AF734FB2D6DAEA6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentLineItems_C8B3ED883BC49A3E327634FB2D6D92E0" xlink:to="loc_us-gaap_OperatingLeasesRentExpenseNet_ECD72B82D251B2D60AF734FB2D6DAEA6" 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_F513231816157FD106F634FB2D6D2D46" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentLineItems_C8B3ED883BC49A3E327634FB2D6D92E0" xlink:to="loc_us-gaap_SignificantPurchaseCommitmentRemainingMinimumAmountCommitted_F513231816157FD106F634FB2D6D2D46" 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_559A0A85520C661BCF6034FB2D6D277F" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentLineItems_C8B3ED883BC49A3E327634FB2D6D92E0" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent_559A0A85520C661BCF6034FB2D6D277F" 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_AA89053C58C9CF23F4DE34FB2D6D1CF9" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentLineItems_C8B3ED883BC49A3E327634FB2D6D92E0" xlink:to="loc_us-gaap_PurchaseObligationDueInNextTwelveMonths_AA89053C58C9CF23F4DE34FB2D6D1CF9" 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_4C9092FCAF464B668F4B34FB2B6530FF" 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_1727E9E4FDE61F434B6C34FB2B65001C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ExtinguishmentOfDebtLineItems_4C9092FCAF464B668F4B34FB2B6530FF" xlink:to="loc_us-gaap_ScheduleOfExtinguishmentOfDebtTable_1727E9E4FDE61F434B6C34FB2B65001C" 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_661DC12784355DDCBF5334FB2B657DE7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfExtinguishmentOfDebtTable_1727E9E4FDE61F434B6C34FB2B65001C" xlink:to="loc_us-gaap_ExtinguishmentOfDebtAxis_661DC12784355DDCBF5334FB2B657DE7" 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_23FD72105A8050C0A93F34FB2B650E81_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ExtinguishmentOfDebtAxis_661DC12784355DDCBF5334FB2B657DE7" xlink:to="loc_us-gaap_ExtinguishmentOfDebtTypeDomain_23FD72105A8050C0A93F34FB2B650E81_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_23FD72105A8050C0A93F34FB2B650E81" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ExtinguishmentOfDebtAxis_661DC12784355DDCBF5334FB2B657DE7" xlink:to="loc_us-gaap_ExtinguishmentOfDebtTypeDomain_23FD72105A8050C0A93F34FB2B650E81" 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_74E6409EA2A3658F3D8A34FB2B659DAF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ExtinguishmentOfDebtTypeDomain_23FD72105A8050C0A93F34FB2B650E81" xlink:to="loc_us-gaap_LongTermDebtMember_74E6409EA2A3658F3D8A34FB2B659DAF" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_HarrisSellersNoteMember" xlink:label="loc_oesx_HarrisSellersNoteMember_6117FDBB0D4813572FC534FB2B655D20" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ExtinguishmentOfDebtTypeDomain_23FD72105A8050C0A93F34FB2B650E81" xlink:to="loc_oesx_HarrisSellersNoteMember_6117FDBB0D4813572FC534FB2B655D20" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_CustomerEquipmentFinanceNotesPayableMember" xlink:label="loc_oesx_CustomerEquipmentFinanceNotesPayableMember_56305B60C7AC1A56895B34FB2B65E4E2" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ExtinguishmentOfDebtTypeDomain_23FD72105A8050C0A93F34FB2B650E81" xlink:to="loc_oesx_CustomerEquipmentFinanceNotesPayableMember_56305B60C7AC1A56895B34FB2B65E4E2" 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_7D53E0E1BC8D0BBE4A7234FB2B65C93E" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ExtinguishmentOfDebtTypeDomain_23FD72105A8050C0A93F34FB2B650E81" xlink:to="loc_us-gaap_FirstMortgageMember_7D53E0E1BC8D0BBE4A7234FB2B65C93E" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_DebenturePayableMember" xlink:label="loc_oesx_DebenturePayableMember_992D9D0B068B841C6F9C34FB2B65BD51" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ExtinguishmentOfDebtTypeDomain_23FD72105A8050C0A93F34FB2B650E81" xlink:to="loc_oesx_DebenturePayableMember_992D9D0B068B841C6F9C34FB2B65BD51" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_OtherLongTermDebtMember" xlink:label="loc_oesx_OtherLongTermDebtMember_016CA1B1B090789D49C434FB2B65D655" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ExtinguishmentOfDebtTypeDomain_23FD72105A8050C0A93F34FB2B650E81" xlink:to="loc_oesx_OtherLongTermDebtMember_016CA1B1B090789D49C434FB2B65D655" 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_38D3C31C41BDCA794F7634FB2B6573CE" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ExtinguishmentOfDebtLineItems_4C9092FCAF464B668F4B34FB2B6530FF" xlink:to="loc_us-gaap_LongTermDebtByCurrentAndNoncurrentAbstract_38D3C31C41BDCA794F7634FB2B6573CE" 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_E22F4E3BD6D2D87C351134FB2B65ED94" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermDebtByCurrentAndNoncurrentAbstract_38D3C31C41BDCA794F7634FB2B6573CE" xlink:to="loc_us-gaap_LongTermDebt_E22F4E3BD6D2D87C351134FB2B65ED94" 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_58828B5FB56DE980537234FB2B658195" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermDebtByCurrentAndNoncurrentAbstract_38D3C31C41BDCA794F7634FB2B6573CE" xlink:to="loc_us-gaap_LongTermDebtCurrent_58828B5FB56DE980537234FB2B658195" 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_AEBA33300F53B1231C0B34FB2B6565F0" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermDebtByCurrentAndNoncurrentAbstract_38D3C31C41BDCA794F7634FB2B6573CE" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_AEBA33300F53B1231C0B34FB2B6565F0" 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_BCE762D7168642E073C6FED2FF60AD36" 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_6EAE833A2BCF872D4B10FED2FF5E9689" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_BCE762D7168642E073C6FED2FF60AD36" xlink:to="loc_us-gaap_LineOfCreditFacilityTable_6EAE833A2BCF872D4B10FED2FF5E9689" 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_30C5354688A017F4BCDEFED2FF5EA819" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_6EAE833A2BCF872D4B10FED2FF5E9689" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_30C5354688A017F4BCDEFED2FF5EA819" 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_26551C531E58282779C0FED2FF5E940E_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_30C5354688A017F4BCDEFED2FF5EA819" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_26551C531E58282779C0FED2FF5E940E_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_26551C531E58282779C0FED2FF5E940E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_30C5354688A017F4BCDEFED2FF5EA819" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_26551C531E58282779C0FED2FF5E940E" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_HarrisSellersNoteMember" xlink:label="loc_oesx_HarrisSellersNoteMember_8FA3C7FB1E62ABDB256CFED2FF5E182D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_26551C531E58282779C0FED2FF5E940E" xlink:to="loc_oesx_HarrisSellersNoteMember_8FA3C7FB1E62ABDB256CFED2FF5E182D" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_VariableRateAxis" xlink:label="loc_oesx_VariableRateAxis_F40B427B782E7A8E6A46FED2FF5E65A7" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_6EAE833A2BCF872D4B10FED2FF5E9689" xlink:to="loc_oesx_VariableRateAxis_F40B427B782E7A8E6A46FED2FF5E65A7" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_VariableRateDomain" xlink:label="loc_oesx_VariableRateDomain_AC37BCCBE38BA9DE1BF3FED2FF5E9395_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_oesx_VariableRateAxis_F40B427B782E7A8E6A46FED2FF5E65A7" xlink:to="loc_oesx_VariableRateDomain_AC37BCCBE38BA9DE1BF3FED2FF5E9395_default" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_VariableRateDomain" xlink:label="loc_oesx_VariableRateDomain_AC37BCCBE38BA9DE1BF3FED2FF5E9395" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_oesx_VariableRateAxis_F40B427B782E7A8E6A46FED2FF5E65A7" xlink:to="loc_oesx_VariableRateDomain_AC37BCCBE38BA9DE1BF3FED2FF5E9395" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_LondonInterbankOfferedRateLiborMember" xlink:label="loc_oesx_LondonInterbankOfferedRateLiborMember_0F5A56B8500A67781586FED2FF5E66FF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_VariableRateDomain_AC37BCCBE38BA9DE1BF3FED2FF5E9395" xlink:to="loc_oesx_LondonInterbankOfferedRateLiborMember_0F5A56B8500A67781586FED2FF5E66FF" 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_450872278F9FB4A08C58FED2FF5F4DD3" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_6EAE833A2BCF872D4B10FED2FF5E9689" xlink:to="loc_us-gaap_CreditFacilityAxis_450872278F9FB4A08C58FED2FF5F4DD3" 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_973C40263998C3E33011FED2FF5F43F9_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_450872278F9FB4A08C58FED2FF5F4DD3" xlink:to="loc_us-gaap_CreditFacilityDomain_973C40263998C3E33011FED2FF5F43F9_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_973C40263998C3E33011FED2FF5F43F9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_450872278F9FB4A08C58FED2FF5F4DD3" xlink:to="loc_us-gaap_CreditFacilityDomain_973C40263998C3E33011FED2FF5F43F9" 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_AB0509BBBA0043E4B5B4FED2FF5FFF6A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_973C40263998C3E33011FED2FF5F43F9" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_AB0509BBBA0043E4B5B4FED2FF5FFF6A" 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_123C49D6DB378A92C0E2FED2FF5F952B" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_973C40263998C3E33011FED2FF5F43F9" xlink:to="loc_us-gaap_LineOfCreditMember_123C49D6DB378A92C0E2FED2FF5F952B" 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_BF025D5F1265C19697E0FED2FF5F9FB0" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_6EAE833A2BCF872D4B10FED2FF5E9689" xlink:to="loc_us-gaap_RangeAxis_BF025D5F1265C19697E0FED2FF5F9FB0" 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_4EA12313D813B233048CFED2FF5FFECB_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_BF025D5F1265C19697E0FED2FF5F9FB0" xlink:to="loc_us-gaap_RangeMember_4EA12313D813B233048CFED2FF5FFECB_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_4EA12313D813B233048CFED2FF5FFECB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_BF025D5F1265C19697E0FED2FF5F9FB0" xlink:to="loc_us-gaap_RangeMember_4EA12313D813B233048CFED2FF5FFECB" 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_721572B4E700B0A8EB24FED2FF5F0C58" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_4EA12313D813B233048CFED2FF5FFECB" xlink:to="loc_us-gaap_MinimumMember_721572B4E700B0A8EB24FED2FF5F0C58" 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_76D14D86658EA141F609FED2FF5F31EC" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_4EA12313D813B233048CFED2FF5FFECB" xlink:to="loc_us-gaap_MaximumMember_76D14D86658EA141F609FED2FF5F31EC" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_DebtTextualAbstract" xlink:label="loc_oesx_DebtTextualAbstract_9390D28B621FA8CCF694FED2FF603057" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_BCE762D7168642E073C6FED2FF60AD36" xlink:to="loc_oesx_DebtTextualAbstract_9390D28B621FA8CCF694FED2FF603057" 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_DE0D034F0AADD6B73DC9FED2FF60E223" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_DebtTextualAbstract_9390D28B621FA8CCF694FED2FF603057" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_DE0D034F0AADD6B73DC9FED2FF60E223" 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_AC53B612CF7202EC2187FED2FF604C29" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_DebtTextualAbstract_9390D28B621FA8CCF694FED2FF603057" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_AC53B612CF7202EC2187FED2FF604C29" 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_9752ADA3A5547D6CD029FED2FF600890" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_DebtTextualAbstract_9390D28B621FA8CCF694FED2FF603057" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_9752ADA3A5547D6CD029FED2FF600890" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_LineOfCreditFacilityMaximumBorrowingCapacityNotSubjectToBorrowingBase" xlink:label="loc_oesx_LineOfCreditFacilityMaximumBorrowingCapacityNotSubjectToBorrowingBase_18875D9A33C98AFF45ADFED2FF60557E" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_DebtTextualAbstract_9390D28B621FA8CCF694FED2FF603057" xlink:to="loc_oesx_LineOfCreditFacilityMaximumBorrowingCapacityNotSubjectToBorrowingBase_18875D9A33C98AFF45ADFED2FF60557E" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_LineOfCreditFacilityBorrowingBaseRequirementLimitOnLettersOfCredit" xlink:label="loc_oesx_LineOfCreditFacilityBorrowingBaseRequirementLimitOnLettersOfCredit_71A765E4F9E3A95CB586FED2FF60C159" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_DebtTextualAbstract_9390D28B621FA8CCF694FED2FF603057" xlink:to="loc_oesx_LineOfCreditFacilityBorrowingBaseRequirementLimitOnLettersOfCredit_71A765E4F9E3A95CB586FED2FF60C159" 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_B1E580B38D2A8BF4B114FED2FF60C07C" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_DebtTextualAbstract_9390D28B621FA8CCF694FED2FF603057" xlink:to="loc_us-gaap_LettersOfCreditOutstandingAmount_B1E580B38D2A8BF4B114FED2FF60C07C" 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_D53CBFBEF99F9DD2BA75FED2FF6073B8" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_DebtTextualAbstract_9390D28B621FA8CCF694FED2FF603057" xlink:to="loc_us-gaap_LineOfCreditFacilityAmountOutstanding_D53CBFBEF99F9DD2BA75FED2FF6073B8" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_LiabilitiesToNetworthRatioMinimum" xlink:label="loc_oesx_LiabilitiesToNetworthRatioMinimum_F442152034B8F77F7EDEFED2FF6185CB" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_DebtTextualAbstract_9390D28B621FA8CCF694FED2FF603057" xlink:to="loc_oesx_LiabilitiesToNetworthRatioMinimum_F442152034B8F77F7EDEFED2FF6185CB" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_LineOfCreditFacilityCovenantTermsAverageDailyUnencumberedLiquidityRequired" xlink:label="loc_oesx_LineOfCreditFacilityCovenantTermsAverageDailyUnencumberedLiquidityRequired_92E4A8E71E06DF19F545FED2FF612CAE" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_DebtTextualAbstract_9390D28B621FA8CCF694FED2FF603057" xlink:to="loc_oesx_LineOfCreditFacilityCovenantTermsAverageDailyUnencumberedLiquidityRequired_92E4A8E71E06DF19F545FED2FF612CAE" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_LineofCreditFacilityCovenantTermsNumberofConsecutiveBusinessDaysDuringEachPeriodofAverageDailyUnencumberedLiquidityRequired" xlink:label="loc_oesx_LineofCreditFacilityCovenantTermsNumberofConsecutiveBusinessDaysDuringEachPeriodofAverageDailyUnencumberedLiquidityRequired_33BA0D7BBD5CCCA0B9D0FED2FF61584F" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_DebtTextualAbstract_9390D28B621FA8CCF694FED2FF603057" xlink:to="loc_oesx_LineofCreditFacilityCovenantTermsNumberofConsecutiveBusinessDaysDuringEachPeriodofAverageDailyUnencumberedLiquidityRequired_33BA0D7BBD5CCCA0B9D0FED2FF61584F" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_DebtServiceCoverageRatioMinimum" xlink:label="loc_oesx_DebtServiceCoverageRatioMinimum_D19F8A919D13B860A63EFED2FF619FAC" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_DebtTextualAbstract_9390D28B621FA8CCF694FED2FF603057" xlink:to="loc_oesx_DebtServiceCoverageRatioMinimum_D19F8A919D13B860A63EFED2FF619FAC" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_FundedDebttoEBITDARatioMinimum" xlink:label="loc_oesx_FundedDebttoEBITDARatioMinimum_25DC222DEC5A1A54D959FED2FF6192F0" xlink:type="locator" />
    <definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_DebtTextualAbstract_9390D28B621FA8CCF694FED2FF603057" xlink:to="loc_oesx_FundedDebttoEBITDARatioMinimum_25DC222DEC5A1A54D959FED2FF6192F0" 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_5D508B07A1826E60A025FED2FF61B7E6" xlink:type="locator" />
    <definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_DebtTextualAbstract_9390D28B621FA8CCF694FED2FF603057" xlink:to="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate_5D508B07A1826E60A025FED2FF61B7E6" 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_B3C24C734188DF93A145FED2FF617F20" xlink:type="locator" />
    <definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_DebtTextualAbstract_9390D28B621FA8CCF694FED2FF603057" xlink:to="loc_us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_B3C24C734188DF93A145FED2FF617F20" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_LineOfCreditFacilityCustomerContractsPledgedAsCollateral" xlink:label="loc_oesx_LineOfCreditFacilityCustomerContractsPledgedAsCollateral_84126FD105389ADB15E7FED2FF61ACA2" xlink:type="locator" />
    <definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_DebtTextualAbstract_9390D28B621FA8CCF694FED2FF603057" xlink:to="loc_oesx_LineOfCreditFacilityCustomerContractsPledgedAsCollateral_84126FD105389ADB15E7FED2FF61ACA2" 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_4C6A69EB7915BEB296BD34FB2BA177AE" 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_4482410521BCFE07CFAE34FB2BA1DFE9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_4C6A69EB7915BEB296BD34FB2BA177AE" xlink:to="loc_us-gaap_OperatingLossCarryforwardsTable_4482410521BCFE07CFAE34FB2BA1DFE9" 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_1B63C58E6A69C68A71BF34FB2BA181AC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OperatingLossCarryforwardsTable_4482410521BCFE07CFAE34FB2BA1DFE9" xlink:to="loc_us-gaap_IncomeTaxAuthorityAxis_1B63C58E6A69C68A71BF34FB2BA181AC" 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_04CC8211FF8F2805B43634FB2BA17582_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_1B63C58E6A69C68A71BF34FB2BA181AC" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_04CC8211FF8F2805B43634FB2BA17582_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_04CC8211FF8F2805B43634FB2BA17582" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_1B63C58E6A69C68A71BF34FB2BA181AC" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_04CC8211FF8F2805B43634FB2BA17582" 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_9892FE1493ACB37E0CC234FB2BA1038A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_04CC8211FF8F2805B43634FB2BA17582" xlink:to="loc_us-gaap_DomesticCountryMember_9892FE1493ACB37E0CC234FB2BA1038A" 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_1AA8022A39C8B811D02234FB2BA17E64" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_04CC8211FF8F2805B43634FB2BA17582" xlink:to="loc_us-gaap_StateAndLocalJurisdictionMember_1AA8022A39C8B811D02234FB2BA17E64" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_IncomeTaxTextualAbstract" xlink:label="loc_oesx_IncomeTaxTextualAbstract_85B26C1F6D0DE497293A34FB2BA11B48" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_4C6A69EB7915BEB296BD34FB2BA177AE" xlink:to="loc_oesx_IncomeTaxTextualAbstract_85B26C1F6D0DE497293A34FB2BA11B48" 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_D9EF3B70CA4F5595252334FB2BA17FD8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_IncomeTaxTextualAbstract_85B26C1F6D0DE497293A34FB2BA11B48" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_D9EF3B70CA4F5595252334FB2BA17FD8" 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_ABF5AEFA29C368BA08BD34FB2BA132A4" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_IncomeTaxTextualAbstract_85B26C1F6D0DE497293A34FB2BA11B48" xlink:to="loc_us-gaap_DeferredTaxesBusinessCombinationValuationAllowanceAvailableToReduceIncomeTaxExpense_ABF5AEFA29C368BA08BD34FB2BA132A4" 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_FB1025820065660DD77834FB2BA1B53C" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_IncomeTaxTextualAbstract_85B26C1F6D0DE497293A34FB2BA11B48" xlink:to="loc_us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount_FB1025820065660DD77834FB2BA1B53C" 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_D12BF8E0AB020EE9F18F34FB2BA1E0E8" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_IncomeTaxTextualAbstract_85B26C1F6D0DE497293A34FB2BA11B48" xlink:to="loc_us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities_D12BF8E0AB020EE9F18F34FB2BA1E0E8" 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_402CD6EC80DFEE08A7D234FB2BA1EBDC" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_IncomeTaxTextualAbstract_85B26C1F6D0DE497293A34FB2BA11B48" xlink:to="loc_us-gaap_OperatingLossCarryforwards_402CD6EC80DFEE08A7D234FB2BA1EBDC" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_OperatingLossCarryforwardsAssociatedWithExerciseOfNonQualifiedStockOptions" xlink:label="loc_oesx_OperatingLossCarryforwardsAssociatedWithExerciseOfNonQualifiedStockOptions_7024D0AF86304B9561EA34FB2BA1FE9F" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_IncomeTaxTextualAbstract_85B26C1F6D0DE497293A34FB2BA11B48" xlink:to="loc_oesx_OperatingLossCarryforwardsAssociatedWithExerciseOfNonQualifiedStockOptions_7024D0AF86304B9561EA34FB2BA1FE9F" 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_2A385F905D76478EC5AD34FB2BA10332" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_IncomeTaxTextualAbstract_85B26C1F6D0DE497293A34FB2BA11B48" xlink:to="loc_us-gaap_TaxCreditCarryforwardAmount_2A385F905D76478EC5AD34FB2BA10332" 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_6B9878A982E059238BD834FB2BA11C75" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_IncomeTaxTextualAbstract_85B26C1F6D0DE497293A34FB2BA11B48" xlink:to="loc_us-gaap_UnrecognizedTaxBenefits_6B9878A982E059238BD834FB2BA11C75" 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_3B9747203BB372A0099134FB2A4D1D99" 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_E5CC37A778E7E6114A5534FB2A4DE4F4" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_3B9747203BB372A0099134FB2A4D1D99" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_E5CC37A778E7E6114A5534FB2A4DE4F4" 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_1ABF993F9D74A435B8F834FB2A4D92ED" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_E5CC37A778E7E6114A5534FB2A4DE4F4" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_1ABF993F9D74A435B8F834FB2A4D92ED" 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_A504FAD39270DF6CC03F34FB2A4DA006_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_1ABF993F9D74A435B8F834FB2A4D92ED" xlink:to="loc_us-gaap_SegmentDomain_A504FAD39270DF6CC03F34FB2A4DA006_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_A504FAD39270DF6CC03F34FB2A4DA006" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_1ABF993F9D74A435B8F834FB2A4D92ED" xlink:to="loc_us-gaap_SegmentDomain_A504FAD39270DF6CC03F34FB2A4DA006" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_EnergyManagementMember" xlink:label="loc_oesx_EnergyManagementMember_7B8C287E330F9AD15CC134FB2A4D0A21" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_A504FAD39270DF6CC03F34FB2A4DA006" xlink:to="loc_oesx_EnergyManagementMember_7B8C287E330F9AD15CC134FB2A4D0A21" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_EngineeredSystemsMember" xlink:label="loc_oesx_EngineeredSystemsMember_8FE06585600ADB706E8834FB2A4D7861" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_A504FAD39270DF6CC03F34FB2A4DA006" xlink:to="loc_oesx_EngineeredSystemsMember_8FE06585600ADB706E8834FB2A4D7861" 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_A93B89B6F57754ED38B334FB2A4D4CD2" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_A504FAD39270DF6CC03F34FB2A4DA006" xlink:to="loc_us-gaap_CorporateAndOtherMember_A93B89B6F57754ED38B334FB2A4D4CD2" 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_070EDC0C7A547B015F0E34FB2A4D3D34" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_3B9747203BB372A0099134FB2A4D1D99" xlink:to="loc_us-gaap_SegmentReportingInformationRevenueAbstract_070EDC0C7A547B015F0E34FB2A4D3D34" 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_D643995B4FFB484FBDAF34FB2A4DDEB1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationRevenueAbstract_070EDC0C7A547B015F0E34FB2A4D3D34" xlink:to="loc_us-gaap_Revenues_D643995B4FFB484FBDAF34FB2A4DDEB1" 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_4BE746785F6E44E2DA5B34FB2A4D657E" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationRevenueAbstract_070EDC0C7A547B015F0E34FB2A4D3D34" xlink:to="loc_us-gaap_OperatingIncomeLoss_4BE746785F6E44E2DA5B34FB2A4D657E" 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_48E45B4AFB6169D4E08E34FB2BE75177" 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_3B2EFB4FB22276C205AC34FB2BE75FBB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_48E45B4AFB6169D4E08E34FB2BE75177" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_3B2EFB4FB22276C205AC34FB2BE75FBB" 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_2F262129F9E810F73A2934FB2BE76DA8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_3B2EFB4FB22276C205AC34FB2BE75FBB" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_2F262129F9E810F73A2934FB2BE76DA8" 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_CA44D0EDD486471566D234FB2BE72A13_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_2F262129F9E810F73A2934FB2BE76DA8" xlink:to="loc_us-gaap_SegmentDomain_CA44D0EDD486471566D234FB2BE72A13_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_CA44D0EDD486471566D234FB2BE72A13" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_2F262129F9E810F73A2934FB2BE76DA8" xlink:to="loc_us-gaap_SegmentDomain_CA44D0EDD486471566D234FB2BE72A13" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_EnergyManagementMember" xlink:label="loc_oesx_EnergyManagementMember_0B82C59F1BEC5A6569CF34FB2BE712F9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_CA44D0EDD486471566D234FB2BE72A13" xlink:to="loc_oesx_EnergyManagementMember_0B82C59F1BEC5A6569CF34FB2BE712F9" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_EngineeredSystemsMember" xlink:label="loc_oesx_EngineeredSystemsMember_251A2B1A5D84402E8EF034FB2BE7948A" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_CA44D0EDD486471566D234FB2BE72A13" xlink:to="loc_oesx_EngineeredSystemsMember_251A2B1A5D84402E8EF034FB2BE7948A" 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_8F890BECAD5EBACB4BCC34FB2BE7B29E" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_CA44D0EDD486471566D234FB2BE72A13" xlink:to="loc_us-gaap_CorporateAndOtherMember_8F890BECAD5EBACB4BCC34FB2BE7B29E" 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_C04815C339682374EF1634FB2BE7B2E5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_48E45B4AFB6169D4E08E34FB2BE75177" xlink:to="loc_us-gaap_SegmentReportingInformationRevenueAbstract_C04815C339682374EF1634FB2BE7B2E5" 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_7F3581C3A35CE9C59F4434FB2BE76462" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationRevenueAbstract_C04815C339682374EF1634FB2BE7B2E5" xlink:to="loc_us-gaap_Assets_7F3581C3A35CE9C59F4434FB2BE76462" 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_EE034E5E30C8E251183734FB2BE74796" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationRevenueAbstract_C04815C339682374EF1634FB2BE7B2E5" xlink:to="loc_us-gaap_DeferredRevenue_EE034E5E30C8E251183734FB2BE74796" 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_5E4DFEBDF719D4C1AC9134FB2D09922F" 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_7B54562B894816C0B5A234FB2D09B2B2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EmployeeStockOwnershipPlanESOPDisclosuresLineItems_5E4DFEBDF719D4C1AC9134FB2D09922F" xlink:to="loc_us-gaap_ScheduleOfEmployeeStockOwnershipPlanESOPDisclosuresTable_7B54562B894816C0B5A234FB2D09B2B2" 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_E9F991E791B591823C6334FB2D09593D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEmployeeStockOwnershipPlanESOPDisclosuresTable_7B54562B894816C0B5A234FB2D09B2B2" xlink:to="loc_us-gaap_RangeAxis_E9F991E791B591823C6334FB2D09593D" 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_0FD15D6F8A8498B049CE34FB2D09415A_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_E9F991E791B591823C6334FB2D09593D" xlink:to="loc_us-gaap_RangeMember_0FD15D6F8A8498B049CE34FB2D09415A_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_0FD15D6F8A8498B049CE34FB2D09415A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_E9F991E791B591823C6334FB2D09593D" xlink:to="loc_us-gaap_RangeMember_0FD15D6F8A8498B049CE34FB2D09415A" 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_90E38EAC5273065789B034FB2D09D2F4" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_0FD15D6F8A8498B049CE34FB2D09415A" xlink:to="loc_us-gaap_MinimumMember_90E38EAC5273065789B034FB2D09D2F4" 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_2F58861D88EC4370B72834FB2D09952D" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_0FD15D6F8A8498B049CE34FB2D09415A" xlink:to="loc_us-gaap_MaximumMember_2F58861D88EC4370B72834FB2D09952D" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_SummaryOfIssuanceOfStockUnderEmployeeStockOwnershipPlanAbstract" xlink:label="loc_oesx_SummaryOfIssuanceOfStockUnderEmployeeStockOwnershipPlanAbstract_611A8830D79061AB0F2934FB2D0950C6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeStockOwnershipPlanESOPDisclosuresLineItems_5E4DFEBDF719D4C1AC9134FB2D09922F" xlink:to="loc_oesx_SummaryOfIssuanceOfStockUnderEmployeeStockOwnershipPlanAbstract_611A8830D79061AB0F2934FB2D0950C6" 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_5DDE4BA9E52BA9B3E8BA34FB2D0986D2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_SummaryOfIssuanceOfStockUnderEmployeeStockOwnershipPlanAbstract_611A8830D79061AB0F2934FB2D0950C6" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_5DDE4BA9E52BA9B3E8BA34FB2D0986D2" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_EmployeeStockPurchasePlanClosingMarketPriceOfSharesPurchased" xlink:label="loc_oesx_EmployeeStockPurchasePlanClosingMarketPriceOfSharesPurchased_95A7864D159DFA3A5C0C34FB2D0945BF" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_SummaryOfIssuanceOfStockUnderEmployeeStockOwnershipPlanAbstract_611A8830D79061AB0F2934FB2D0950C6" xlink:to="loc_oesx_EmployeeStockPurchasePlanClosingMarketPriceOfSharesPurchased_95A7864D159DFA3A5C0C34FB2D0945BF" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_EmployeeStockPurchasePlansWeightedAveragePurchasePriceOfSharesPurchasedNet" xlink:label="loc_oesx_EmployeeStockPurchasePlansWeightedAveragePurchasePriceOfSharesPurchasedNet_E68D52F461CC718A29BD34FB2D09DFE0" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_SummaryOfIssuanceOfStockUnderEmployeeStockOwnershipPlanAbstract_611A8830D79061AB0F2934FB2D0950C6" xlink:to="loc_oesx_EmployeeStockPurchasePlansWeightedAveragePurchasePriceOfSharesPurchasedNet_E68D52F461CC718A29BD34FB2D09DFE0" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_EmployeeStockPurchasePlansDebtStructureSharesIssued" xlink:label="loc_oesx_EmployeeStockPurchasePlansDebtStructureSharesIssued_F595B6B5716CF7A3C5F234FB2D09FB0C" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_SummaryOfIssuanceOfStockUnderEmployeeStockOwnershipPlanAbstract_611A8830D79061AB0F2934FB2D0950C6" xlink:to="loc_oesx_EmployeeStockPurchasePlansDebtStructureSharesIssued_F595B6B5716CF7A3C5F234FB2D09FB0C" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_EmployeeStockPurchasePlansDebtStructureSharesIssuedNet" xlink:label="loc_oesx_EmployeeStockPurchasePlansDebtStructureSharesIssuedNet_97EF74A900768512082934FB2D090B62" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_SummaryOfIssuanceOfStockUnderEmployeeStockOwnershipPlanAbstract_611A8830D79061AB0F2934FB2D0950C6" xlink:to="loc_oesx_EmployeeStockPurchasePlansDebtStructureSharesIssuedNet_97EF74A900768512082934FB2D090B62" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_EmployeeStockPurchasePlansDebtStructureDirectLoanAmount" xlink:label="loc_oesx_EmployeeStockPurchasePlansDebtStructureDirectLoanAmount_C2DD477B0B92ED080B1A34FB2D09DFCE" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_SummaryOfIssuanceOfStockUnderEmployeeStockOwnershipPlanAbstract_611A8830D79061AB0F2934FB2D0950C6" xlink:to="loc_oesx_EmployeeStockPurchasePlansDebtStructureDirectLoanAmount_C2DD477B0B92ED080B1A34FB2D09DFCE" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_EmployeeStockPurchasePlansDebtStructureDirectLoanAmountNet" xlink:label="loc_oesx_EmployeeStockPurchasePlansDebtStructureDirectLoanAmountNet_CDACF2D10A8435AC133734FB2D13AA11" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_SummaryOfIssuanceOfStockUnderEmployeeStockOwnershipPlanAbstract_611A8830D79061AB0F2934FB2D0950C6" xlink:to="loc_oesx_EmployeeStockPurchasePlansDebtStructureDirectLoanAmountNet_CDACF2D10A8435AC133734FB2D13AA11" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_EmployeeStockPurchasePlansDebtStructureDirectLoanRepaymentAmount" xlink:label="loc_oesx_EmployeeStockPurchasePlansDebtStructureDirectLoanRepaymentAmount_C97AD05427AF3E58A31B34FB2D1339F6" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_SummaryOfIssuanceOfStockUnderEmployeeStockOwnershipPlanAbstract_611A8830D79061AB0F2934FB2D0950C6" xlink:to="loc_oesx_EmployeeStockPurchasePlansDebtStructureDirectLoanRepaymentAmount_C97AD05427AF3E58A31B34FB2D1339F6" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_EmployeeStockPurchasePlansDebtStructureDirectLoanRepaymentAmountNet" xlink:label="loc_oesx_EmployeeStockPurchasePlansDebtStructureDirectLoanRepaymentAmountNet_B19FCBCCFB7BDBEFEA1934FB2D136555" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_SummaryOfIssuanceOfStockUnderEmployeeStockOwnershipPlanAbstract_611A8830D79061AB0F2934FB2D0950C6" xlink:to="loc_oesx_EmployeeStockPurchasePlansDebtStructureDirectLoanRepaymentAmountNet_B19FCBCCFB7BDBEFEA1934FB2D136555" 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_9087C4B4A97A1C1F051B34FB2B517B51" 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_E474AE7AED28803D80E234FB2B516CFA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EquityClassOfTreasuryStockLineItems_9087C4B4A97A1C1F051B34FB2B517B51" xlink:to="loc_us-gaap_ClassOfTreasuryStockTable_E474AE7AED28803D80E234FB2B516CFA" 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_DC9EF447C024A50F658234FB2B51ABDF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ClassOfTreasuryStockTable_E474AE7AED28803D80E234FB2B516CFA" xlink:to="loc_us-gaap_ShareRepurchaseProgramAxis_DC9EF447C024A50F658234FB2B51ABDF" 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_E54DB7F87999E4F0A2B234FB2B51AD5A_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ShareRepurchaseProgramAxis_DC9EF447C024A50F658234FB2B51ABDF" xlink:to="loc_us-gaap_ShareRepurchaseProgramDomain_E54DB7F87999E4F0A2B234FB2B51AD5A_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_E54DB7F87999E4F0A2B234FB2B51AD5A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ShareRepurchaseProgramAxis_DC9EF447C024A50F658234FB2B51ABDF" xlink:to="loc_us-gaap_ShareRepurchaseProgramDomain_E54DB7F87999E4F0A2B234FB2B51AD5A" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_October2011Member" xlink:label="loc_oesx_October2011Member_F66C414828879CCAEF9B34FB2B51CBA9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareRepurchaseProgramDomain_E54DB7F87999E4F0A2B234FB2B51AD5A" xlink:to="loc_oesx_October2011Member_F66C414828879CCAEF9B34FB2B51CBA9" 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_0D716AB10858617D754A34FB2B519F23" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityClassOfTreasuryStockLineItems_9087C4B4A97A1C1F051B34FB2B517B51" xlink:to="loc_us-gaap_StockRepurchaseProgramAuthorizedAmount_0D716AB10858617D754A34FB2B519F23" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_StockRepurchaseProgramIncreaseInAuthorizedRepurchaseAmount" xlink:label="loc_oesx_StockRepurchaseProgramIncreaseInAuthorizedRepurchaseAmount_E354D629A70EBEB44BCA34FB2B518C5E" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityClassOfTreasuryStockLineItems_9087C4B4A97A1C1F051B34FB2B517B51" xlink:to="loc_oesx_StockRepurchaseProgramIncreaseInAuthorizedRepurchaseAmount_E354D629A70EBEB44BCA34FB2B518C5E" 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_6A7F9B5B7A017C5BFE3634FB2B519542" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityClassOfTreasuryStockLineItems_9087C4B4A97A1C1F051B34FB2B517B51" xlink:to="loc_us-gaap_TreasuryStockSharesAcquired_6A7F9B5B7A017C5BFE3634FB2B519542" 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_63B0D0B7A5C707A2F2C734FB2B514AF7" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityClassOfTreasuryStockLineItems_9087C4B4A97A1C1F051B34FB2B517B51" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_63B0D0B7A5C707A2F2C734FB2B514AF7" 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_FEBAD5EE8EBA1983C5A734FB2D31462E" 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_DB727F51BE2D9ACE204634FB2D313EA0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_FEBAD5EE8EBA1983C5A734FB2D31462E" xlink:to="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_DB727F51BE2D9ACE204634FB2D313EA0" 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_AA0E34D0D0A6E91126A334FB2D315239" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_DB727F51BE2D9ACE204634FB2D313EA0" xlink:to="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsByReportLineAxis_AA0E34D0D0A6E91126A334FB2D315239" 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_E0749C2DCCCF5518C9E734FB2D316D8E_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsByReportLineAxis_AA0E34D0D0A6E91126A334FB2D315239" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsReportLineDomain_E0749C2DCCCF5518C9E734FB2D316D8E_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_E0749C2DCCCF5518C9E734FB2D316D8E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsByReportLineAxis_AA0E34D0D0A6E91126A334FB2D315239" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsReportLineDomain_E0749C2DCCCF5518C9E734FB2D316D8E" 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_884A8352EA891D83C3BE34FB2D31662A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsReportLineDomain_E0749C2DCCCF5518C9E734FB2D316D8E" xlink:to="loc_us-gaap_CostOfSalesMember_884A8352EA891D83C3BE34FB2D31662A" 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_62292A6640970B03F34234FB2D3114B5" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsReportLineDomain_E0749C2DCCCF5518C9E734FB2D316D8E" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpenseMember_62292A6640970B03F34234FB2D3114B5" 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_14DED2DB07007252D84434FB2D316EDB" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsReportLineDomain_E0749C2DCCCF5518C9E734FB2D316D8E" xlink:to="loc_us-gaap_SellingAndMarketingExpenseMember_14DED2DB07007252D84434FB2D316EDB" 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_789A8B892A0D1796AEB934FB2D31E118" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsReportLineDomain_E0749C2DCCCF5518C9E734FB2D316D8E" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpenseMember_789A8B892A0D1796AEB934FB2D31E118" 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_86078BB13B01226CD19E34FB2D31327A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_FEBAD5EE8EBA1983C5A734FB2D31462E" xlink:to="loc_us-gaap_ShareBasedCompensationAllocationAndClassificationInFinancialStatementsAbstract_86078BB13B01226CD19E34FB2D31327A" 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_424D0FF3CA41432DCDA134FB2D3140D2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationAllocationAndClassificationInFinancialStatementsAbstract_86078BB13B01226CD19E34FB2D31327A" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_424D0FF3CA41432DCDA134FB2D3140D2" 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_9C3A4E1CA0826D4F451E34FB2B15678E" 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_FA07C49B9CCCA9AB7A1E34FB2B15612B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_9C3A4E1CA0826D4F451E34FB2B15678E" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_FA07C49B9CCCA9AB7A1E34FB2B15612B" 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_05976EBCECBB6112EEA934FB2B15233E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_FA07C49B9CCCA9AB7A1E34FB2B15612B" xlink:to="loc_us-gaap_AwardTypeAxis_05976EBCECBB6112EEA934FB2B15233E" 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_44ADD50ACB9DC63D44A034FB2B15BAE0_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_05976EBCECBB6112EEA934FB2B15233E" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_44ADD50ACB9DC63D44A034FB2B15BAE0_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_44ADD50ACB9DC63D44A034FB2B15BAE0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_05976EBCECBB6112EEA934FB2B15233E" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_44ADD50ACB9DC63D44A034FB2B15BAE0" 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_0AB06E07ED926C3897F634FB2B153AB2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_44ADD50ACB9DC63D44A034FB2B15BAE0" xlink:to="loc_us-gaap_StockOptionsMember_0AB06E07ED926C3897F634FB2B153AB2" 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_EF91A4A61AA8A08E714B34FB2B15F443" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_44ADD50ACB9DC63D44A034FB2B15BAE0" xlink:to="loc_us-gaap_RestrictedStockMember_EF91A4A61AA8A08E714B34FB2B15F443" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrantRollForward" xlink:label="loc_oesx_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrantRollForward_FFB63ED23F4294AFC10F34FB2B1FEF8B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_9C3A4E1CA0826D4F451E34FB2B15678E" xlink:to="loc_oesx_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrantRollForward_FFB63ED23F4294AFC10F34FB2B1FEF8B" 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_60535CD03A2E29AA664034FB2B1FD6E3" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrantRollForward_FFB63ED23F4294AFC10F34FB2B1FEF8B" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_60535CD03A2E29AA664034FB2B1FD6E3" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrantSharesIssuedToEmployee" xlink:label="loc_oesx_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrantSharesIssuedToEmployee_0FAF799C2363C1E8A34E34FB2B1F3E20" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrantRollForward_FFB63ED23F4294AFC10F34FB2B1FEF8B" xlink:to="loc_oesx_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrantSharesIssuedToEmployee_0FAF799C2363C1E8A34E34FB2B1F3E20" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrantSharesIssuedToNonEmployee" xlink:label="loc_oesx_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrantSharesIssuedToNonEmployee_1AF238462F4C2A89F3CD34FB2B1F5C76" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrantRollForward_FFB63ED23F4294AFC10F34FB2B1FEF8B" xlink:to="loc_oesx_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrantSharesIssuedToNonEmployee_1AF238462F4C2A89F3CD34FB2B1F5C76" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrantForfeited" xlink:label="loc_oesx_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrantForfeited_5BBBB4B86F074366A02434FB2B1FA7C6" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrantRollForward_FFB63ED23F4294AFC10F34FB2B1FEF8B" xlink:to="loc_oesx_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrantForfeited_5BBBB4B86F074366A02434FB2B1FA7C6" 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_6901CDB40404271767BE34FB2B1FF044" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_9C3A4E1CA0826D4F451E34FB2B15678E" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_6901CDB40404271767BE34FB2B1FF044" 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_025AC58CE9BAB430BA4834FB2B1FA9CC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_6901CDB40404271767BE34FB2B1FF044" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_025AC58CE9BAB430BA4834FB2B1FA9CC" 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_BBA36167FD5315A88CCA34FB2B1F4C33" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_6901CDB40404271767BE34FB2B1FF044" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_BBA36167FD5315A88CCA34FB2B1F4C33" 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_8F25C5C0694C7A54742A34FB2B1FD093" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_6901CDB40404271767BE34FB2B1FF044" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod_8F25C5C0694C7A54742A34FB2B1FD093" 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_91DAE6F3EC39FF1BCB6834FB2B1F80D9" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_6901CDB40404271767BE34FB2B1FF044" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_91DAE6F3EC39FF1BCB6834FB2B1F80D9" 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_534106D564307AB9C5CF34FB2B1F9B9F" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_9C3A4E1CA0826D4F451E34FB2B15678E" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber_534106D564307AB9C5CF34FB2B1F9B9F" 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_4C252DDE3B9B190817E934FB2B1F3F81" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_9C3A4E1CA0826D4F451E34FB2B15678E" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_4C252DDE3B9B190817E934FB2B1F3F81" 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_F2C03AB04B0DD53DE85234FB2B1F1545" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_4C252DDE3B9B190817E934FB2B1F3F81" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_F2C03AB04B0DD53DE85234FB2B1F1545" 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_064F185EABC3BE3E366D34FB2B1FCBD4" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_4C252DDE3B9B190817E934FB2B1F3F81" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice_064F185EABC3BE3E366D34FB2B1FCBD4" 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_216EF3A38F23C6A18DEA34FB2B1F99E2" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_4C252DDE3B9B190817E934FB2B1F3F81" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice_216EF3A38F23C6A18DEA34FB2B1F99E2" 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_736934D0D0A09AC6296D34FB2B1F2DC6" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_4C252DDE3B9B190817E934FB2B1F3F81" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice_736934D0D0A09AC6296D34FB2B1F2DC6" 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_53D780EDAD2B7900093D34FB2B1F5959" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_9C3A4E1CA0826D4F451E34FB2B15678E" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice_53D780EDAD2B7900093D34FB2B1F5959" 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_6CBC1485A8C0508C9D2934FB2B1F83AA" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_9C3A4E1CA0826D4F451E34FB2B15678E" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2_6CBC1485A8C0508C9D2934FB2B1F83AA" 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_4317D099934A6507125B34FB2B1FCDC6" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_9C3A4E1CA0826D4F451E34FB2B15678E" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1_4317D099934A6507125B34FB2B1FCDC6" 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_D77C8BE0E9EF33A6051534FB2B1F71FA" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_9C3A4E1CA0826D4F451E34FB2B15678E" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue_D77C8BE0E9EF33A6051534FB2B1F71FA" 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_9FDB930E7A433A627FA734FB2B1FB76D" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_9C3A4E1CA0826D4F451E34FB2B15678E" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1_9FDB930E7A433A627FA734FB2B1FB76D" 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_F6D3D8FE88FB1313054634FB2A1B577E" 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_ABFFAFB325DC2261B7C834FB2A1107BD" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_F6D3D8FE88FB1313054634FB2A1B577E" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_ABFFAFB325DC2261B7C834FB2A1107BD" 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_F0D4D8058C4715022DCB34FB2A11757C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_ABFFAFB325DC2261B7C834FB2A1107BD" xlink:to="loc_us-gaap_AwardTypeAxis_F0D4D8058C4715022DCB34FB2A11757C" 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_642AC3BB6E6ADF581ADD34FB2A1B8D23_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_F0D4D8058C4715022DCB34FB2A11757C" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_642AC3BB6E6ADF581ADD34FB2A1B8D23_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_642AC3BB6E6ADF581ADD34FB2A1B8D23" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_F0D4D8058C4715022DCB34FB2A11757C" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_642AC3BB6E6ADF581ADD34FB2A1B8D23" 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_534929E82A153ECEF2E434FB2A1BE9C2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_642AC3BB6E6ADF581ADD34FB2A1B8D23" xlink:to="loc_us-gaap_RestrictedStockMember_534929E82A153ECEF2E434FB2A1BE9C2" 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_4F289B97D56DE368612634FB2A1BFE0A" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_ABFFAFB325DC2261B7C834FB2A1107BD" xlink:to="loc_us-gaap_RangeAxis_4F289B97D56DE368612634FB2A1BFE0A" 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_C63B622CF926B54FD8D534FB2A1BC96C_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_4F289B97D56DE368612634FB2A1BFE0A" xlink:to="loc_us-gaap_RangeMember_C63B622CF926B54FD8D534FB2A1BC96C_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_C63B622CF926B54FD8D534FB2A1BC96C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_4F289B97D56DE368612634FB2A1BFE0A" xlink:to="loc_us-gaap_RangeMember_C63B622CF926B54FD8D534FB2A1BC96C" 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_3877A44467679B5123C834FB2A1B6F94" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_C63B622CF926B54FD8D534FB2A1BC96C" xlink:to="loc_us-gaap_MaximumMember_3877A44467679B5123C834FB2A1B6F94" 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_542C8938911A2AD0A42334FB2A1B2C82" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_C63B622CF926B54FD8D534FB2A1BC96C" xlink:to="loc_us-gaap_MinimumMember_542C8938911A2AD0A42334FB2A1B2C82" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_SharebasedCompensationArrangementByShareBasedPaymentAwardPerSharePrice" xlink:label="loc_oesx_SharebasedCompensationArrangementByShareBasedPaymentAwardPerSharePrice_29B6FA330A9AC56FEA3034FB2A1B54F1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_F6D3D8FE88FB1313054634FB2A1B577E" xlink:to="loc_oesx_SharebasedCompensationArrangementByShareBasedPaymentAwardPerSharePrice_29B6FA330A9AC56FEA3034FB2A1B54F1" 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_9ABF2F2517F68886A0C034FB2A1B64A9" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_F6D3D8FE88FB1313054634FB2A1B577E" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_9ABF2F2517F68886A0C034FB2A1B64A9" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_RestrictedSharesIssuedToKeyEmployeesAbstract" xlink:label="loc_oesx_RestrictedSharesIssuedToKeyEmployeesAbstract_FE646CD63AF2393C863334FB2A1B479B" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_F6D3D8FE88FB1313054634FB2A1B577E" xlink:to="loc_oesx_RestrictedSharesIssuedToKeyEmployeesAbstract_FE646CD63AF2393C863334FB2A1B479B" 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_44326BA118F6AE6A4FF834FB2A1BD9EA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_RestrictedSharesIssuedToKeyEmployeesAbstract_FE646CD63AF2393C863334FB2A1B479B" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_44326BA118F6AE6A4FF834FB2A1BD9EA" 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_03BD43A100F0CF1E804434FB2A1B2A19" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_RestrictedSharesIssuedToKeyEmployeesAbstract_FE646CD63AF2393C863334FB2A1B479B" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_03BD43A100F0CF1E804434FB2A1B2A19" 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_9E1A3DD73D7751839CCB34FB2A1B0170" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_RestrictedSharesIssuedToKeyEmployeesAbstract_FE646CD63AF2393C863334FB2A1B479B" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_9E1A3DD73D7751839CCB34FB2A1B0170" 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_6A61AE3672BDE9005D1E34FB2A25324A" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_RestrictedSharesIssuedToKeyEmployeesAbstract_FE646CD63AF2393C863334FB2A1B479B" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_6A61AE3672BDE9005D1E34FB2A25324A" 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_FC541530449AAE152B4DFED4834677CF" 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_807D4AF3EBA987791DEEFED483452493" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_FC541530449AAE152B4DFED4834677CF" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_807D4AF3EBA987791DEEFED483452493" 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_DE3C2CC9EF9A24E1EFFEFED483453D91" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_807D4AF3EBA987791DEEFED483452493" xlink:to="loc_us-gaap_AwardTypeAxis_DE3C2CC9EF9A24E1EFFEFED483453D91" 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_774127637724AEFDF720FED48345B7AB_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_DE3C2CC9EF9A24E1EFFEFED483453D91" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_774127637724AEFDF720FED48345B7AB_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_774127637724AEFDF720FED48345B7AB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_DE3C2CC9EF9A24E1EFFEFED483453D91" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_774127637724AEFDF720FED48345B7AB" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_NonEmployeeDirectorMember" xlink:label="loc_oesx_NonEmployeeDirectorMember_220122DB647C38F5AD58FED4834531AF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_774127637724AEFDF720FED48345B7AB" xlink:to="loc_oesx_NonEmployeeDirectorMember_220122DB647C38F5AD58FED4834531AF" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_ConsultantMember" xlink:label="loc_oesx_ConsultantMember_7A7C0E29F2498CE9C096FED483453B68" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_774127637724AEFDF720FED48345B7AB" xlink:to="loc_oesx_ConsultantMember_7A7C0E29F2498CE9C096FED483453B68" 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_C623984194C82B4EF30FFED48345F568" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_DE3C2CC9EF9A24E1EFFEFED483453D91" xlink:to="loc_us-gaap_RestrictedStockMember_C623984194C82B4EF30FFED48345F568" 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_3DD135CA65C6CB0BB22DFED48345543A" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_807D4AF3EBA987791DEEFED483452493" xlink:to="loc_us-gaap_PlanNameAxis_3DD135CA65C6CB0BB22DFED48345543A" 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_E666CC73B5A444AB9AFBFED48345841E_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_3DD135CA65C6CB0BB22DFED48345543A" xlink:to="loc_us-gaap_PlanNameDomain_E666CC73B5A444AB9AFBFED48345841E_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_E666CC73B5A444AB9AFBFED48345841E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_3DD135CA65C6CB0BB22DFED48345543A" xlink:to="loc_us-gaap_PlanNameDomain_E666CC73B5A444AB9AFBFED48345841E" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_TwoThousandThreeStockOptionMember" xlink:label="loc_oesx_TwoThousandThreeStockOptionMember_57B9A88E961093A2687BFED48346D66C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_E666CC73B5A444AB9AFBFED48345841E" xlink:to="loc_oesx_TwoThousandThreeStockOptionMember_57B9A88E961093A2687BFED48346D66C" 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_30D4AC64ED0529DAB4CEFED4834696FD" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_E666CC73B5A444AB9AFBFED48345841E" xlink:to="loc_us-gaap_RestrictedStockMember_30D4AC64ED0529DAB4CEFED4834696FD" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_TwoThousandFourStockAndIncentiveAndAwardPlanMember" xlink:label="loc_oesx_TwoThousandFourStockAndIncentiveAndAwardPlanMember_E67492A3D352F47904D1FED483463986" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_E666CC73B5A444AB9AFBFED48345841E" xlink:to="loc_oesx_TwoThousandFourStockAndIncentiveAndAwardPlanMember_E67492A3D352F47904D1FED483463986" 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_E59C81F2434005538C3FFED48346DBB5" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_807D4AF3EBA987791DEEFED483452493" xlink:to="loc_us-gaap_RangeAxis_E59C81F2434005538C3FFED48346DBB5" 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_BFC5821DF423D33B29D4FED483464FC8_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_E59C81F2434005538C3FFED48346DBB5" xlink:to="loc_us-gaap_RangeMember_BFC5821DF423D33B29D4FED483464FC8_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_BFC5821DF423D33B29D4FED483464FC8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_E59C81F2434005538C3FFED48346DBB5" xlink:to="loc_us-gaap_RangeMember_BFC5821DF423D33B29D4FED483464FC8" 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_3481ED804779248AC479FED483462C38" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_BFC5821DF423D33B29D4FED483464FC8" xlink:to="loc_us-gaap_MinimumMember_3481ED804779248AC479FED483462C38" 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_8E97FEBF419BDB94AFCAFED483465A64" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_BFC5821DF423D33B29D4FED483464FC8" xlink:to="loc_us-gaap_MaximumMember_8E97FEBF419BDB94AFCAFED483465A64" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_StockOptionsRestrictedSharesAndWarrantsTextualAbstract" xlink:label="loc_oesx_StockOptionsRestrictedSharesAndWarrantsTextualAbstract_D46ED1CC44E6CA72DC6DFED4834780B5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_FC541530449AAE152B4DFED4834677CF" xlink:to="loc_oesx_StockOptionsRestrictedSharesAndWarrantsTextualAbstract_D46ED1CC44E6CA72DC6DFED4834780B5" 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_DFD4FE820855E5611CA5FED483470E69" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_StockOptionsRestrictedSharesAndWarrantsTextualAbstract_D46ED1CC44E6CA72DC6DFED4834780B5" xlink:to="loc_us-gaap_CommonStockCapitalSharesReservedForFutureIssuance_DFD4FE820855E5611CA5FED483470E69" 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_DDBDF77ECD339695A458FED48347B6C7" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_StockOptionsRestrictedSharesAndWarrantsTextualAbstract_D46ED1CC44E6CA72DC6DFED4834780B5" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_DDBDF77ECD339695A458FED48347B6C7" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_ShareBasedCompensationArrangementsByShareBasedPaymentsAwardOptionMaximumLife" xlink:label="loc_oesx_ShareBasedCompensationArrangementsByShareBasedPaymentsAwardOptionMaximumLife_1050B8948EF2DD9852B2FED48347B476" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_StockOptionsRestrictedSharesAndWarrantsTextualAbstract_D46ED1CC44E6CA72DC6DFED4834780B5" xlink:to="loc_oesx_ShareBasedCompensationArrangementsByShareBasedPaymentsAwardOptionMaximumLife_1050B8948EF2DD9852B2FED48347B476" 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_9D38DDD7796EDD0B8186FED48347470B" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_StockOptionsRestrictedSharesAndWarrantsTextualAbstract_D46ED1CC44E6CA72DC6DFED4834780B5" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesIssuedInPeriod_9D38DDD7796EDD0B8186FED48347470B" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_SharebasedCompensationArrangementByShareBasedPaymentAwardPerSharePrice" xlink:label="loc_oesx_SharebasedCompensationArrangementByShareBasedPaymentAwardPerSharePrice_CE3C74542ED979BED06CFED483477FF2" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_StockOptionsRestrictedSharesAndWarrantsTextualAbstract_D46ED1CC44E6CA72DC6DFED4834780B5" xlink:to="loc_oesx_SharebasedCompensationArrangementByShareBasedPaymentAwardPerSharePrice_CE3C74542ED979BED06CFED483477FF2" 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_0D8A0D6A458346A8A015FED48347341F" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_StockOptionsRestrictedSharesAndWarrantsTextualAbstract_D46ED1CC44E6CA72DC6DFED4834780B5" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_0D8A0D6A458346A8A015FED48347341F" 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_60D3BAD2836D1A2DB90FFED483473A5B" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_StockOptionsRestrictedSharesAndWarrantsTextualAbstract_D46ED1CC44E6CA72DC6DFED4834780B5" xlink:to="loc_us-gaap_ShareBasedGoodsAndNonemployeeServicesTransactionQuantityOfSecuritiesIssued_60D3BAD2836D1A2DB90FFED483473A5B" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_SharebasedGoodsandNonemployeeServicesTransactionSecuritiesIssuedValuationPricePerShare" xlink:label="loc_oesx_SharebasedGoodsandNonemployeeServicesTransactionSecuritiesIssuedValuationPricePerShare_5DD7F50CA105ABC315C8FED483476F20" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_StockOptionsRestrictedSharesAndWarrantsTextualAbstract_D46ED1CC44E6CA72DC6DFED4834780B5" xlink:to="loc_oesx_SharebasedGoodsandNonemployeeServicesTransactionSecuritiesIssuedValuationPricePerShare_5DD7F50CA105ABC315C8FED483476F20" 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_27BAF6A1AA3E6FEA1AA6FED483475030" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_StockOptionsRestrictedSharesAndWarrantsTextualAbstract_D46ED1CC44E6CA72DC6DFED4834780B5" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_27BAF6A1AA3E6FEA1AA6FED483475030" 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_D445C776F3E0C9E35D62FED483470AC3" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_StockOptionsRestrictedSharesAndWarrantsTextualAbstract_D46ED1CC44E6CA72DC6DFED4834780B5" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_D445C776F3E0C9E35D62FED483470AC3" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_FairValueOfClosingCommonStockPrice" xlink:label="loc_oesx_FairValueOfClosingCommonStockPrice_DAF46318D13D1D307D22FED483478875" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_StockOptionsRestrictedSharesAndWarrantsTextualAbstract_D46ED1CC44E6CA72DC6DFED4834780B5" xlink:to="loc_oesx_FairValueOfClosingCommonStockPrice_DAF46318D13D1D307D22FED483478875" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_DeferredCompensationArrangementWithIndividualCompensationExpensePeriodOfRecognition" xlink:label="loc_oesx_DeferredCompensationArrangementWithIndividualCompensationExpensePeriodOfRecognition_EE708378753B3026EC98FED483477665" xlink:type="locator" />
    <definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_StockOptionsRestrictedSharesAndWarrantsTextualAbstract_D46ED1CC44E6CA72DC6DFED4834780B5" xlink:to="loc_oesx_DeferredCompensationArrangementWithIndividualCompensationExpensePeriodOfRecognition_EE708378753B3026EC98FED483477665" 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_E595EFAF063B6AAEDAFEFED483485A54" xlink:type="locator" />
    <definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_StockOptionsRestrictedSharesAndWarrantsTextualAbstract_D46ED1CC44E6CA72DC6DFED4834780B5" xlink:to="loc_us-gaap_DeferredCompensationArrangementWithIndividualCompensationExpense_E595EFAF063B6AAEDAFEFED483485A54" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.oesx.com/role/StockOptionsRestrictedSharesAndWarrantsTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.oesx.com/role/SubsequentEvents" 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_26E382F4F9ECA53313030414DD2615F1" 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_AE381220675CCB1E14310414DD24FB40" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SubsequentEventLineItems_26E382F4F9ECA53313030414DD2615F1" xlink:to="loc_us-gaap_SubsequentEventTable_AE381220675CCB1E14310414DD24FB40" 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_8874DCA445AD65F3679E04467AB82CDE" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_AE381220675CCB1E14310414DD24FB40" xlink:to="loc_us-gaap_RangeAxis_8874DCA445AD65F3679E04467AB82CDE" 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_16C6015287B32BA9C68604467ABFD84A_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_8874DCA445AD65F3679E04467AB82CDE" xlink:to="loc_us-gaap_RangeMember_16C6015287B32BA9C68604467ABFD84A_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_16C6015287B32BA9C68604467ABFD84A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_8874DCA445AD65F3679E04467AB82CDE" xlink:to="loc_us-gaap_RangeMember_16C6015287B32BA9C68604467ABFD84A" 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_635CC36C0EC1C75720290446964D93FB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_16C6015287B32BA9C68604467ABFD84A" xlink:to="loc_us-gaap_MaximumMember_635CC36C0EC1C75720290446964D93FB" xlink:type="arc" />
    <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_261E5AC71D3D2477C3AA0414DD25589E" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_AE381220675CCB1E14310414DD24FB40" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_261E5AC71D3D2477C3AA0414DD25589E" 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_BC0840BF51D939AD441F0414DD2551F3_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_261E5AC71D3D2477C3AA0414DD25589E" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_BC0840BF51D939AD441F0414DD2551F3_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_BC0840BF51D939AD441F0414DD2551F3" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_261E5AC71D3D2477C3AA0414DD25589E" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_BC0840BF51D939AD441F0414DD2551F3" 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_B618DBC39A2D13EC77D50414DD258C2B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_BC0840BF51D939AD441F0414DD2551F3" xlink:to="loc_us-gaap_SubsequentEventMember_B618DBC39A2D13EC77D50414DD258C2B" 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_D154263E7A40BFD567150414DD26EE0C" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_AE381220675CCB1E14310414DD24FB40" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_D154263E7A40BFD567150414DD26EE0C" 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_10D1AD8BA1C02104CDF50414DD26E347_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_D154263E7A40BFD567150414DD26EE0C" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_10D1AD8BA1C02104CDF50414DD26E347_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_10D1AD8BA1C02104CDF50414DD26E347" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_D154263E7A40BFD567150414DD26EE0C" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_10D1AD8BA1C02104CDF50414DD26E347" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_HarrisMember" xlink:label="loc_oesx_HarrisMember_16BB582D3736C3D5C6A50414DD26B040" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_10D1AD8BA1C02104CDF50414DD26E347" xlink:to="loc_oesx_HarrisMember_16BB582D3736C3D5C6A50414DD26B040" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionCostOfAcquiredEntityEquityInterestsIssuedAndIssuable" xlink:label="loc_us-gaap_BusinessAcquisitionCostOfAcquiredEntityEquityInterestsIssuedAndIssuable_694DDBD4785D2361AEED04340E4F3E0C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_26E382F4F9ECA53313030414DD2615F1" xlink:to="loc_us-gaap_BusinessAcquisitionCostOfAcquiredEntityEquityInterestsIssuedAndIssuable_694DDBD4785D2361AEED04340E4F3E0C" 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_F3EBDC9BF287E86035F404340E81E323" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_26E382F4F9ECA53313030414DD2615F1" xlink:to="loc_us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued_F3EBDC9BF287E86035F404340E81E323" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_PublicOfferingAmount" xlink:label="loc_oesx_PublicOfferingAmount_687FE2B366D4978F12700445CE01AE01" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_26E382F4F9ECA53313030414DD2615F1" xlink:to="loc_oesx_PublicOfferingAmount_687FE2B366D4978F12700445CE01AE01" xlink:type="arc" />
  </definitionLink>
  <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_DA4FA33E837EF0C01BEC34FB2D630D78" 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_FB80FDEE651ECDBDD36834FB2D635949" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_CashAndCashEquivalentsLineItems_DA4FA33E837EF0C01BEC34FB2D630D78" xlink:to="loc_us-gaap_ScheduleOfCashAndCashEquivalentsTable_FB80FDEE651ECDBDD36834FB2D635949" 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_B0FD3B752A94F1EC6F7534FB2D6374E9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCashAndCashEquivalentsTable_FB80FDEE651ECDBDD36834FB2D635949" xlink:to="loc_us-gaap_CashAndCashEquivalentsAxis_B0FD3B752A94F1EC6F7534FB2D6374E9" 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_2D7732C553A6F2713EEE34FB2D637342_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CashAndCashEquivalentsAxis_B0FD3B752A94F1EC6F7534FB2D6374E9" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_2D7732C553A6F2713EEE34FB2D637342_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_2D7732C553A6F2713EEE34FB2D637342" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CashAndCashEquivalentsAxis_B0FD3B752A94F1EC6F7534FB2D6374E9" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_2D7732C553A6F2713EEE34FB2D637342" 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_6427093CCD20F0A3387434FB2D638254" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_2D7732C553A6F2713EEE34FB2D637342" xlink:to="loc_us-gaap_MoneyMarketFundsMember_6427093CCD20F0A3387434FB2D638254" 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_312EB0DCFC39A59A249F34FB2D630E49" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_2D7732C553A6F2713EEE34FB2D637342" xlink:to="loc_us-gaap_CertificatesOfDepositMember_312EB0DCFC39A59A249F34FB2D630E49" 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_0706BB2E88BCE9ECF3F534FB2D63B980" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CashAndCashEquivalentsLineItems_DA4FA33E837EF0C01BEC34FB2D630D78" xlink:to="loc_us-gaap_ShortTermInvestmentsAbstract_0706BB2E88BCE9ECF3F534FB2D63B980" 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_D18A1655CB0C0AD7348434FB2D632886" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShortTermInvestmentsAbstract_0706BB2E88BCE9ECF3F534FB2D63B980" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_D18A1655CB0C0AD7348434FB2D632886" 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_7D2172E1C38F91C1547834FB2D63479F" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShortTermInvestmentsAbstract_0706BB2E88BCE9ECF3F534FB2D63B980" xlink:to="loc_us-gaap_AvailableforsaleSecuritiesGrossUnrealizedGain_7D2172E1C38F91C1547834FB2D63479F" 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_70027983F68A4569AA7234FB2D63907D" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShortTermInvestmentsAbstract_0706BB2E88BCE9ECF3F534FB2D63B980" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesGrossUnrealizedLosses1_70027983F68A4569AA7234FB2D63907D" 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_4C1E491D9725B394268E34FB2D632E2B" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShortTermInvestmentsAbstract_0706BB2E88BCE9ECF3F534FB2D63B980" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_4C1E491D9725B394268E34FB2D632E2B" 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_0783C8A10611CD7F844D34FB2D632D34" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShortTermInvestmentsAbstract_0706BB2E88BCE9ECF3F534FB2D63B980" xlink:to="loc_us-gaap_CashEquivalentsAtCarryingValue_0783C8A10611CD7F844D34FB2D632D34" 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_1C209A5C675C152BB8E334FB2D63F948" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShortTermInvestmentsAbstract_0706BB2E88BCE9ECF3F534FB2D63B980" xlink:to="loc_us-gaap_ShortTermInvestments_1C209A5C675C152BB8E334FB2D63F948" 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_7E674F39B2BBFC2D98F90455746766AB" 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_733A5F8841730E7566FE045574601EFF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ConcentrationRiskLineItems_7E674F39B2BBFC2D98F90455746766AB" xlink:to="loc_us-gaap_ConcentrationRiskTable_733A5F8841730E7566FE045574601EFF" 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_MajorCustomersAxis" xlink:label="loc_us-gaap_MajorCustomersAxis_152C147EF0CB38B532670455746040AF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ConcentrationRiskTable_733A5F8841730E7566FE045574601EFF" xlink:to="loc_us-gaap_MajorCustomersAxis_152C147EF0CB38B532670455746040AF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_NameOfMajorCustomerDomain" xlink:label="loc_us-gaap_NameOfMajorCustomerDomain_16903F89BE8F74485E3904557460B08E_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorCustomersAxis_152C147EF0CB38B532670455746040AF" xlink:to="loc_us-gaap_NameOfMajorCustomerDomain_16903F89BE8F74485E3904557460B08E_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_NameOfMajorCustomerDomain" xlink:label="loc_us-gaap_NameOfMajorCustomerDomain_16903F89BE8F74485E3904557460B08E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorCustomersAxis_152C147EF0CB38B532670455746040AF" xlink:to="loc_us-gaap_NameOfMajorCustomerDomain_16903F89BE8F74485E3904557460B08E" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_Customer1Member" xlink:label="loc_oesx_Customer1Member_1C3E28FF35B717DEAD310455746030DD" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NameOfMajorCustomerDomain_16903F89BE8F74485E3904557460B08E" xlink:to="loc_oesx_Customer1Member_1C3E28FF35B717DEAD310455746030DD" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_Customer2Member" xlink:label="loc_oesx_Customer2Member_21EEA4435D6266A678C004557460DE75" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NameOfMajorCustomerDomain_16903F89BE8F74485E3904557460B08E" xlink:to="loc_oesx_Customer2Member_21EEA4435D6266A678C004557460DE75" xlink:type="arc" />
    <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_5735F40679585D07E38504557460C037" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ConcentrationRiskTable_733A5F8841730E7566FE045574601EFF" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_5735F40679585D07E38504557460C037" 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_3459ED200D729CC230F5045574605DF1_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_5735F40679585D07E38504557460C037" xlink:to="loc_us-gaap_SegmentDomain_3459ED200D729CC230F5045574605DF1_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_3459ED200D729CC230F5045574605DF1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_5735F40679585D07E38504557460C037" xlink:to="loc_us-gaap_SegmentDomain_3459ED200D729CC230F5045574605DF1" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_EnergyManagementMember" xlink:label="loc_oesx_EnergyManagementMember_5294E5E210B8E1DEC90704557460B816" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_3459ED200D729CC230F5045574605DF1" xlink:to="loc_oesx_EnergyManagementMember_5294E5E210B8E1DEC90704557460B816" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_EngineeredSystemsMember" xlink:label="loc_oesx_EngineeredSystemsMember_E144AACEFADFD41D54E0045574600047" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_3459ED200D729CC230F5045574605DF1" xlink:to="loc_oesx_EngineeredSystemsMember_E144AACEFADFD41D54E0045574600047" 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_92644E5AF8E8130B9276045574669041" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ConcentrationRiskTable_733A5F8841730E7566FE045574601EFF" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_92644E5AF8E8130B9276045574669041" 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_A59E1396E069B9C1F315045574666B11_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_92644E5AF8E8130B9276045574669041" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_A59E1396E069B9C1F315045574666B11_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_A59E1396E069B9C1F315045574666B11" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_92644E5AF8E8130B9276045574669041" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_A59E1396E069B9C1F315045574666B11" 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_5BE4A495383349636F1B045574660D27" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_A59E1396E069B9C1F315045574666B11" xlink:to="loc_us-gaap_SalesRevenueServicesNetMember_5BE4A495383349636F1B045574660D27" 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_4F60B557432A0BBFF2AB045574664457" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_A59E1396E069B9C1F315045574666B11" xlink:to="loc_us-gaap_AccountsReceivableMember_4F60B557432A0BBFF2AB045574664457" 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_AC41CE7819FD5231CCB204557466FE36" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_A59E1396E069B9C1F315045574666B11" xlink:to="loc_us-gaap_SalesMember_AC41CE7819FD5231CCB204557466FE36" 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_75AB1CCD28126AB978EB045574666AE6" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ConcentrationRiskTable_733A5F8841730E7566FE045574601EFF" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_75AB1CCD28126AB978EB045574666AE6" 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_02C10246975088081CDE045574669C80_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_75AB1CCD28126AB978EB045574666AE6" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_02C10246975088081CDE045574669C80_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_02C10246975088081CDE045574669C80" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_75AB1CCD28126AB978EB045574666AE6" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_02C10246975088081CDE045574669C80" 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_A1649B37EB1EFDF7EF1D0455746654D0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_02C10246975088081CDE045574669C80" xlink:to="loc_us-gaap_CustomerConcentrationRiskMember_A1649B37EB1EFDF7EF1D0455746654D0" 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_C04F94EA2490E811D18804557467C7D3" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskLineItems_7E674F39B2BBFC2D98F90455746766AB" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_C04F94EA2490E811D18804557467C7D3" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_ConcentrationRiskNumberOfEntitiesInvolvedInRiskCalculation" xlink:label="loc_oesx_ConcentrationRiskNumberOfEntitiesInvolvedInRiskCalculation_60A97DD8C0AF28A534860455746CE0F2" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskLineItems_7E674F39B2BBFC2D98F90455746766AB" xlink:to="loc_oesx_ConcentrationRiskNumberOfEntitiesInvolvedInRiskCalculation_60A97DD8C0AF28A534860455746CE0F2" 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_64CA5C9BA168B911DA8834FB2BD3CF8D" 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_42AE363DFB8FD7266E9834FB2BD32D24" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_64CA5C9BA168B911DA8834FB2BD3CF8D" xlink:to="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_42AE363DFB8FD7266E9834FB2BD32D24" 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_7E5E93BA0AB0C9AE713934FB2BD39341" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_42AE363DFB8FD7266E9834FB2BD32D24" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_7E5E93BA0AB0C9AE713934FB2BD39341" 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_9CF9AB3E783DF241110834FB2BD3E5C4_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_7E5E93BA0AB0C9AE713934FB2BD39341" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_9CF9AB3E783DF241110834FB2BD3E5C4_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_9CF9AB3E783DF241110834FB2BD3E5C4" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_7E5E93BA0AB0C9AE713934FB2BD39341" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_9CF9AB3E783DF241110834FB2BD3E5C4" 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_3285A34A22600756286134FB2BD3A57D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_9CF9AB3E783DF241110834FB2BD3E5C4" xlink:to="loc_us-gaap_StockOptionsMember_3285A34A22600756286134FB2BD3A57D" 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_A0A10811A51E14512F8A34FB2BD3BC39" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_9CF9AB3E783DF241110834FB2BD3E5C4" xlink:to="loc_us-gaap_RestrictedStockMember_A0A10811A51E14512F8A34FB2BD3BC39" 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_8502B4C6CF3E56E4163934FB2BD3FCD3" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_9CF9AB3E783DF241110834FB2BD3E5C4" xlink:to="loc_us-gaap_WarrantMember_8502B4C6CF3E56E4163934FB2BD3FCD3" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_AntidilutiveSharesExcludedFromComputationOfEarningsPerShareAbstract" xlink:label="loc_oesx_AntidilutiveSharesExcludedFromComputationOfEarningsPerShareAbstract_FDF707C5C28BDA051E9434FB2BD38E52" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_64CA5C9BA168B911DA8834FB2BD3CF8D" xlink:to="loc_oesx_AntidilutiveSharesExcludedFromComputationOfEarningsPerShareAbstract_FDF707C5C28BDA051E9434FB2BD38E52" 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_4F337F4AE494F87B17B834FB2BD31A62" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oesx_AntidilutiveSharesExcludedFromComputationOfEarningsPerShareAbstract_FDF707C5C28BDA051E9434FB2BD38E52" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_4F337F4AE494F87B17B834FB2BD31A62" 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_503BE857F5EF0D432C2F34FB2B291301" 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_49C8E51191685D8E438634FB2B1F3817" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_503BE857F5EF0D432C2F34FB2B291301" xlink:to="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_49C8E51191685D8E438634FB2B1F3817" 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_21B2CE57952CCC7E836234FB2B2932E1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_49C8E51191685D8E438634FB2B1F3817" xlink:to="loc_us-gaap_FinancingReceivableInformationByCreditQualityIndicatorAxis_21B2CE57952CCC7E836234FB2B2932E1" 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_2A8199F2022F1C23A18234FB2B29B998_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableInformationByCreditQualityIndicatorAxis_21B2CE57952CCC7E836234FB2B2932E1" xlink:to="loc_us-gaap_FinancingReceivableByCreditQualityIndicatorDomain_2A8199F2022F1C23A18234FB2B29B998_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_2A8199F2022F1C23A18234FB2B29B998" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableInformationByCreditQualityIndicatorAxis_21B2CE57952CCC7E836234FB2B2932E1" xlink:to="loc_us-gaap_FinancingReceivableByCreditQualityIndicatorDomain_2A8199F2022F1C23A18234FB2B29B998" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_NotPastDueMember" xlink:label="loc_oesx_NotPastDueMember_8BD8C4A469D2B152595D34FB2B299D57" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableByCreditQualityIndicatorDomain_2A8199F2022F1C23A18234FB2B29B998" xlink:to="loc_oesx_NotPastDueMember_8BD8C4A469D2B152595D34FB2B299D57" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_OneToNinetyDaysMember" xlink:label="loc_oesx_OneToNinetyDaysMember_CB39CD26A68E063DCEC734FB2B295CF4" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableByCreditQualityIndicatorDomain_2A8199F2022F1C23A18234FB2B29B998" xlink:to="loc_oesx_OneToNinetyDaysMember_CB39CD26A68E063DCEC734FB2B295CF4" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_GreaterThanNinetyDaysMember" xlink:label="loc_oesx_GreaterThanNinetyDaysMember_9A030983F5DBEEF48C8934FB2B297AA1" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableByCreditQualityIndicatorDomain_2A8199F2022F1C23A18234FB2B29B998" xlink:to="loc_oesx_GreaterThanNinetyDaysMember_9A030983F5DBEEF48C8934FB2B297AA1" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_PastDueLeaseNetMember" xlink:label="loc_oesx_PastDueLeaseNetMember_D9B24782ED2ECCE0222D34FB2B29E9EE" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableByCreditQualityIndicatorDomain_2A8199F2022F1C23A18234FB2B29B998" xlink:to="loc_oesx_PastDueLeaseNetMember_D9B24782ED2ECCE0222D34FB2B29E9EE" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_SalesTypeNetMember" xlink:label="loc_oesx_SalesTypeNetMember_E0B7FBE355AA2A150D8D34FB2B29D412" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableByCreditQualityIndicatorDomain_2A8199F2022F1C23A18234FB2B29B998" xlink:to="loc_oesx_SalesTypeNetMember_E0B7FBE355AA2A150D8D34FB2B29D412" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_LeaseReceivableProvisionWriteOff" xlink:label="loc_oesx_LeaseReceivableProvisionWriteOff_D2D4F5040C066C3EC74334FB2B298C6A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_503BE857F5EF0D432C2F34FB2B291301" xlink:to="loc_oesx_LeaseReceivableProvisionWriteOff_D2D4F5040C066C3EC74334FB2B298C6A" 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_74DEE652A75A75C1A64B34FB2B29C9FC" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_503BE857F5EF0D432C2F34FB2B291301" xlink:to="loc_us-gaap_AccountsNotesAndLoansReceivableClassifiedAbstract_74DEE652A75A75C1A64B34FB2B29C9FC" 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_FFF40F826A5819509B1C34FB2B29F789" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableClassifiedAbstract_74DEE652A75A75C1A64B34FB2B29C9FC" xlink:to="loc_us-gaap_AccountsNotesAndLoansReceivableNetCurrent_FFF40F826A5819509B1C34FB2B29F789" 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_E932594A405CA5EB7F5934FB2B2999C2" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableClassifiedAbstract_74DEE652A75A75C1A64B34FB2B29C9FC" xlink:to="loc_us-gaap_LongTermAccountsNotesAndLoansReceivableNetNoncurrent_E932594A405CA5EB7F5934FB2B2999C2" 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_91926EE69E112BF11B1634FB2B29002C" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableClassifiedAbstract_74DEE652A75A75C1A64B34FB2B29C9FC" xlink:to="loc_us-gaap_AccountsReceivableGrossCurrent_91926EE69E112BF11B1634FB2B29002C" 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_73C0199812F6BD3737D334FB2B29D3E3" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableClassifiedAbstract_74DEE652A75A75C1A64B34FB2B29C9FC" xlink:to="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_73C0199812F6BD3737D334FB2B29D3E3" 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_9C37AA229945BCDCB1A334FB2B29EF04" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableClassifiedAbstract_74DEE652A75A75C1A64B34FB2B29C9FC" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_9C37AA229945BCDCB1A334FB2B29EF04" 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_D7786E21363FCD33DF4EFE8519A05D76" 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_262483BA9FB5841FD732FE8519A0369E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_D7786E21363FCD33DF4EFE8519A05D76" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_262483BA9FB5841FD732FE8519A0369E" 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_B27A1CD6817227A5E68BFE8519A08DBE" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_262483BA9FB5841FD732FE8519A0369E" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_B27A1CD6817227A5E68BFE8519A08DBE" 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_9572021D16311CAFD5AFFE8519A0D725_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_B27A1CD6817227A5E68BFE8519A08DBE" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_9572021D16311CAFD5AFFE8519A0D725_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_9572021D16311CAFD5AFFE8519A0D725" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_B27A1CD6817227A5E68BFE8519A08DBE" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_9572021D16311CAFD5AFFE8519A0D725" 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_BE86EE425B7174CB031EFE8519A0DBC7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_9572021D16311CAFD5AFFE8519A0D725" xlink:to="loc_us-gaap_PatentsMember_BE86EE425B7174CB031EFE8519A0DBC7" 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_FC55CD4B7ECA4EEF91EBFE8519A0ED03" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_9572021D16311CAFD5AFFE8519A0D725" xlink:to="loc_us-gaap_LicensingAgreementsMember_FC55CD4B7ECA4EEF91EBFE8519A0ED03" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_TrademarksandTradeNamesMember" xlink:label="loc_oesx_TrademarksandTradeNamesMember_751CBF6FEE754BBC8C08FE8519A0C64B" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_9572021D16311CAFD5AFFE8519A0D725" xlink:to="loc_oesx_TrademarksandTradeNamesMember_751CBF6FEE754BBC8C08FE8519A0C64B" 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_4A2016A9E34174BFA853FE8519A00305" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_9572021D16311CAFD5AFFE8519A0D725" xlink:to="loc_us-gaap_CustomerRelationshipsMember_4A2016A9E34174BFA853FE8519A00305" 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_88D95475515FB25BC02BFE8519A0E36A" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_9572021D16311CAFD5AFFE8519A0D725" xlink:to="loc_us-gaap_DevelopedTechnologyRightsMember_88D95475515FB25BC02BFE8519A0E36A" 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_FD8327A90BFD7371BF72FE8519A0072D" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_9572021D16311CAFD5AFFE8519A0D725" xlink:to="loc_us-gaap_NoncompeteAgreementsMember_FD8327A90BFD7371BF72FE8519A0072D" 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_77123618E836A28EFED7FE8519A0D384" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_262483BA9FB5841FD732FE8519A0369E" xlink:to="loc_us-gaap_RangeAxis_77123618E836A28EFED7FE8519A0D384" 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_A7469DD40CFC6B293A1EFE8519A03C7A_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_77123618E836A28EFED7FE8519A0D384" xlink:to="loc_us-gaap_RangeMember_A7469DD40CFC6B293A1EFE8519A03C7A_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_A7469DD40CFC6B293A1EFE8519A03C7A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_77123618E836A28EFED7FE8519A0D384" xlink:to="loc_us-gaap_RangeMember_A7469DD40CFC6B293A1EFE8519A03C7A" 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_C1D6907A147669F97A74FE8519A08E66" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_A7469DD40CFC6B293A1EFE8519A03C7A" xlink:to="loc_us-gaap_MinimumMember_C1D6907A147669F97A74FE8519A08E66" 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_5CEB45B425D244F76A1DFE8519A01D3B" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_A7469DD40CFC6B293A1EFE8519A03C7A" xlink:to="loc_us-gaap_MaximumMember_5CEB45B425D244F76A1DFE8519A01D3B" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_FiniteLivedandIndefiniteLivedIntangibleAssetsGross" xlink:label="loc_oesx_FiniteLivedandIndefiniteLivedIntangibleAssetsGross_E3F093C43532D67B235FFE8519A0D6A2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_D7786E21363FCD33DF4EFE8519A05D76" xlink:to="loc_oesx_FiniteLivedandIndefiniteLivedIntangibleAssetsGross_E3F093C43532D67B235FFE8519A0D6A2" 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_515B9C7B10258DC9E08FFE8519A000BF" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_D7786E21363FCD33DF4EFE8519A05D76" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_515B9C7B10258DC9E08FFE8519A000BF" 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_B94CC9E538FE3F2EA056FE8519A0CCEF" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_D7786E21363FCD33DF4EFE8519A05D76" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_B94CC9E538FE3F2EA056FE8519A0CCEF" 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_650A4CD56D0120819A2BFE8519A0C87D" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_D7786E21363FCD33DF4EFE8519A05D76" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsFutureAmortizationExpenseAbstract_650A4CD56D0120819A2BFE8519A0C87D" 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_03B0012DD427BDF172EFFE8519A02099" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsFutureAmortizationExpenseAbstract_650A4CD56D0120819A2BFE8519A0C87D" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear_03B0012DD427BDF172EFFE8519A02099" 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_73869464B0AD40CB3C05FE8519A09252" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsFutureAmortizationExpenseAbstract_650A4CD56D0120819A2BFE8519A0C87D" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_73869464B0AD40CB3C05FE8519A09252" 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_81ED100945F8A812CCCEFE8519A05CF0" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsFutureAmortizationExpenseAbstract_650A4CD56D0120819A2BFE8519A0C87D" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_81ED100945F8A812CCCEFE8519A05CF0" 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_66841FEB2D1ADB8FE601FE8519A0887D" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsFutureAmortizationExpenseAbstract_650A4CD56D0120819A2BFE8519A0C87D" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_66841FEB2D1ADB8FE601FE8519A0887D" 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_1E9199667F26CA427E25FE8519A0A179" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsFutureAmortizationExpenseAbstract_650A4CD56D0120819A2BFE8519A0C87D" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_1E9199667F26CA427E25FE8519A0A179" 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_C20BC3BD4DAC28CD41A8FE8519A0CBD0" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsFutureAmortizationExpenseAbstract_650A4CD56D0120819A2BFE8519A0C87D" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive_C20BC3BD4DAC28CD41A8FE8519A0CBD0" 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_67C35CB8B9487CB4CF8CFE8519A05538" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsFutureAmortizationExpenseAbstract_650A4CD56D0120819A2BFE8519A0C87D" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive_67C35CB8B9487CB4CF8CFE8519A05538" 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_CDB4A169AE90C575A2C9FE8519A09377" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsFutureAmortizationExpenseAbstract_650A4CD56D0120819A2BFE8519A0C87D" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_CDB4A169AE90C575A2C9FE8519A09377" 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_2A7DC7C1FCBE5B73E8FC0415B9A4C57E" 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_A5FE7286AD7E0ED0A3330415B9A3E946" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_2A7DC7C1FCBE5B73E8FC0415B9A4C57E" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_A5FE7286AD7E0ED0A3330415B9A3E946" 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_D7B0AFF1672DA7434F96041E40592E32" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_A5FE7286AD7E0ED0A3330415B9A3E946" xlink:to="loc_us-gaap_RangeAxis_D7B0AFF1672DA7434F96041E40592E32" 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_77CA5CC401B3C3EEDDFC041E40607067_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_D7B0AFF1672DA7434F96041E40592E32" xlink:to="loc_us-gaap_RangeMember_77CA5CC401B3C3EEDDFC041E40607067_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_77CA5CC401B3C3EEDDFC041E40607067" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_D7B0AFF1672DA7434F96041E40592E32" xlink:to="loc_us-gaap_RangeMember_77CA5CC401B3C3EEDDFC041E40607067" 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_E40B533A6F6B5D310779041EB88A9A1B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_77CA5CC401B3C3EEDDFC041E40607067" xlink:to="loc_us-gaap_MinimumMember_E40B533A6F6B5D310779041EB88A9A1B" 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_9207F002EEA0B0FFB6C7041EE2DB4C45" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_77CA5CC401B3C3EEDDFC041E40607067" xlink:to="loc_us-gaap_MaximumMember_9207F002EEA0B0FFB6C7041EE2DB4C45" xlink:type="arc" />
    <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_A11AFCCE1240A43BC1A40415B9A35BC4" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_A5FE7286AD7E0ED0A3330415B9A3E946" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_A11AFCCE1240A43BC1A40415B9A35BC4" 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_282620DB64D16874262D0415B9A3FF78_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_A11AFCCE1240A43BC1A40415B9A35BC4" xlink:to="loc_us-gaap_SegmentDomain_282620DB64D16874262D0415B9A3FF78_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_282620DB64D16874262D0415B9A3FF78" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_A11AFCCE1240A43BC1A40415B9A35BC4" xlink:to="loc_us-gaap_SegmentDomain_282620DB64D16874262D0415B9A3FF78" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_EngineeredSystemsMember" xlink:label="loc_oesx_EngineeredSystemsMember_142E911D7D894C6BC9550415B9A35A79" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_282620DB64D16874262D0415B9A3FF78" xlink:to="loc_oesx_EngineeredSystemsMember_142E911D7D894C6BC9550415B9A35A79" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_InventoryReserveLengthofTimeofInventoryUsageConsidered" xlink:label="loc_oesx_InventoryReserveLengthofTimeofInventoryUsageConsidered_A007DD2A0E682DD363C1041DCFC7FE68" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_2A7DC7C1FCBE5B73E8FC0415B9A4C57E" xlink:to="loc_oesx_InventoryReserveLengthofTimeofInventoryUsageConsidered_A007DD2A0E682DD363C1041DCFC7FE68" 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_54209E375E8C4035A31C0415B9A49CC5" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_2A7DC7C1FCBE5B73E8FC0415B9A4C57E" xlink:to="loc_us-gaap_ProductWarrantyAccrualBalanceSheetClassificationAbstract_54209E375E8C4035A31C0415B9A49CC5" 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_062C984A34229B803CDC0415B9A43BB1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ProductWarrantyAccrualBalanceSheetClassificationAbstract_54209E375E8C4035A31C0415B9A49CC5" xlink:to="loc_us-gaap_ProductWarrantyAccrual_062C984A34229B803CDC0415B9A43BB1" 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_F657AE4C45278D44699203D8FD44E41F" 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_96EF85CC5178AE2C331C03D8FD44406C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_F657AE4C45278D44699203D8FD44E41F" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_96EF85CC5178AE2C331C03D8FD44406C" 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_9D2FD214098B03F05B9003D8FD445113" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_96EF85CC5178AE2C331C03D8FD44406C" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_9D2FD214098B03F05B9003D8FD445113" 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_30A1E0E666BBE6FCDAE303D8FD443993_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_9D2FD214098B03F05B9003D8FD445113" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_30A1E0E666BBE6FCDAE303D8FD443993_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_30A1E0E666BBE6FCDAE303D8FD443993" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_9D2FD214098B03F05B9003D8FD445113" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_30A1E0E666BBE6FCDAE303D8FD443993" 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_49A98A9646F575A5696B03D8FD44FA92" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_30A1E0E666BBE6FCDAE303D8FD443993" xlink:to="loc_us-gaap_LandImprovementsMember_49A98A9646F575A5696B03D8FD44FA92" 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_5CC55BB8891025977DA603D8FD4471CD" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_30A1E0E666BBE6FCDAE303D8FD443993" xlink:to="loc_us-gaap_BuildingAndBuildingImprovementsMember_5CC55BB8891025977DA603D8FD4471CD" 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_93F530502D382DB9171903D8FD448069" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_30A1E0E666BBE6FCDAE303D8FD443993" xlink:to="loc_us-gaap_LeaseholdsAndLeaseholdImprovementsMember_93F530502D382DB9171903D8FD448069" 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_6FC6DCC18AB806CEF02703D8FD441EBC" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_30A1E0E666BBE6FCDAE303D8FD443993" xlink:to="loc_us-gaap_FurnitureAndFixturesMember_6FC6DCC18AB806CEF02703D8FD441EBC" 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_382364333E3006949E3103DA6D4654B4" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_30A1E0E666BBE6FCDAE303D8FD443993" xlink:to="loc_us-gaap_EquipmentLeasedToOtherPartyMember_382364333E3006949E3103DA6D4654B4" 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_7A926F97082B7FD832E003D8FD44D71A" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_30A1E0E666BBE6FCDAE303D8FD443993" xlink:to="loc_us-gaap_EquipmentMember_7A926F97082B7FD832E003D8FD44D71A" 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_1C261FC453B6F0FA32E703D8FD4467FC" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_96EF85CC5178AE2C331C03D8FD44406C" xlink:to="loc_us-gaap_RangeAxis_1C261FC453B6F0FA32E703D8FD4467FC" 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_E9FAE3689D0DEF254B4B03D8FD44C6BF_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_1C261FC453B6F0FA32E703D8FD4467FC" xlink:to="loc_us-gaap_RangeMember_E9FAE3689D0DEF254B4B03D8FD44C6BF_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_E9FAE3689D0DEF254B4B03D8FD44C6BF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_1C261FC453B6F0FA32E703D8FD4467FC" xlink:to="loc_us-gaap_RangeMember_E9FAE3689D0DEF254B4B03D8FD44C6BF" 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_C5A078B4674AA241D25D03D8FD44CEDC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_E9FAE3689D0DEF254B4B03D8FD44C6BF" xlink:to="loc_us-gaap_MaximumMember_C5A078B4674AA241D25D03D8FD44CEDC" 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_579F1FA7064C854B2DAF03D8FD448A56" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_E9FAE3689D0DEF254B4B03D8FD44C6BF" xlink:to="loc_us-gaap_MinimumMember_579F1FA7064C854B2DAF03D8FD448A56" 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_30EB4A0CCF220735463403D8FD44BD09" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_F657AE4C45278D44699203D8FD44E41F" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNetAbstract_30EB4A0CCF220735463403D8FD44BD09" 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_F95CAAA1D146036653B503D8FD44F189" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNetAbstract_30EB4A0CCF220735463403D8FD44BD09" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_F95CAAA1D146036653B503D8FD44F189" xlink:type="arc" />
    <loc xlink:href="oesx-20131231.xsd#oesx_PropertyPlantAndEquipmentEstimatedUsefulLife" xlink:label="loc_oesx_PropertyPlantAndEquipmentEstimatedUsefulLife_84E1A39F75ACBC6C760003D8FD446CDE" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNetAbstract_30EB4A0CCF220735463403D8FD44BD09" xlink:to="loc_oesx_PropertyPlantAndEquipmentEstimatedUsefulLife_84E1A39F75ACBC6C760003D8FD446CDE" 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_627B73C83D02A7D0E37E34FB2DB3C8C1" 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_16426E84D26F1E3CAAE734FB2DB34E90" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_627B73C83D02A7D0E37E34FB2DB3C8C1" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_16426E84D26F1E3CAAE734FB2DB34E90" 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_E233B9216BF38BBA826834FB2DB315B8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_16426E84D26F1E3CAAE734FB2DB34E90" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_E233B9216BF38BBA826834FB2DB315B8" 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_794539B1972D6866777934FB2DB3B6C2_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_E233B9216BF38BBA826834FB2DB315B8" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_794539B1972D6866777934FB2DB3B6C2_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_794539B1972D6866777934FB2DB3B6C2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_E233B9216BF38BBA826834FB2DB315B8" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_794539B1972D6866777934FB2DB3B6C2" 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_11B0E38FE308CF7E212534FB2DB3B177" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_794539B1972D6866777934FB2DB3B6C2" xlink:to="loc_us-gaap_LandImprovementsMember_11B0E38FE308CF7E212534FB2DB3B177" 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_A6F494BD7EA5A03B8DA534FB2DB3780C" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_794539B1972D6866777934FB2DB3B6C2" xlink:to="loc_us-gaap_BuildingAndBuildingImprovementsMember_A6F494BD7EA5A03B8DA534FB2DB3780C" 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_DD873602AFD62040120D34FB2DB3BFDF" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_794539B1972D6866777934FB2DB3B6C2" xlink:to="loc_us-gaap_FurnitureAndFixturesMember_DD873602AFD62040120D34FB2DB3BFDF" 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_7E85E04C983597B503E334FB2DB30226" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_794539B1972D6866777934FB2DB3B6C2" xlink:to="loc_us-gaap_LeaseholdImprovementsMember_7E85E04C983597B503E334FB2DB30226" 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_8A23FC10106AE69A475D34FB2DB3E8CF" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_794539B1972D6866777934FB2DB3B6C2" xlink:to="loc_us-gaap_EquipmentLeasedToOtherPartyMember_8A23FC10106AE69A475D34FB2DB3E8CF" 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_4BD0E7B318F2D7D49A9E34FB2DB34E10" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_794539B1972D6866777934FB2DB3B6C2" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentOtherTypesMember_4BD0E7B318F2D7D49A9E34FB2DB34E10" 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_D167CC92B48D08123D1F34FB2DB31A94" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_794539B1972D6866777934FB2DB3B6C2" xlink:to="loc_us-gaap_ConstructionInProgressMember_D167CC92B48D08123D1F34FB2DB31A94" 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_61F4626C6A9316231C8734FB2DB3D6B2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_627B73C83D02A7D0E37E34FB2DB3C8C1" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNetAbstract_61F4626C6A9316231C8734FB2DB3D6B2" 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_D544B0C4B0AE9992799C34FB2DB35C92" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNetAbstract_61F4626C6A9316231C8734FB2DB3D6B2" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_D544B0C4B0AE9992799C34FB2DB35C92" 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_9C7DCE4638B936DC666934FB2DB33D82" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNetAbstract_61F4626C6A9316231C8734FB2DB3D6B2" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_9C7DCE4638B936DC666934FB2DB33D82" 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_1D12F6AF4FBBB4C292AD34FB2DB3C9BC" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNetAbstract_61F4626C6A9316231C8734FB2DB3D6B2" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_1D12F6AF4FBBB4C292AD34FB2DB3C9BC" 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_00B6B9167949E5932ABD0CDBF7B380B4" 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_3DC7A5BF1800FC886F320CDBF7B35C1A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_00B6B9167949E5932ABD0CDBF7B380B4" xlink:to="loc_us-gaap_StatementTable_3DC7A5BF1800FC886F320CDBF7B35C1A" 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_6AB8986B51301A3E0E900CDBF7B3C1AD" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_3DC7A5BF1800FC886F320CDBF7B35C1A" xlink:to="loc_us-gaap_StatementScenarioAxis_6AB8986B51301A3E0E900CDBF7B3C1AD" 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_5871540F8A280F29ADEB0CDBF7B39826_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementScenarioAxis_6AB8986B51301A3E0E900CDBF7B3C1AD" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_5871540F8A280F29ADEB0CDBF7B39826_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_5871540F8A280F29ADEB0CDBF7B39826" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementScenarioAxis_6AB8986B51301A3E0E900CDBF7B3C1AD" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_5871540F8A280F29ADEB0CDBF7B39826" 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_33B42F1C3E077492E01B0CDBF7B399EE" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_00B6B9167949E5932ABD0CDBF7B380B4" xlink:to="loc_us-gaap_AssetsAbstract_33B42F1C3E077492E01B0CDBF7B399EE" 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_033288B6535030AFD3AE0CDBF7B3E3C7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_33B42F1C3E077492E01B0CDBF7B399EE" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_033288B6535030AFD3AE0CDBF7B3E3C7" 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_CEBCC7A97E62BDCD7FC60CDBF7B3BAD0" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_33B42F1C3E077492E01B0CDBF7B399EE" xlink:to="loc_us-gaap_ShortTermInvestments_CEBCC7A97E62BDCD7FC60CDBF7B3BAD0" 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_46D0E6386AB7C037641C0CDBF7B32708" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_33B42F1C3E077492E01B0CDBF7B399EE" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_46D0E6386AB7C037641C0CDBF7B32708" 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_FD4FAEE278880260D4A10CDBF7B37FE2" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_33B42F1C3E077492E01B0CDBF7B399EE" xlink:to="loc_us-gaap_InventoryNet_FD4FAEE278880260D4A10CDBF7B37FE2" 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_37004902CE42F156D6220CDBF7B352E0" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_33B42F1C3E077492E01B0CDBF7B399EE" xlink:to="loc_us-gaap_DeferredCostsCurrent_37004902CE42F156D6220CDBF7B352E0" 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_3B6E3B54E0DECA6905280CDBF7B3F56C" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_33B42F1C3E077492E01B0CDBF7B399EE" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_3B6E3B54E0DECA6905280CDBF7B3F56C" 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_1D2D2FF0EBE0A94277810CDBF7B302DA" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_33B42F1C3E077492E01B0CDBF7B399EE" xlink:to="loc_us-gaap_AssetsCurrent_1D2D2FF0EBE0A94277810CDBF7B302DA" 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_2D297DE07802AB8B6FB60CDBF7B3ABF2" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_33B42F1C3E077492E01B0CDBF7B399EE" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_2D297DE07802AB8B6FB60CDBF7B3ABF2" 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_51A65CDCB1D2699971C70CDBF7B35E74" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_33B42F1C3E077492E01B0CDBF7B399EE" xlink:to="loc_us-gaap_InventoryNoncurrent_51A65CDCB1D2699971C70CDBF7B35E74" 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_48CB996F2A7C384184770CDBF7B37885" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_33B42F1C3E077492E01B0CDBF7B399EE" xlink:to="loc_us-gaap_Goodwill_48CB996F2A7C384184770CDBF7B37885" 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_B0774356C1BDF7E0C0F50CDBF7B3FFA8" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_33B42F1C3E077492E01B0CDBF7B399EE" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_B0774356C1BDF7E0C0F50CDBF7B3FFA8" 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_C805BDDE3AE534784AAE0CDBF7B38990" xlink:type="locator" />
    <definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_33B42F1C3E077492E01B0CDBF7B399EE" xlink:to="loc_us-gaap_DeferredTaxAssetsNetNoncurrent_C805BDDE3AE534784AAE0CDBF7B38990" 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_99A2F448CD545CE00CC00CDBF7B3B936" xlink:type="locator" />
    <definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_33B42F1C3E077492E01B0CDBF7B399EE" xlink:to="loc_us-gaap_AccountsReceivableNetNoncurrent_99A2F448CD545CE00CC00CDBF7B3B936" 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_098B0D41603FF068326F0CDBF7B33CD3" xlink:type="locator" />
    <definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_33B42F1C3E077492E01B0CDBF7B399EE" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_098B0D41603FF068326F0CDBF7B33CD3" 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_865DDE40A3CD4FC1B72F0CDBF7BDB4C9" xlink:type="locator" />
    <definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_33B42F1C3E077492E01B0CDBF7B399EE" xlink:to="loc_us-gaap_Assets_865DDE40A3CD4FC1B72F0CDBF7BDB4C9" 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_E8C079D6BC9F50E768DE0CDBF7BD1E90" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_00B6B9167949E5932ABD0CDBF7B380B4" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_E8C079D6BC9F50E768DE0CDBF7BD1E90" 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_753B67883DB31F8196FE0CDBF7BD012C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_E8C079D6BC9F50E768DE0CDBF7BD1E90" xlink:to="loc_us-gaap_AccountsPayableCurrent_753B67883DB31F8196FE0CDBF7BD012C" 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_F5BA1D0FED8BED48D6230CDBF7BDA6ED" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_E8C079D6BC9F50E768DE0CDBF7BD1E90" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_F5BA1D0FED8BED48D6230CDBF7BDA6ED" 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_5817754128E89CACE26D0CDBF7BD5F27" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_E8C079D6BC9F50E768DE0CDBF7BD1E90" xlink:to="loc_us-gaap_DeferredRevenueCurrent_5817754128E89CACE26D0CDBF7BD5F27" 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_F6C454580C9D5A4BE0C00CDBF7BD7030" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_E8C079D6BC9F50E768DE0CDBF7BD1E90" xlink:to="loc_us-gaap_LongTermDebtCurrent_F6C454580C9D5A4BE0C00CDBF7BD7030" 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_2CDC5B0B4F2F0B1BDEE30CDBF7BD7816" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_E8C079D6BC9F50E768DE0CDBF7BD1E90" xlink:to="loc_us-gaap_LiabilitiesCurrent_2CDC5B0B4F2F0B1BDEE30CDBF7BD7816" 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_E912CCF119665AE4C5070CDBF7BD30A0" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_E8C079D6BC9F50E768DE0CDBF7BD1E90" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_E912CCF119665AE4C5070CDBF7BD30A0" 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_5B8475F2DB6E6E1C55E60CDBF7BD1C4F" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_E8C079D6BC9F50E768DE0CDBF7BD1E90" xlink:to="loc_us-gaap_DeferredRevenueNoncurrent_5B8475F2DB6E6E1C55E60CDBF7BD1C4F" 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_05AE97BC3612665525A90CDBF7BDB72D" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_E8C079D6BC9F50E768DE0CDBF7BD1E90" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_05AE97BC3612665525A90CDBF7BDB72D" 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_46F116330F476EE74E6A0CDBF7BDADD5" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_E8C079D6BC9F50E768DE0CDBF7BD1E90" xlink:to="loc_us-gaap_Liabilities_46F116330F476EE74E6A0CDBF7BDADD5" 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_673C92DF0718D4772C460CDBF7BD040F" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_E8C079D6BC9F50E768DE0CDBF7BD1E90" xlink:to="loc_us-gaap_CommitmentsAndContingencies_673C92DF0718D4772C460CDBF7BD040F" 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_F34D6C1B5F79084D58B40CDBF7BDFC32" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_E8C079D6BC9F50E768DE0CDBF7BD1E90" xlink:to="loc_us-gaap_StockholdersEquityAbstract_F34D6C1B5F79084D58B40CDBF7BDFC32" 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_DB2AE45734A8C9FC510D0CDBF7BD5F76" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_F34D6C1B5F79084D58B40CDBF7BDFC32" xlink:to="loc_us-gaap_CommonStockValue_DB2AE45734A8C9FC510D0CDBF7BD5F76" 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_7040516C8C1DBA6AF7030CDBF7BD6CF6" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_F34D6C1B5F79084D58B40CDBF7BDFC32" xlink:to="loc_us-gaap_AdditionalPaidInCapital_7040516C8C1DBA6AF7030CDBF7BD6CF6" 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_10D5EA361B3966B362D90CDBF7BDC782" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_F34D6C1B5F79084D58B40CDBF7BDFC32" xlink:to="loc_us-gaap_TreasuryStockValue_10D5EA361B3966B362D90CDBF7BDC782" 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_F9E300F112B2BD1103D20CDBF7BD44C9" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_F34D6C1B5F79084D58B40CDBF7BDFC32" xlink:to="loc_us-gaap_ReceivableFromShareholdersOrAffiliatesForIssuanceOfCapitalStock_F9E300F112B2BD1103D20CDBF7BD44C9" 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_566BAC7929E7646E99F40CDBF7BDEA83" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_F34D6C1B5F79084D58B40CDBF7BDFC32" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_566BAC7929E7646E99F40CDBF7BDEA83" 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_40ED70AFEFAB83F18F390CDBF7BD0E82" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_F34D6C1B5F79084D58B40CDBF7BDFC32" xlink:to="loc_us-gaap_StockholdersEquity_40ED70AFEFAB83F18F390CDBF7BD0E82" 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_71529675B5B4502DAABF0CDBF7BDF419" xlink:type="locator" />
    <definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_E8C079D6BC9F50E768DE0CDBF7BD1E90" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquity_71529675B5B4502DAABF0CDBF7BDF419" 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_267B6229E0FB9BE4948834FB2A9DAB19" 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_E35FA26E21E2CEE0274F34FB2A9DFE51" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_267B6229E0FB9BE4948834FB2A9DAB19" xlink:to="loc_us-gaap_StatementTable_E35FA26E21E2CEE0274F34FB2A9DFE51" 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_86153E368C860F96EDE034FB2A9DDE6C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_E35FA26E21E2CEE0274F34FB2A9DFE51" xlink:to="loc_us-gaap_StatementScenarioAxis_86153E368C860F96EDE034FB2A9DDE6C" 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_D65E75672ECB4667D0D534FB2A9D3B0A_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementScenarioAxis_86153E368C860F96EDE034FB2A9DDE6C" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_D65E75672ECB4667D0D534FB2A9D3B0A_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_D65E75672ECB4667D0D534FB2A9D3B0A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementScenarioAxis_86153E368C860F96EDE034FB2A9DDE6C" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_D65E75672ECB4667D0D534FB2A9D3B0A" 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_AB854500F287C51288DE34FB2A9D4CCE" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_267B6229E0FB9BE4948834FB2A9DAB19" xlink:to="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_AB854500F287C51288DE34FB2A9D4CCE" 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_84FAA6D32671E6B2DA4634FB2AA7E10A" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_267B6229E0FB9BE4948834FB2A9DAB19" xlink:to="loc_us-gaap_CommonStockNoParValue_84FAA6D32671E6B2DA4634FB2AA7E10A" 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_F35DFB46015F72A272F734FB2AA7D67A" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_267B6229E0FB9BE4948834FB2A9DAB19" xlink:to="loc_us-gaap_CommonStockSharesAuthorized_F35DFB46015F72A272F734FB2AA7D67A" 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_61ABA6E3D5187600694B34FB2AA7E3F9" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_267B6229E0FB9BE4948834FB2A9DAB19" xlink:to="loc_us-gaap_CommonStockSharesIssued_61ABA6E3D5187600694B34FB2AA7E3F9" 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_313EC840CDBA4940916234FB2AA700FD" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_267B6229E0FB9BE4948834FB2A9DAB19" xlink:to="loc_us-gaap_SharesOutstanding_313EC840CDBA4940916234FB2AA700FD" 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_617193405DFC0022A9E934FB2AA7119B" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_267B6229E0FB9BE4948834FB2A9DAB19" xlink:to="loc_us-gaap_TreasuryStockShares_617193405DFC0022A9E934FB2AA7119B" 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>





