I think you are getting at a different issue here, which is the fact that even with zero available input (say, zero Coal for a Steel Mill) you still get some level of output. The issue we are actually talking about in this thread IS the big sector players and their ability to teleport products overland. I mean this is an era where a defining theme is the expansion of railroads and other forms of transcontinental infrastructure. And yet the game doesn't really have very much to say about why that would happen or how it would be useful besides a vague hand-wave at "infrastructure," and then the even greater magic of "Transportation" as a good.
No I was responding directly to the issue that I quoted. Which while it isn't what the OP started this thread about it is where the last few comments brought us. Please stop straw manning, no I wasn't talking about zero production is treated as more than zero. I was explaining why I feel the Buy/Sell orders and not having them need match is a suitable abstraction. And why I feel we do not need a 100% closed system that tracks all goods from creation to consumption and the path it takes to get there which will be a computation nightmare and open a different can of worms.
For the transportation questions...
For intra-national markets, it seemed like infrastructure and sub-100% market access was going to be the issue be that added cost layer but currently it is too simple to maintain 100% access. Convoys appeared to be the cost for inter-national but there is still the specter of over-land paths which needs an overland path from market center to market center).
Yes, but the question is how frequently do you do those things, what level of abstraction do you do them at, can you spread them around, etc. For example if a new building is built, do you really need to immediately recalculate the price? Do you need to calculate every single pop's wood vs coal vs electricity heating decision, or can you just calculate per stratum per state? Can that maybe be pushed off to monthly? Etc. Ironically one of my other beefs with the game is the ability to instantaneously switch an entire sector of your economy, with an immediate change on prices. Maybe if I switch 100+ levels of Lumber Mills to "Hardwood focus", it would be OK if the price didn't actually change that week. Maybe a month would be fine.
By constantly I was meaning every time through where they normally do it. It seemed you were implying that it wouldn't have to be every time and only need special triggers. I was indicating that there are so many things that are triggers that it probably would take more time determining if it should run than it would take performing the rare times it runs and didn't need to.
You would want to iterate across all the PoPs as their situation will possibly change the answers to the questions and maybe even the questions. Slowing down the period when the question is asked only makes the system lag (though the system is already lags as I believe, barring shortages, the amount of substitutions has a bit of inertia to it). Do you really want your Pops to starve because the amount of grain reduced on the second of the month but they don't recalculate their food until the first next month?

Also it is not just heating depending on wealth level there are anywhere from 4 to 9 different classes of goods that have substitution options.
You would want your pathing to change when you are changing to "Hardwood" focus so you can tell where the new hardwood is going and where the softwood shortages will be so you can address that. So the PM change takes from 1-30 days to implement depending on which day you did the update? Unless you are suggesting a month after the PM changes which mean that any day could be a rerun the where everything goes algorithm and since there could be changes in shortages to other factories it would then add/remove other goods causing other knock on effects.
I believe the longer the time period the less stable the system will be.
And if the alternative is the current system, maybe something else needs to change. Maybe there are some .json optimizations they can do as well, who knows.
The algorithms needed wouldn't be helped by .json optimizations.
Personally I would add a market layer between the National Market and the State Market before I would ever want to change to a closed system with goods tracking.