Factory/Refinery maximum monthly production?

OpenTTD is a fully open-sourced reimplementation of TTD, written in C++, boasting improved gameplay and many new features.

Moderator: OpenTTD Developers

jonathanrhys
Engineer
Engineer
Posts: 1
Joined: 23 Feb 2010 02:21

Re: Factory/Refinery maximum monthly production?

Post by jonathanrhys »

I think the limit is 6000 items.
Eddi
Tycoon
Tycoon
Posts: 8289
Joined: 17 Jan 2007 00:14

Re: Factory/Refinery maximum monthly production?

Post by Eddi »

according to Rubidium, MoveGoodsToStation is called in the tileloop and can move at most 255 items, so the limit is 255 items per tile every 256 ticks
User avatar
PikkaBird
Graphics Moderator
Graphics Moderator
Posts: 5631
Joined: 13 Sep 2004 13:21
Location: The Moon

Re: Factory/Refinery maximum monthly production?

Post by PikkaBird »

How odd. :)
User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9432
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: Factory/Refinery maximum monthly production?

Post by planetmaker »

What Eddi quotes can be very nicely verified in some of our PublicServer games where we tried to get as much industry output as possible. The cap for secondary (and tertiaray,...) industries is at exactly that limit.
MiracleCure
Engineer
Engineer
Posts: 34
Joined: 11 May 2009 23:38
Location: Edinburgh!

Re: Factory/Refinery maximum monthly production?

Post by MiracleCure »

So to recap (if I've read the posts correctly), there is a hard limit on the amount of Goods any particular original industry can create from delivered raw materials. This limit is based on the number of tiles the Industry covers and has no relationship to the rate of removal of created goods from the industry.

However I've just found this:
Standard day length is 74 ticks. This means a month length is from 2072 to 2294 ticks. Industry production callback happens every 256 ticks. And this means it happens 8 or 9 times a month.
For OTTD there is a "daylength patch". The patch changes how many ticks there are per game day (e.g. daylength factor 2 means 148 ticks per day instead of 74 and thus, a month also has twice the number of ticks). This means a daylength factor 2 will change month length up to from 4144 to 4588 ticks. And, because production callback happens every 256 ticks, this means production callback happens 16, 17 or 18 times a month
on a flyspray page that Google turned up.

So using the daylength patch will change the maximum amount of produced goods per month for industries it seems.

Certainly clears up my initial questions, thanks all.

As a follow on, conversion rates of raw materials to goods... as I understand it, it is 1 unit of raw material to 1 box of goods, how many tons/litres/animals make up 1 unit? Think I read a long time ago that oil is 1000 litres to 1 unit but what are the rest?

Hopefully this thread has been useful to more than just me.

Cheers

Miracle
Eddi
Tycoon
Tycoon
Posts: 8289
Joined: 17 Jan 2007 00:14

Re: Factory/Refinery maximum monthly production?

Post by Eddi »

the difference between the effects that daylength does have, and which effects it should have, are heavily disputed, that should not be part of this discussion...
User avatar
Voyager One
Tycoon
Tycoon
Posts: 11204
Joined: 28 Dec 2009 09:47
Location: Rijeka, Croatia

Re: Factory/Refinery maximum monthly production?

Post by Voyager One »

With all this written here, I might have found the explanation for my enormous ammounts of produced goods. I was using the manual industries grf which allows setting production levels manually and it might have disrupted normal behaviour of industries. I can't be sure of this but it's a thought...
Leon

Image Image Image Image
"... all I ask is a tall ship and a star to steer her by..." - John Masefield
MiracleCure
Engineer
Engineer
Posts: 34
Joined: 11 May 2009 23:38
Location: Edinburgh!

Re: Factory/Refinery maximum monthly production?

Post by MiracleCure »

Eddi wrote:the difference between the effects that daylength does have, and which effects it should have, are heavily disputed, that should not be part of this discussion...
That's fine Eddi, I have no experience of the daylength patch what so ever, I just happened to find this particular quote when I googled "OTTD Ticks" to get an understanding of how ticks related to days + months and thought it might have relevance to this discussion...
jasperwillem
Engineer
Engineer
Posts: 37
Joined: 26 Apr 2006 15:40
Location: Netherlands

Re: Factory/Refinery maximum monthly production?

Post by jasperwillem »

MiracleCure wrote:
Eddi wrote:the difference between the effects that daylength does have, and which effects it should have, are heavily disputed, that should not be part of this discussion...
That's fine Eddi, I have no experience of the daylength patch what so ever, I just happened to find this particular quote when I googled "OTTD Ticks" to get an understanding of how ticks related to days + months and thought it might have relevance to this discussion...
Amazing, you made the connection, never thougth of it.
jasperwillem
Engineer
Engineer
Posts: 37
Joined: 26 Apr 2006 15:40
Location: Netherlands

Re: Factory/Refinery maximum monthly production?

Post by jasperwillem »

Hey all,

Have now a oil refinery pumping 31479 goods out, I am not yet pumping in the max... so I will post a printscreen when I reach the max.

Cheerz,
MiracleCure
Engineer
Engineer
Posts: 34
Joined: 11 May 2009 23:38
Location: Edinburgh!

Re: Factory/Refinery maximum monthly production?

Post by MiracleCure »

Here you go. 34,425.
Ruthless Railroads Plc, 11th Apr 2068.png
Here is the loading station at the other end of the line, this is during a slight hiccup in Oil supply causing the platforms to fill up with waiting trains...
Ruthless Railroads Plc, 9th Aug 2068.png
However just under a month later, after a hundred million or so liters of Oil got dropped off its starting to clear out and start flowing again.
Ruthless Railroads Plc, 26th Aug 2068.png
There is 1000 trains running this.

I have signals in tunnels included btw before anyone says anything about the obviously very long tunnels that underpin my station philosophy
jasperwillem
Engineer
Engineer
Posts: 37
Joined: 26 Apr 2006 15:40
Location: Netherlands

Re: Factory/Refinery maximum monthly production?

Post by jasperwillem »

Have reached it also:
28 trains ingoing, 12 trains outgoing,  1 dock
28 trains ingoing, 12 trains outgoing, 1 dock
Post Reply

Return to “General OpenTTD”

Who is online

Users browsing this forum: No registered users and 10 guests