Self-Generation of Electricity in Tunisia and STEG Connection (Law 2015-12)
By SBF Energy · Published on · 4 min read
Law 2015-12, self-consumption, selling the surplus, bidirectional meter: how electricity self-generation works in Tunisia and how a photovoltaic system is connected to STEG.
Putting solar panels on your roof is not enough: it also has to be done within the legal framework. In Tunisia, electricity self-generation from renewable energy is governed by Law no. 2015-12 of 11 May 2015 and its implementing texts. This article explains, simply, how the STEG connection of a photovoltaic system works, what you can do with the surplus, and which steps to plan for.
A short history of the legal framework
Tunisia opened the door to self-generation with Law no. 2009-7 on energy management, which allowed renewable producers to sell their surplus to STEG. Law no. 2015-12 on electricity generation from renewable energy then structured the whole field: three main regimes (self-generation, production for sale to STEG under concession or authorisation, and export projects), which have since been clarified and amended by later texts. As details evolve, always refer to the consolidated version of the texts.
What is self-generation?
Self-generation means producing your own electricity for your needs while staying connected to the STEG grid. The grid then acts as a "safety net": at night, or when production falls short, you draw from the grid; when your panels produce more than you need, the surplus is fed in.
This arrangement is often called net-metering: the electricity fed in is recorded and, under the mechanism in force, offsets the electricity consumed.
What to know about the surplus
The legal framework allows you to sell a surplus to STEG, within set limits: according to the reference texts, this surplus is capped at around 30% of annual production. The valuation tariff and compensation arrangements are set by regulation and by the contract signed with STEG, and may change. So do not size your system counting on resale: the main goal is self-consumption.
The three connection levels
| Level | Customers concerned | Specifics |
|---|---|---|
| Low voltage (LV) | Households, small shops | PROSOL Elec programme, bidirectional meter |
| Medium voltage (MV) | Factories, hotels, large farms | Specific procedure, contract with STEG |
| High voltage (HV) | Very large consumers | Industrial project framework, dedicated procedures |
In low voltage, the logic is simple: your meter is replaced by a bidirectional meter and production is recorded alongside your consumption. In medium and high voltage, the procedure is more tightly framed (technical file, authorisation depending on the case, transport and surplus-purchase contract).
The steps to connect a photovoltaic system to STEG
- Preliminary study: analysis of your consumption, subscribed power and roof.
- Choosing a qualified installer, approved by ANME for residential PROSOL Elec projects.
- Filing the application: for residential low voltage, the file is lodged with the relevant bodies (ANME, STEG and the partner bank if financed).
- Contract with STEG: connection agreement and purchase of any surplus.
- Installation compliant with electrical standards, with suitable protections.
- Fitting the bidirectional meter and commissioning by STEG.
- Follow-up of production and compensation on your bills.
Lead times and required documents vary: your installer should guide you through these steps.
Technical points to watch
- System capacity: it must remain consistent with your subscription and voltage level. Beyond a certain threshold in low voltage, connection falls under medium voltage.
- Protection: circuit breakers, surge protection, earthing.
- Grid-approved inverter for connection to the network.
- Never install without STEG's agreement: a connection made without authorisation exposes you to safety risks and penalties.
Special cases to anticipate
- Renting: if you are a tenant, the owner's written consent is essential before any installation.
- Apartment buildings and co-ownership: using the shared roof requires the co-owners' agreement and an arrangement for metering.
- Accessible terrace, pitched roof, carport or ground mount: each configuration needs a different structure and a wind-load calculation.
- Business activity: voltage level (LV or MV) and the nature of the activity determine the applicable procedure.
- Later expansion: if you plan to add a heat pump, air conditioning or an EV charger, mention it at the study stage so capacity is planned in.
A serious installer helps you identify these situations from the technical visit onwards.
Self-generation and profitability
Since self-consumed electricity is electricity you do not buy from STEG, profitability depends mainly on the share of your output consumed on site. To understand the value of each kWh avoided, see our article on the STEG bill and tariffs, and for available support, our article on PROSOL.
Conclusion
Self-generation is a framed right in Tunisia, open to households and businesses alike. Done well, it combines savings, partial independence and regulatory compliance. The essentials: realistic sizing, a serious installer and a clean file with ANME and STEG.
SBF Energy, based in Sfax, supports you with the study and the procedures. Request your free solar study.
Texts, thresholds and procedures may change: verify them with STEG (steg.com.tn) and ANME (anme.tn).
Frequently asked questions
What is electricity self-generation?
It means producing your own electricity from renewable energy, mainly for your own needs, while staying connected to the STEG grid. The framework is set by Law no. 2015-12 of 11 May 2015.
Can I sell my surplus electricity to STEG?
Yes, within the framework set by law: the surplus can be sold to STEG up to a capped limit (around 30% of annual output according to the reference texts). Exact terms depend on your voltage level and contract; check them with STEG and ANME.
Do I need authorisation to install grid-connected solar panels?
Yes, connecting to the STEG grid requires steps with ANME and STEG before installation. The procedure varies with capacity and voltage level (low, medium or high voltage).
What is the bidirectional meter for?
It measures both the electricity you draw from the grid and the electricity you feed into it. This is what allows your surplus production to be recorded and offset against your consumption under the compensation mechanism.