The Grid Code stopped being a marginal technical topic years ago. Today it is one of the most relevant invisible costs in Mexican industrial operations: companies that complied effortlessly in 2015 now receive fines for deviations that nobody used to review. The intensification of inspections, the digitalization of National Energy Control Center (CENACE) measurements, and recent regulatory changes have turned compliance into an active discipline, not a paper signed once.
The common trap is assuming that compliance is expensive. The reality is that complying well costs less than the combination of penalties, oversized equipment, and consultants who recommend investments you don't need. This article explains what the Grid Code requires, who it applies to, what penalties exist, and how to comply without overinvesting.
What is the Grid Code
The Grid Code (Código de Red) is the Regulatory Manual issued by the Energy Regulatory Commission (CRE) establishing the minimum technical criteria for efficiency, quality, reliability, continuity, safety, and sustainability that facilities connected to the National Electric System (SEN) must meet.
Its central purpose is not to regulate consumption, but to protect the grid. An industrial facility with low power factor, high harmonic distortion, or phase imbalance not only pays more for its energy: it electrically contaminates the grid and affects other consumers connected to the same node. The Grid Code transfers the cost of that contamination to the source.
Its provisions are based on the Electric Industry Law (LIE) and compliance is mandatory. Non-compliance can trigger administrative sanctions and, in serious cases, disconnection.
Who it applies to
The Grid Code applies to all load centers with capacity equal to or greater than 500 kVA connected to the SEN, regardless of whether they buy electricity from the Federal Electricity Commission (CFE) under Basic Supply or from a Qualified Supplier in the Wholesale Electricity Market (MEM).
It includes categories relevant to Mexican industry:
- Manufacturing plants with their own substation
- Logistics and distribution centers with refrigerated rooms or intensive demand
- Large hotels, hospitals, and university campuses
- Mines, cement plants, steel mills, automotive, food, pharmaceutical
- Data centers
- Agro-industrial operations with high pumping or processing demand
If your load center is under 500 kVA, you are not formally bound by the Grid Code, but CFE may apply analogous criteria when evaluating your power factor and power quality.
The central technical obligations
The Grid Code imposes obligations on four technical fronts. The ones that trigger the most penalties in Mexican industry are these:
Power factor equal to or greater than 0.9
Power factor measures the efficiency with which your facility converts supplied energy into useful work. A factor below 0.9 indicates your operation consumes excessive reactive power, overloading transformers and conductors upstream.
The consequence is direct: CFE penalizes with growing surcharges on the bill when the monthly factor falls below 0.9, and the charges can be very significant in operations with old motors, electric furnaces without compensation, or poorly calibrated industrial lighting.
Power quality and harmonic distortion
Modern equipment such as variable frequency drives, switching power supplies, welders, and rectifiers generate harmonics —currents at frequencies that are multiples of the nominal 60 Hz— that distort the grid waveform. The Grid Code imposes maximum limits on total voltage and current harmonic distortion that your facility can inject.
Limits vary by voltage level and load category. When exceeded, consequences may include forced measurements, requirements to install active or passive filters, and fines for documented non-compliance.
Phase balance
Unbalanced consumption across the three phases —typical of facilities that grew without panel reorganization— causes losses and risks to the transformer. The Grid Code requires keeping imbalance at acceptable levels.
Voltage and frequency variation
Your facility must withstand voltage and frequency variations within defined ranges without disconnecting or causing system disturbances. For industries with critical equipment (continuous processes, clean rooms, operating rooms), this obligation often justifies investment in backup and conditioning.
The consequences of non-compliance
Four consequences in increasing order of severity:
- Bill surcharges. Recurring monthly penalty for low power factor or excess demand. In large operations it can accumulate six- or seven-figure annual amounts without anyone noticing the line item.
- Formal CRE requirements. Request for a corrective plan with defined deadlines, submission of measurements, and evidence of compliance.
- Administrative fines. Applicable when sustained non-compliance is documented despite prior requirements.
- Disconnection from the SEN. In extreme cases where the facility materially affects service quality to other users or represents a system risk. Rare but real.
For companies with global customers conducting supplier due diligence (automotive, pharmaceutical, electronics), Grid Code non-compliance can also trigger customer requirements that question the continuity of the commercial relationship.
Required inspections and annual reports
Compliance is not declarative. It implies periodic documentary obligations:
- Annual power-quality measurements executed by a CRE-authorized verification unit, with methodology and measurement horizon defined by the Code.
- Compliance report delivered to CRE within established deadlines.
- Corrective plan when deviations are detected, with implementation schedule.
- Information availability for on-site inspections that the authority may execute without prior notice.
Industrial companies that neglect this documentary component end up investing more in reactive remediation than they would have spent on orderly compliance.
How to comply without overinvesting
The practical rule we apply: measure before you buy. Most overinvestment in Grid Code compliance comes from companies that accept recommendations from vendors selling the equipment without first conducting rigorous power-quality measurement.
Four principles for efficient compliance:
- Measurement first, specification later. A 7- to 14-day measurement with certified equipment defines exactly what you need. Without that measurement, equipment recommendations are estimated and tend to be oversized.
- Segmented compensation. Instead of a single large-capacity capacitor bank, distributed compensation near the large reactive loads is often preferable. Similar cost but better compliance and reduced internal losses.
- Passive filters before active ones when applicable. Active harmonic filters are technologically attractive but significantly more expensive. For many industrial profiles, tuned passive filters solve the problem at a fraction of the cost.
- Well-done documentation the first time. Investment in documentary consulting is marginal vs. remediation cost when there is a formal CRE requirement.
The consultant's role in compliance
A competent energy consultant does not sell compensation equipment, but coordinates Grid Code compliance as an integral part of their mandate. Concretely:
- Executes initial power-quality measurement with certified equipment
- Defines the exact technical specifications your facility requires
- Coordinates the purchase from an independent vendor with competitive quoting
- Accompanies implementation and verifies post-installation compliance
- Keeps regulatory documentation up to date and prepares annual reports
Without that coordination, each component remains fragmented and costs inflate.
Recent regulatory changes that matter
Three relevant trends in the last 24 months:
- Higher inspection frequency as part of CRE's operational strengthening post-2025 Energy Reform. Companies that hadn't been inspected in years have started receiving them.
- Digitalization of measurements. Integration between CENACE metering systems and CRE reporting allows automatic identification of deviations, reducing the option of "going unnoticed."
- Tightening criteria in specific categories (data centers, continuous-process industries) where power quality materially affects the system.
To understand the broader regulatory context, review Mexico's 2025 Energy Reform.
Next step
If your load center exceeds 500 kVA and you have not conducted a rigorous power-quality measurement in the last 24 months, there is a high probability you are paying recoverable penalties and/or operating with unaccounted regulatory risk.
To go deeper into the full dimension of the consultant's role in compliance, review our pillar guide When and Why Your Industry Needs Energy Consulting or the cluster on power factor and CFE penalties. If you want a specific evaluation of your Grid Code compliance, request a free evaluation or learn the scope of our specialized Grid Code service.




