The single most underestimated item on a Moroccan solar project is the grid connection. Developers price panels and inverters to the dirham and then discover, six months in, that their real constraint is a transformer bay at a substation they don't own.
Who You Are Connecting To
Low- and medium-voltage connections are handled by your local distributor — ONEE in most of the country, Lydec in Casablanca, Redal in Rabat, Amendis in Tangier and Tétouan. High-voltage transmission is ONEE-Branche Électricité. Each has its own connection study format, its own queue, and its own lead times. Before sizing anything, identify which operator you will sign with.
The Regulatory Frame
Morocco's Law 13-09 opened renewable generation to private developers, and Law 58-15 expanded self-consumption. ANRE, the regulator, oversees access to the grid. The key practical distinction is self-consumption versus sale to the grid — each has different metering, permitting and tax implications. Get this classification right in the feasibility phase, not later.
Connection Studies
You will need a connection study from the operator. Budget for it in time and money. The study will tell you the point of common coupling, any reinforcement works required, and — most importantly — the contribution you will be asked to make toward those works.
Lead Times That Bite
Medium-voltage equipment — dry-type transformers, ring main units, protection relays — has had a moving delivery window since 2022. Order early, and align your civil works schedule to the equipment, not the other way round.
Protection and Compliance
Anti-islanding, voltage/frequency ride-through, reactive power support: the operator will test all of it at commissioning. A connection that passes the design review but fails at commissioning is a very expensive problem. Have the protection scheme signed off by the operator before ordering relays.
The Practical Takeaway
A solar project in Morocco is two projects in parallel: the plant itself, and the grid connection. The second one sits in a queue you don't control. Start it first.