Wouldn't a simulated market achieve somewhat the same, assuming all enterprises are run collectively? The price affects the demand, availability, cost to produce, time to produce, ability to produce and ability to transport to any given location.
Let me give you some examples.
In a simulated market, all items are threaten according to their oneness, IE some variant of a biscuit has a different ID than another, but all biscuits type A made by some company x are equal, thus they are under the same ID.
The price is determined by how much demand there was from the factory and how much supply there was from the factory, or whereever it is produced. All places where labour (mechanical of human) is done to make commodities (goods, services) are approached this way.
All means of production are owned collectively by society/the state (or whatever you want to call it) and produce to achieve the best cost efficiency, being marginal cost == price set by market system.
For example, a bakery makes bread. Customers buy bread. If the supply of bread made by the bakery, following the above rules, does not statisfy the demand of the customers, the price will be increased by the market system. This will both decrease the demand, and increase the amount the bakery can produce. If the demand for the bread is lower, the price will be lowered. This will mean that the demand will increase, and the amount of bread that can be made will decrease. Over several iterations, this will result in the market price being in a perfect equilibrium with the production capacity, when taking into account the overall demand of society, the availability of all resources and the costs of production.
Now lets scale this up a bit. A forge would make iron bars and sell it at the price set by the market. This price is set the same way as any other. 2 Different factories both want to buy iron bars to produce their products. The demand will increase and the price and production will balance out to a new, efficient equilibrium, allowing both factories to buy the iron bars in proportion to their funds.
In turn, their funds depend entirely on how much society needs their products. If almost noone wants their product, their price would drop, their production amount would drop. Due to their production dropping, the amount of iron bars they need also drops, causing the price in the iron mine to decrease, allowing the other factory to buy more iron for less money, making their marginal cost drop and thus their production increases, meaning that their prices will drop.
In the end, all demand in this system will depend on the buying patterns of society. Transport costs are accounted for, vitality is accounted for (since people will always choose to buy vital products over non-vitals), scarcity of resources is accounted for, demand and supply is accounted for and production time is accounted for. This system even allows for competition between different companies, if wished for, such as different variations of food items, or efficient production of homogenous goods.
This system has several large advantages over the current market system. For one, the workers operate the means of production, but no profit it made. All workers get a normal wage, which can be limited between two extremes by law. This assures workers get roughly the same amount of buying power, assuring that the simulated market accurately reflects the wishes of all of society, proportionately.
In addition to this, modifiers can be enacted on the prices, making prices artificially higher in some products to account for externalities such as environmental damage and whatnot.
Lastly, the state can (and must) put a tax/profit margin on each workplace, as a percentage of the *added value*. This money is then used to pay social dividends to all members of society, levelling the incomes even more and allowing members of society to easily bridge or altogether forgo employment if they need or wish to do so. The incentive of extra pay from a job will ensure that there will be people working in the production jobs.
The other part of this profit margin is then used by a (in my case) democratic body which uses this money to expand the capital of society in accordance of the wishes of society. If people wish for certain products to become cheaper, the money will be invested in increasing the capacity of those sectors, and increasing efficiency. One could also choose for a self-investment percentage to all workplaces to allow them to grow by themselves.
The hight of this profit percentage will depend on what society deems more important. A lower percentage means that prices will be cheaper, but a higher percentage means part of societies produce is used to create new capital, meaning, in the short term, higher prices.