NREL Open-Source Modeling Approach Simulates Low-Inertia Power Systems
nrel.gov
nrel.gov
I tend to stick more to Python + Numpy and ScyPy, but do check in on Julia from time to time. I'm still questioning whether the sparse matrix routines have matured enough in Julia (necessary for the truly large systems). On the optimization side, has all of NREL switched to Julia + JuMP, or is the native Python API for GUROBI used and Julia for the network pieces?
Definitely not all of NREL has switched to Julia + JuMP. From what I can tell, Python, MATLAB etc still are quite prominent across the laboratory. And, NREL is a large organization and we are a small team; we don't have much insight into what tools developers decide to choose and why. If anything, it is possible that we've set the precedent that Julia + JuMP can be used for this sort of work.
I know Matlab is a good R&D tool (like Mathematica), but it is a little painful for the end user and far too expensive for a lot of industrial users who don't work at a company already entrenched with the ecosystem. I don't want to pay $5k for a database toolbox if you know what I mean. If the code is only for a study though...it probably doesn't matter a whole lot.
Python seems like a good lingua franca and Julia isn't far behind overall. What makes me excited about Julia is that (at least in theory) I can write some blazing fast code without being a systems level programmer and also get the ability to look at the assembly output (just all around cool) and write macros (a la lisp). I doubt I'd ever use macros on serious code, but having the opportunity is a plus. It's a neat design.
Best of luck in your future endeavors.
Have you found any scenarios that seem likely to hit oscillation first?
But what happens when demand drops abruptly in an inertia heavy grid?
Eg if some evil AI turn off plenty of IoT controlled electrical appliance countrywide at exactly the same time.
https://www.nrel.gov/news/program/2020/inertia-and-the-power...
Once upon a time the rated load-step response for a sub-grid in the US was a step-off transient of a nuclear power site going off-line.
Is the Hornsdale Power Reserve "participating" in this mechanism?
https://en.wikipedia.org/wiki/Hornsdale_Power_Reserve
Since it's a Lithium battery I assume it's "inverter-connected".
There is considerable variation region-to-region, but a common pattern is for the spot market to clear every 15 minutes to provide secondary frequency reserve, with a day-ahead market that clears 24 hours in advance, and a wide range of futures markets that build on the day-ahead market.
In abstract terms you can think of the inertia as the time constant of a linear ODE. For the same perturbation of the state, the larger the inertia the slowest the variation.
In a grid with low inertia changes in demand (wether increase or decrease demand) are very sudden and thus difficult to control.
If we ignored all of the other factors, wouldn't we ideally have as much inertia (damping) as we can spare for the grid?
What would stop us from arbitrarily adding super-heavy motor-generators to the grid but without the gas turbine part? You don't need a prime power source to actually add old-school inertia to the grid...
[1] https://www.energy-storage.news/news/australian-transmission... (Australian transmission operator’s commercial arm to tender for 300MW unsubsidised battery project)
[2] https://www.nrel.gov/news/features/2020/renewables-rescue-st... (Renewables Rescue Stability as the Grid Loses Spin)
[3] https://www.nrel.gov/docs/fy19osti/73207.pdf (NREL: Highly Accurate Method for Real-Time Active Power Reserve Estimation for Utility-Scale Photovoltaic Power Plants)
A heavy rotating mass will continue spinning no matter what until mechanical losses (or external forces) stop it.
> The operators of four large scale solar farms in north Queensland have found that “tuning” their inverter settings has enabled them to solve “system strength” issues at a fraction of the cost of the current default mechanism – spinning machines.
> Ian Christmas, head of engineering at Edify Enegy, told a Clean Energy Council large scale solar forum last week that the inverter tuning at four key solar farms – Whitsunday, Daydream, Hayman, and Hamilton – would address recently declared system strength issues in that part of the grid at one twenty-fifth of the cost of installing a synchronous condenser.
> He also said it could be done in a fraction of the time – around four months compared to fourteen months or longer for the alternative. “It’s significant enough (in terms of price and time) that it is a no brainer,” Christmas said.
> That a cheaper solution has been found for system strength is significant, because it highlights how new technologies are proving that they can provide many of the services previously thought only possible through spinning machines, such as those used in coal, gas and hydro plants.
If an inverter based resource has the right software and control scheme setup, it can mimick either inertia or primary frequency reserve. Although I think they're generally calling it all FFR (fast frequency response) now anyway.
When a frequency event occurs, the rotating masses of conventional generation arrests the decline in frequency for a very short amount of time (this is caused by inertia), and then the control schemes of generators respond to assist with fully stopping the decline and some degree of recovery (PFR or primary frequency response). After that, your secondary reserves of (regulation) help take it back up and then (spinning reserves) until frequency is back at nominal.
So, yeah FFR can be better than the conventional approach of inertia + PFR. Everything has to be configured properly (not any different than conventional resources, except FFR is still pretty new).
https://www.pandapower.org/ https://github.com/PyPSA/PyPSA https://github.com/JuliaEnergy/PowerDynamics.jl
The long-term solution is to move to a DC grid. Everything gets easier with DC, but changing over will take a while.