Better HN
topnewbestaskshowjobs
Log inSign up

usrusr

11,381 karma · joined Apr 22, 2013 (13y ago) · 5,854 submissions

Submissions

comment 2y ago · link · parent

Compressed air is notoriously low-efficiency when you do it like in ye olden days, by venting the compression heat to the environment. A-CAES means capturing that heat, storing it separately and transferring it back into the decompression stream in discharge. Yes, this means that there will be some trickle discharge loss when using the storage scheme for long duration, but heat storage is a happy square-cube law thing, at a certain scale it even become viable for seasonal storage. A-CAES usually claim about 70% round trip efficiency.

But you are right in that this number really isn't all that important in the renewables age: when we are anywhere close to getting to 100% renewables on a point of median supply and median demand, production capacity (conversion capacity from sunshine and air movement) at times when sun coincides with wind will so far outpace demand that any energy sink will do that can still pay a positive rate. We're a long way from fully renewable were I live, and some days I see two thirds of turbines stopped in nice wind. It's really all about capex per W and per Wh. Admittedly, A-CAES isn't necessarily excellent in this right now, but it might scale quite nicely with routine.

Recently there was a gravity storage scheme linked here on hn about lowering mining refuse back into old mines to discharge, and digging it back up to charge, which comes with the curious property that it never really reaches a point of saturated capacity: in theory you could keep digging new tunnels forever when energy surplus keeps coming in.

comment 2y ago · link · parent

It's more capacity than just pumped hydro of identical head x volume: even if we ignore the "compressed spring" of the air involved, charging would require at least the energy for lifting the water plus the energy for heating up their heat source. If you close a valve in the water connection, then pop open the air pressure vessel letting all energy still in the compressed gas you to waste, you'd still have the heat storage, and you could let the water rush into the lower reservoir through a turbine, harvesting the entire energy contained in the water (minus inefficiency). So it's definitely more, the heat and the gas discharge we just wasted.

The question is how much more, whether the symmetry suggested by the balanced state implies 2x energy storage or not.

Another mental model to further separate the two storage media (water lift and air compression) is this: you could charge separately, first raising the water with a pump, with the dry cavity at ambient pressure via an open connection to daylight, then seal the cavity an charge it as a compression vessel in the non-isobaric way. I still can't decide between trusting the "balance implies 2x" intuition or not, but it should be easy enough to calculate. At least the thought experiments show that it can't be 1x the energy stored by lifting water alone.

I consider starting with "let's do compressed air energy storage" as a given, the "do it by pumped hydro" does not come into play because pressure vessels are hard, it comes into play because building compressors and turbines that have good efficiency over a wide range of pressure is hard.

comment 2y ago · link · parent

The compressor/turbine part will have predictable wear rates, not substantially different from what you see in fossil plants.

The reservoirs will at some point see noticeable sediment buildup, but not at all comparable with surface pumped hydro based on blocking valleys, due to the cyclic nature of the water flow in the hydrostor facility. And occasional cleanout (measured in decades or centuries?) will be trivially cheap compared to construction cost. Very much unlike cleanout cost behind valley dams, which are would-be cleanout costs because that never ever happens as it would utterly dwarf the cost of the original dam. There's been an article linked here a few months ago (can't find it, unfortunately) about how the total capacity of pumped hydro is getting increasingly smaller each year, despite new sites getting built. This is because sedimentation already outpaces the buildup, and it will only get worse the more we build. The volumes accumulating behind a dam are just too big, unless you have zero natural flow from rainwater (and then just getting the working volume of water to the site would be prohibitively expensive, per capacity, even before you factor in evaporation - the cycle capacity per unit of water is just so much lower than what a hydrostor site would achieve with its much larger head plus the energy stored in air compressionand heat)

comment 2y ago · link · parent

One thing that hasn't been mentioned in siblings yet: the bulk of the money, more if you lean further towards capacity in the capacity vs throughput decision, is in the excavation. This is not only a "forever" investment, it's also money spent on the local economy. This isn't the case at all for battery cost, unless you happen to be the world center of the battery business, all the way from mine to recycling.

Another aspect, completely unrelated and I'm not sure hydrostor already makes that part of the design (but it could totally be introduced later, without invalidating any of the excavation investment): some of the energy stored in an A-CAES system is stored as heat. When you do need heat, for a district heating system, for a swimming pool site or whatever, you can decouple some of the heat from the pressure storage. Worst case some of the joules repurposed end up missing in discharge, but it's also possible that they are simply joules not lost to cycle inefficiency. And if you happen to need cooling (datacenter on site?), at the time of discharge you can just keep some of the stored heat untapped, substituting with energy from the warm end of the coolant cycle that you want to freeload on the A-CAES. Compared to other waste heat/cold coupling schemes, at hydrostor pressure levels you would get considerably higher heat/cold deltas to work with. Huge potential, and with the reservoir shaft having very few site requirements, coupling opportunities should be plentiful (as compared to e.g. opportunities that only ever arise in remote valleys)

comment 2y ago · link · parent

They don't really release water into the cavern, they release air out (through the turbine stages). The water is never really held back. It's a floating counterbalance for keeping the air pressure constant (or mostly constant, considering surface reservoir level differences which would never exceed a tiny fraction of the total water head, unless the facility runs into extreme water shortage)

comment 2y ago · link · parent

I know of some pumped hydro sites that have been given up due to opex, with no clear change of mind due to changing circumstances in the decarbonisation age yet in sight. What they do have in common, I think, is low head. There's just a lot of water to carry traces of sediment into the mechanism, and so much reservoir ground to keep from leaking for a given amount of capacity.

But you don't arrive at isobaric storage looking at mineshaft pumped hydro wondering if it could be improved upon. You start looking at constant volume (A-)CAES, either in high pressure tanks at/near the surface or in salt caverns, and go from there, what of we did not have to deal with a very wide range of operation pressure.

comment 2y ago · link · parent

Compressed air and water head are in a balance, my physics instincts strongly suggest that the hypothetical sum is 2x the amount of energy stored by raising the water alone. But just like you I do hope that my instincts are missing something!

(see nephew comment https://news.ycombinator.com/item?id=40273030 )

comment 2y ago · link · parent

I do wonder, regarding the hydrostor approach, if the stored energy (theoretical best, excluding all losses) is 2x the amount that would be stored if it was just the water head (mass x height), with air displacement served by an open connection to the surface, or if there can be more to it:

Constant volume CAES would store energy without any water lift involved, and with water mediated constant pressure CAES the lifted water is added to the amount of energy contained in the "air spring". But that's balanced at equal force in the force x surface area x underground reservoir level system. My bird's eye view understanding suggests that it would come down to 2x the amount of energy stored in either (minus losses, of course) due to the balance. Is that the maximum energy a water-column mediated constant pressure A-CAES could hold, per water displacement volume x head height, or am I missing something? That 2x would surely be an improvement over conventional mineshaft pumped hydro, but it would also define a somewhat sobering limit to the amount of theoretical best case capacity.

Minor but perhaps very relevant detail: afaik, or rather as far as I don't know, hydrostore aims at a shaft depth equivalent to a pressure either right below of where pure CO2 would liquefy, or right above where that happens (no idea about the boiling points of N2, O2 and all those other main components of ambient air). I think the target depth is not quite that deep, as in carefully avoiding the "transliquid" range (as in transonic).

comment 2y ago · link · parent

> with a pretty wide range of places it can be implemented

How so? Yes, if you dammed up most valleys you could build a lot more capacity than humanity currently has, but that's because we don't really have that much. A factor of two or so might be well within range. But the total amount reasonably buildable simply isn't enough, except for some very local scopes where demand is low in both energy and in other use for the landscape that would be taken over by reservoirs. And that's before you start considering the geological realities required for actually building a dam, you don't just need the geometric shape of a valley, you need the bedrock to brace the dam against and the impermeability of the ground required to not have leakage wash out pathways for ever increasing leakage. Viable sites for pumped hydro are extremely rare and quite a few have actually been given up decades after building the dam, because the geology wasn't quite as cooperative as hoped.

The promise of deep site water head CAES is that you can just throw money at the problem (excavation) and get as much capacity as you want to buy. The price per capacity is higher than that of a low hanging fruit pumped hydro site, but many of those buildable have already been built.

comment 2y ago · link · parent

Israel has never formally left behind the "make it up as you go" spirit of the founding days. Not entirely surprising considering that they've never had a lack of more pressing problems. But a "who needs rules if we are all friends" attitude certainly seems a bit anachronistic by now, and really not a good fit for the reality on the ground.

But I make it the centerpiece of my best-case scenario for the region: imagine that gap left by the absent constitution getting filled by something aggressively secular, with a strong set of entrenched clauses (aka eternity clauses) protecting individual religious freedom from any majority shifts that might happen. Perhaps even with some strong federal element enabling peaceful growth (and Brexit-like shrinkage) like the EU. I'm certainly not holding my breath, neither expecting Israel to come up with anything like that (despite their internal made-up-as-they-went not being terribly far off, I think) nor this having any effect on countries refusing recognition. But then what other best-case scenarios are there?

comment 2y ago · link · parent

Doesn't say much about legality on paper, not even about how much of an invitation to selective enforcement it is, but looking at the Strava global heatmap through the lense of political systems is quite interesting: quite a bit of tracking in continental China, Cuba has more than Haiti. North Korea is a near-perfect blank, you can easily tell which islands belong to the south. The one spot where some tracking was registered is the ski resort they built in 2014 (apparently with a pre-used gondola system that i rode on when it was still in Ischgl). According to german wikipedia, a central excuse for building a ski resort was trying to attract tourists from China?

comment 2y ago · link · parent

Rigid flight needs exactly this, rigidity. But we do have inflatable flight: paragliders, first flight only a few years after the inflatoplane. Inflated only by the dynamic pressure from forward movement, but they make up what they lack in pressure differential with using more bracing wires (much more). But the inflatoplane relies on bracing wires as well, so the difference could be considered surprisingly small.

comment 2y ago · link · parent

But when do you really need a structure that has this exceptional strength on the happy path, but would still be good enough in terms of safety when pressure is lost?

Unmanned aviation comes to mind, but the ratio between structural mass and battery+payload is already so low, even a zero-mass structure would not make a meaningful performance difference. It's all about the battery tech.

Scaling up foil boating perhaps? Carbon fiber construction would certainly appear like a good candidate for taking advantage of being pressurized, and I perhaps naively take it as a given that materials is the major limiting factor in scaling up.

comment 2y ago · link · parent

Separate facilities for work and life, interconnected by a rollercoaster commute. What else has sci-fi left out?

comment 2y ago · link · parent

One key difference is that those celebrities of old were famous for things quite disconnected from the thing they endorsed. And even when it was close (athletes endorsing sports gear, Hollywood beauties endorsing hair products) the "they are getting paid for the endorsement" was still nicely disconnected from what they were faimous for. Most influencers are famous for voicing an opinion on stuff. The stuff they are paid to praise. This seems as if it must be even more obvious, with the fame and the business so well aligned, but somehow this alignment appears to enable the fame to outshine the paid nature, like a person standing between a car's headlights would be perfectly invisible despite getting quite some scatter light on them. When the endorsement is orthogonal to the fame, perceiving it as what it is turns out to be much easier.

comment 2y ago · link · parent

Aka missing out on all the delicious profiling information approaches with later translation enjoy. There's no simple best answer.

comment 2y ago · link · parent

Many things that can't be expressed in a given type system can still be expressed quite nicely in code generated for the domain data. You might experience some name elements getting forcibly moved from the types universe into accessor method names. This is state representation (hopefully!), not the CORBA-era's pipe dream of magically remoting arbitrary objects across space and languages.

If for some reason your problem does involve tapping the depth of typescript type expressivity (the elaborate rule systems expressed in maplibre style JSON come to mind?), you'd better have the closest approximation you can get on the other end of the line.

comment 2y ago · link · parent

Feels like cheating, next to the yaml of openapi anything will look good. And that's all while I'm still considering openapi one of the best things that have happened.

But I've also been kind of holding my breath for typescript making it's breakthrough as a schema language. More specifically its surprisingly big non-imperative, non-functional subset, obviously. And at first glance this seems to be exactly this, "what if we removed javascript from typescript so that only typing for JSON remains and added some endpoint metadata description to make it a viable successor to openapi and wsdl.

comment 2y ago · link · parent

But what's giving it it's seemingly clear cutoff boundary? I have trouble imagining anything in the nothingness of space taking the role of the forces that shape our atmospheric clouds. It feels a bit as if it was some arbitrary artistic decision like that 2001 slit scan or the Solaris ocean. Then on the other hand of course it's amongst the few most "artistic" ones picked from all those super tiny projection viewports we have taken from the sphere of view directions, so perhaps we should not be all that surprised. It's not quite the level of unlikely discovering a planet populated by mattresses would be.

comment 2y ago · link · parent

They absolutely do come with a goldilocks problem attached, best used in moderation, and require a bit of an aesthetic to develop. But what doesn't. What appears "clever" to the reader is actually dead simple train of thought coding at write time, with many types of bugs waiting to bite in an imperative implementation simply not possible.

That's why I like writing scope-heavy and then transforming to an aesthetic middle ground between scope expression and imperative. Name stuff when you have something meaningful to say, when there's something helpful to express in a name, not when the syntax mandates a locally unique ID.

comment 2y ago · link · parent

Really, top level functions? I fail to see their impact, outside of getting rid of ceremony around trivial code examples.

You missed optional and named arguments in the list, those really change cost/benefit decisions in API design. (and, unfortunately, make argument names part of the public interface, this must be the most controversial part in all of kotlin)

I singled out scope functions because all those other things feel very much like the usual set of language differences, whereas scope functions feel completely orthogonal. They could be added to every single language that has excursions and imperative elements, and they would be about the same improvement everywhere.

comment 2y ago · link · parent

Scope functions are still huge. Yes, deep let chains can certainly be considered an antipattern (sometimes I like the approach of writing them, then transforming to more imperative for readability, I think readability peaks at a mix of imperative with some shallow .let), but I miss them in any language that is not kotlin.

Variables should be the exception, not the norm. I have no patience for names that designate some fluid work in progress instead of a value.

comment 2y ago · link · parent

You can, you can even call the kotlin version that way if it happens to be on the classpath, but it's truly horrible ergonomics if for every call you have to guess between class-ref-otherargs and ref-otherargs forms. It's one of those little cuts you grow numb to.

comment 2y ago · link · parent

But null is still null, a very special non-reference signifying absence. And not some pretend-object that walks like a valid reference, swims like a valid reference, but somehow doesn't quite quack like one. The problems surfacing as an NPE don't magically go away by null-less approaches, they just bite you at different times, in different form. Sometimes sooner, which is good, but sometimes also later. Java made null worse by not taking nullability into the type system (these days nullability annotations do a tolerable job at pretending it was) and lacking scope functions that make it easy to check without the eyesore of flooding local scope with names. Kotlin is really awesome for not falling into the trap of chasing the pipe dream of a world without absence.

comment 2y ago · link · parent

Lots of openings that offer in-country full remote (or something like full except for a quarterly meetup) in Germany. The impression I get is that the reasoning goes "if we tap the country-wide remote pool the perfect skillset match will become a reality" (but the aggregate supply/demand mismatch won't really change for non-niche demand, it just means even less acceptance for not quite perfect matches)

comment 2y ago · link · parent

So many years in my case that I'm really not sure that the counter would still hold.

comment 2y ago · link · parent

How about "I'm building this thing and I want it to enjoy the unique combination of performance and memory safety offered by this technology"?

It's certainly close to (1), but also a perfectly rational way to be a The Rust Way fundamentalist avoiding refcounting and unsafe who appears suspiciously (2).

The "rewrite in Rust" meme surely does not come from thin air and there is certainly some skill honing and challenge seeking involved. But perhaps a rewrite ever couple of decades isn't all that bad? And if it isn't, could there be a better time for it than "in Rust"?

comment 2y ago · link · parent

> being able to search for functions by type signature is just plain convenient.

It's certainly not all the way there, but now that we are over the mostly empty promises of encapsulation and (worse) trying to model the world with classes, but grouping by that implicit first argument type for discoverability is exactly what OOP is, in this age of post-OOP.

The "you're not trying hard enough" position reminds me a lot of the Scala community's disdain for java-in-scala-syntax: if you don't use it like an almost-Haskell you're on your own (1). Here, I think Rust is actually more open: I don't read too much of the community, but most of what I saw seemed to be quite welcoming to the idea of placating the borrow checker with refcounting when "the rust way" fails to sufficiently click.

((1) but with Kotlin having taken over the entire not-almost-Haskell part of scala it's not an issue anymore: is has its niche and it fills it well, no more taking over the entire JVM while also magically converting everybody into an almost-Haskellian)

comment 2y ago · link · parent

Yeah, it doesn't really read like it matches much with the claim of the article that htmx is the rebirth of the MPA.

But then on the other hand, the picture that builds in my mind turns more and more into "SPA, but everything is declarative" (except for extensions to the declarative toolkit that are easy to keep separated from domain code), and that could really be quite awesome. More so when you come from an MPA background anyways. (or when your codebase comes from an MPA background!)

comment 2y ago · link · parent

Why useless? Not an authentication scheme to and all other authentication schemes, but certainly a (much) better successor to the login cookie?
1
192021
196