OK, the more I look at the economy system, the more I find how broken it is. I tried decreasing the stability of everything to 1, under the idea that stability would be based on the modifiers (military base, outpost, regional capital, etc) it would drive the economy to supply/demand. Unfortunately, as the demand gets met on a planet, it increases the stability of the planet, driving up the prices, meaning that now more places want to trade with that planet, filling its demand even more. Also, despite the no variability in the price of Planet/Asteroid scanners according to the csv file, without trading hubs (stability 10), the price of a scanner is variable based on stability.
Stability seems like a super broken mechanic from the base game, where trading is nonexistent. Right now if you don't care much about rep (and when you can pay just 1k per rep point, you really don't care), you can already flood the black market of a station, dropping its stability by a ton. This makes all the other goods cheaper, and then you can buy up the open market. Haven't run many tests to see if I can make a ton of money from it, but the logic of the port being: "So I hear we just got a TON of hand weapons smuggled in yesterday." "Yeah, I'm gonna have to drop the price of my metals to about half of what it was now!"
I think just reducing trade disruptions' impact, or possibly just trying to factor in how many fleets were lost into supply/demand would solve some of the trading problems. Right now, trade disruptions don't make a lot of sense. It feels like the logic goes something like this: "Sir, we lost 2 fleets of ships carrying a week's worth of fuel to us this last week, but we still have enough fuel for another few months." "DOUBLE THE PRICE OF FUEL FOR THE NEXT TWO WEEKS!"
I'm pretty sure making a procedurally generated economy not broken is even harder than making a handmade economy not broken. If you have an idea to make it work, then it could be fairly awesome. However, given how broken the economy system is already, I'm hesitant, and don't think anything more than touching it a little bit is going to be worth the time investment.