Success Stories
20MW Solar Site – Noncompliant Ramp Rate Response
A 20MW site in violation of their interconnection agreement looked to Affinity Energy to correct ramping behavior and remove oscillation in curtailed output.

Background
A large national utility built a 20MW solar site in Lancaster County, California that went online in early 2016. As part of the interconnection agreement, CAISO (California ISO) regulations require ramping of site output in response to curtailment requests at the industry standard of 10% per minute.
Unfortunately, our previous partner didn’t seem to have a strong interest in resolving their issue that ultimately put our project at risk. I knew Affinity Energy’s engineers had a history of solving some challenging analytics and operational issues at solar sites. If anyone could figure out how to solve this problem, I figured Affinity Energy could.
–Head of Asset Optimization, National Energy Company
Challenge:
Ever since the original integrator installed the control system, the site’s ramping has never worked properly. The reason it’s gone unchecked for so long, is because the site generally runs uncurtailed. It’s only after CAISO dispatch commands them to reduce output do they notice the problem. The original system integrator tried to fix the problem multiple times, with no success.
As per CAISO regulations, the 20MW site should ramp approximately 2MW per minute. It should follow closely below the commanded curtailment rate as it ramps down, and stick to (not over) that line as it ramps back up.
Instead of following a slow ramp down to a new setpoint, (as shown in Figure 1) the site’s output remained at 20MW for nearly a minute. Then it started loosely following the ramping profile, sporadically jumping across the line nearly a dozen times. Even after the site’s commanded setpoint was steady, site output continued to oscillate above and below the setpoint.
Not only did this site’s ramp response rate occur each time there was a commanded setpoint change, it rendered the site in breach of its interconnection agreement, placing owners at risk of fines or disconnection.
Affinity Energy was brought on at the end of 2017 to troubleshoot and correct the ramping problem.
Solution:
Affinity Energy engineers identified multiple instances of 17 different classes of programming errors. Errors included instructions that could never be evaluated as true, multiple instances of code that turned on/off a control bit, and other neglected critical programming functions.
Engineers determined the code was neither correctable or recoverable. The old code couldn’t be entirely wiped, however. Many tag references in the code had to be preserved, verified, and cross referenced across the program.
An additional unforeseen challenge is that the site’s inverters don’t have a great deal of precision. Specifically, inverter commands must remain whole digit percentages. This is partially what caused the original oscillation. The original code didn’t have a deadbanding function that recognized the site at setpoint if it was within 1% of setpoint.
Affinity Energy rewrote the routine for ramping the site, reducing 60 lines of code to 14 lines of better organized execution. Code simplification wasn’t an original objective, but engineers knew the code didn’t need to be as complex and hard to follow as before.
Results:
As a result of Affinity Energy’s work, the site is now able to achieve ramp rates compliant with CAISO requirements. Oscillation has been eliminated, ramping is consistent with the code, and the site runs at or below its set point booth in steady stand and ramping modes.
Success Stories
Charlotte Pipe & Foundry
Managing energy costs for large industrial facilities can be challenging. Like many manufacturers, Charlotte Pipe and Foundry (CPF) viewed high energy costs as a necessary…
QTS Data Centers
Data centers and cloud storage are integral components of the digital age. Customers of data centers, both businesses and individuals, demand uninterrupted access…
Concord Energy
Municipalities looking for a renewable energy source can simply look to their local landfill. First, we won’t be running out of trash anytime soon. Second, the organic waste in landfills…
UVA Medical Center - Logs & Alerts
Because of the University of Virginia Medical Center's rapid growth, it was difficult to keep track of and access event details in their central energy plant. When generators tripped...
UVA Medical Center - ATS SUBMETERING
UVA Medical Center has dozens of ATSs distributed throughout campus, but no way of determining if loads were growing over original infrastructure load specifications...
UNC Chapel Hill - Temperature Control
UNC Chapel Hill needed a solution to regulate temperature in a thousand research rooms...without being held hostage to proprietary programming technology...
Solar SCADA & Field Controls
A large solar developer with concurrent solar projects needed to finalize SCADA at eight sites before the end of 2017 in order to meet tax equity implications...
Steel Mill - Active Power Management
Affinity Energy helps a high-power steel mill in the southeast maximize output, upgrade their EPMS software, troubleshoot meters, and maintain visibility to voltage disturbances.
Novant Health - Alarm Annunciator
Novant Health and Carolina CAT seek assistance from Affinity Energy in an emergency generator audible alarming compliance situation.
NextEra - SCADA & Field Controls
Two 80-MW sites required significant changes to the PLC code and SCADA HMI due to the incorporation of a new OEM's inverters.
Chesapeake Bay Bridge Tunnel
The Chesapeake Bay Bridge-Tunnel Commission chose Affinity Energy to upgrade their power monitoring SCADA system. The completed system...
Southeast Hospital System Alarming
A large hospital system in the Southeast with multiple Central Energy Plants needed a way to keep an eye on SCADA and critical alarms at three plants...with just one operator.
Woman's Hospital - GE Integration
Affinity Energy was chosen by GE for a simple SCADA integration, but ended up also solving several frustrating power monitoring issues for end-user Woman’s Hospital.
Novant Health - Generator Alarming
Novant Health and Carolina CAT seek a new generator audible alarming solution to simplify NFPA compliance for the addition of new engine-generators.
UVA - PME SCADA Migration
A large university transitions automation systems to a single power management system, and encounters challenges in user interface design and navigation along the way.
DC Blox - Customized SCADA
Affinity Energy architects a high availability, scalable EPMS and SCADA solution that manages critical equipment & reports customer power usage.
Bank of America - CFMS Migration
A new building provided the perfect opportunity to fund the Bank of America Tower CFMS migration to Ignition software.
Conetoe Solar Farm
In 2015/2016, Duke Energy Renewables wanted to outfit their new 80MW solar farm in Conetoe, North Carolina with controls and insight into each critical operational piece of equipment...
Duke Energy Solar Site Monitoring
Duke Energy wished to integrate solar data from North Carolina sites acquired from other solar installers into their overarching SCADA system of renewable resources...
JLL/Bank of America - CFMS Failure
When the CFMS unexpectedly failed for Bank of America, JLL turned to Affinity Energy for a quick turnaround to get the system back online.
Noncompliant Ramp Rate Response
A 20MW site in violation of their interconnection agreement looked to Affinity Energy to correct ramping behavior and remove oscillation in curtailed output.
Situational Awareness HMI
A landfill gas to pipeline project looked to Affinity Energy to deploy a highly sophisticated controls and monitoring solution with situational awareness design and ISA-101...
Mercedes-Benz Stadium - EPMS
Mercedes-Benz Stadium needed an electrical power management system (EPMS) to ensure computing continuity to control stadium lights and broadcasts...