News:

Simutrans Forum Archive
A complete record of the old Simutrans Forum.

Factories Boosts and Demands

Started by An_dz, January 08, 2013, 03:25:09 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

An_dz

I'm a little confused how factories boosts and demands parameters works. I've read this post but still don't understand entirely.
Quote from: Dwachs on April 04, 2011, 06:33:18 PM# Increase of production in permill if electricity demand is supplied
electricity_boost = 1000
# Max electricity per production unit consumption
electricity_amount = 65535
I'm guessing that electricity_amount is the maximum electricity in MW needed for every unit in productivity parameter. And that electricity_boost is how much in ‰ the productivity parameter will enlarge if all electricity is supplied.

Quote from: Dwachs on April 04, 2011, 06:33:18 PM# Demand on passengers and mail per production unit and time
# default values are 65535 (fall back to old behavior)
passenger_demand = 65535
mail_demand = 65535
# if these demand figures are not supplied, then passenger_demand = pax_level, mail_demand = pax_level / 4 is taken
#
# Increase of production in permill if passenger / mail demand is supplied
passenger_boost = 0
mail_boost = 0
Those I guess work like electricity, but how long the boost will have effect?

TurfIt

Duration of the boost effect depends on the settings. From simuconf.tab:
Quote
# number of periods for averaging the amount of arrived pax/mail at factories for boost calculation
# one period represents a fixed interval of 2^18 ms in-game time
# value can range from 1 to 16, inclusive; 1 means no averaging; default is 4
factory_arrival_periods = 4
For the defaults: _periods=4, bits_per_month=20, a load of pax arriving at a factory will 'expire' after one game month.