4 ms·
NREL Open-Source Modeling Approach Simulates Low-Inertia Power Systems
- kdheepak 5y agoHi everyone, I'm a researcher at NREL and I've contributed to this effort. I'm happy to answer any questions. I'll also let the other researchers know that they can chime in here.
- 7thaccount 5y agoSmall world. I've looked through these libraries before and have chatted with NREL staff at conferences (didn't expect to talk on HN though). I've enjoyed some of the more recent papers on inertia and frequency response as well and will have to look into this study in more detail. 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?
- kdheepak 5y agoI was surprised to see this on HN too. 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.
- 7thaccount 5y agoAh, yeah I think that makes more sense. 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.
- jjoonathan 5y agoCool! I'm glad someone is looking into this -- figuring it out the hard way sounds... potentially quite destructive. Have you found any scenarios that seem likely to hit oscillation first?
- guerby 5y agoHi, is the paper "Transient Simulations With a Large Penetration of Converter-Interfaced Generation: Scientific Computing Challenges And Opportunities" available in PDF without paywall? https://doi.org/10.1109/MELE.2021.3070939 https://doi.org/10.1109/MELE.2021.3070939
- nixpulvis 5y agoCould you help me understand the difference between synchronous and asynchronous generators? Especially in the context of a power system with, let's say, theoretically infinite storage capabilities. On a related note, what are the main benefits and challenges of DC transmission in today's day and age?
- bob1029 5y agoHow far can we push our power grids into the "no intertia" realm until things start to fall apart catastrophically? Is that what this is all about? 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...
- bloudermilk 5y agoWhat you're describing is effectively a utility-scale flywheel, which at least one company is trying. https://www.revterra.io/ https://www.revterra.io/
- barney54 5y agoIt sounds likes you are describing synchronous condensers: https://en.wikipedia.org/wiki/Synchronous_condenser https://en.wikipedia.org/wiki/Synchronous_condenser
- bob1029 5y agoYes! Thank you. I had no idea they were called this. It was difficult to believe that something like this didnt already exist.
- ZeroGravitas 5y agoI believe the idea is to shift to synthetic inertia, which like synthetic diamonds, can actually be better than the real thing, but people get weirdly sentimential about the flaws in the one they are used to.
- bob1029 5y agoAre we claiming there are zero downsides to synthetic inertia when compared with its real counterparts?
- 5y ago
- guerby 5y agoInertia is always pictured as a "good thing", my (very limited and probably wrong) understanding is that when production drops abruptly because of a failure inertia of rotation based generators serves as a temporary battery to cover for the imbalance. 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-grid-a-guide-without-the-spin.html https://www.nrel.gov/news/program/2020/inertia-and-the-power...
- brandmeyer 5y agoPrimary frequency reserve kicks in to automatically throttle back dynamic sources. Typical throttle rate is 100% throttle response per 5% frequency deviation. Inertia (both real and virtual) just slows down the system response enough that PFR will be effective. Just about every steam plant, combined-cycle plant, and gas-turbine plant participates in PFR. There have been proposals for inverter-connected systems to participate as well, but I don't know how common it is in practice. 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.
- guerby 5y agoThanks for your reply. Is the Hornsdale Power Reserve "participating" in this mechanism? https://en.wikipedia.org/wiki/Hornsdale_Power_Reserve https://en.wikipedia.org/wiki/Hornsdale_Power_Reserve Since it's a Lithium battery I assume it's "inverter-connected".
- brandmeyer 5y agoAt that scale, they may be doing more interesting things, like participating in whatever passes for a spot market, or even time-of-day arbitrage. 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.
- riedel 5y agoLove to see a growing open source landscape: https://www.pandapower.org/ https://www.pandapower.org/ https://github.com/PyPSA/PyPSA https://github.com/PyPSA/PyPSA https://github.com/JuliaEnergy/PowerDynamics.jl https://github.com/JuliaEnergy/PowerDynamics.jl
- dreamcompiler 5y agoThis is great work. The short-term solution to high penetration of renewables on the grid is exquisite information processing, which includes both modeling and realtime control. Getting away from "black box" proprietary modeling software is a big step forward. The long-term solution is to move to a DC grid. Everything gets easier with DC, but changing over will take a while.
- FrumpyDonut 5y agoUnfortunately this is not as novel as the press release would have you believe. More a reinvention of a wheel in a pet language. The DOE labs in general are quite famous for this sort of thing, NREL being one of the worst recent offenders along with PNNL. It would be interesting to know how many millions of taxpayer dollars are sitting in the code graveyard that is the NREL github page.
- dreamcompiler 5y agoIt would also be interesting to see how many millions of taxpayer dollars the DOE labs have funneled to Mathworks, and whether Mathworks could survive should DOE decide to investigate cheaper solutions.
- FrumpyDonut 5y agoStrangely Mathworks is not among the usual cast of characters for DOE software grants, though they've made a fortune just from license fees paid by the labs. The last decade or so has seen a real shift away from Matlab.