How do I change total produt amounts in an Indusrty?

TSwenson

Active member
How does one change the overall total amount of product available in an industry? My problem is that I found that one of the industries on my layout has a total capacity well below that of the train that is delivering the product. I have found that it consumes (at maximum settings) about 3 2/3 carloads out of a 20 car train. I rather like the look of the structures and have everything set in its outward appearance. Looking at the problem I thought to change the scripting involved would be a relativly easy solution. Unfortunately I have been unable to find any instructions on how to do this, as I'm not suficently confident in my computer skills to do this without some help. So if you know how to do this or where some instructions are i would greatly appreciate the assistance.
 
1. Firstly, it might be worth checking whether anyone has created a Rule to do what you want. I think that should be theoretically possible and would be the best solution by far.

2. For non-built-in items you can edit the industry's config.txt file. Bear in mind that editing the file will cut you off from support by the industry's creator, and it will affect all activities which use the industry. It's obviously best to keep a backup copy of the original file.

Queues are the input and output areas of the industry. Processes consume or create products.

In the queues{ } section:
The size tag specifies the maximum stock level in product units (not mass units).
The initial-count tag specifies the initial stock level in product units.

In the processes{ } section:
The duration tag specifies the industry's cycle time in seconds. As this is probably coordinated with the industry's animations, it's probably best left unchanged (I guess).
The amount tag specifies the rate of usage or production in product units per cycle. It must be a whole number.

3. Alternatively, in a TRS2004 scenario the GameScript coding can call API functions to adjust an industry's parameters without any need to edit the config.txt file. The details are quite complicated though, especially if more than one product type is possible.

HTH, John
 
OK, so...

Well thanks for the timely replies so far.

John, tried looking on DLS for a rule with no luck, perhaps it is there but not evident by title or discription. In addition sounds like maybe I should drop a note to the industry's creator to see if they could help. The last part of your sugestion sounds like a bit more than I'm willing to deal with, at the present.
 
If it's COAL you're unloading and you have trouble getting all the cars to unload at the industry (and load and the producing mine), just change the Max. Load to around 8,000 - 10,000. You will probably have to delete "coal" from the product catagory, click off the green checkmark, then re-open the window to change the Max. Load, and re-select "Coal."

CoalLoad.jpg


This will work with other products, too, I think.

Hope this helps.
 
A novel approach

That is a novel approach to the problem Davesnow. Must be one of those outside the box ideas. I'll try it on my "Experiment" layout.
 
Hi,

To change the max load amount that an industry or wagon can carry, you will have to edit the config.txt file and change the size tag in the queues section as John said above.

Remember though, if you change it, the change will only effect "your" game, so if you upload anything to the DLS it changes will not effect someone else, the size will go back to the default setting.
 
How about consumption rates?

I think the max storages add to the challenge of session building in TRS (I'm running 2006). So, I'd rather reset consumption rates to get the action I want.

For example, on one map, it takes about an hour to run under AI from mine to generating station - and the same for the return. I wanted a loaded train running toward the power plant and an empty running toward the mine so that other commodity trains running under cab mode would always have to be on the alert for other traffic.

So, I set the power plant consumption rate to empty the bunkers in just over an hour. If I remember rightly, 12 of the Philskene coal hoppers, with default max loads, would just about fill the power plant bunkers, so that is the length of each train. The loaded coal train arrives within a few minutes of power plant shutdown, unloads, and heads back to the mine -- and the power plant never does shut down.

A bigger challenge is offered by a refinery if you want some degree of realism. According to several sites on the internet, maximum diesel production of a refinery approaches only 20% or so of total production. So, petrol and avgas tanks fill well before diesel reaches a level you might want to transport somewhere. And, of course, when one of them is full, production of everything shuts down. So, you have to figure out how to handle those two commodities along with the diesel if the latter is what you are after.

Dick
 
A bigger challenge is offered by a refinery if you want some degree of realism. According to several sites on the internet, maximum diesel production of a refinery approaches only 20% or so of total production. So, petrol and avgas tanks fill well before diesel reaches a level you might want to transport somewhere. And, of course, when one of them is full, production of everything shuts down. So, you have to figure out how to handle those two commodities along with the diesel if the latter is what you are after.

Dick

Hi,

You do know that you can "disable" the Petrol and Avgas production if you only want Diesel, just set the production of the them to 0 for both, this way the Refinery will only produce Diesel. Or you could "slow" the production down by setting the production amount to something low, like 500 or 1,000 for example.
 
Yeah - but, again, that is not very realistic in refinery operation. A barrel of crude only has so much of the fraction from which to produce diesel - something has to be done with the rest, so I try to set the rates for petrol, avgas, and diesel to realistic proportions. Anyway, it adds more to the game to have to take care of the petrol/avgas portion so that the refinery produces enough diesel.

Dick
 
Back
Top