[boskid][2.0.12] Loader entity with energy source does not operate at advertised speed
Posted: Wed Oct 30, 2024 2:30 am
Loader entities that have an energy source configured may not operate at the correct speed. The loaders (and belts) below, from the top down, are supposed to operate at the following Item/s speeds:
3.75
15
30
45
60
90
135
180
225
270
The displays show the item rate passing by x100. In the upper picture the loaders do not have an energy source and operate at the expected speeds. The lower screenshot shows loaders that consume electricity. If a loader has a speed between 60 and 120 items per second it will only output 60 items / second. At 120 it will start outputting 120/s. Then several speeds above 120 only output 120/s until around 225/s. Strangely the 270/s drops below the 180/s loader.
All of the belts connected to the loaders are the appropriate speed. Using faster belts on the the loaders does not change the behavior.
The mod providing the loaders has as mod setting to add or not add electricity consumption.
Edit: Forgot to put a version in the title.
3.75
15
30
45
60
90
135
180
225
270
The displays show the item rate passing by x100. In the upper picture the loaders do not have an energy source and operate at the expected speeds. The lower screenshot shows loaders that consume electricity. If a loader has a speed between 60 and 120 items per second it will only output 60 items / second. At 120 it will start outputting 120/s. Then several speeds above 120 only output 120/s until around 225/s. Strangely the 270/s drops below the 180/s loader.
All of the belts connected to the loaders are the appropriate speed. Using faster belts on the the loaders does not change the behavior.
The mod providing the loaders has as mod setting to add or not add electricity consumption.
Code: Select all
if settings.startup["mdrn-use-electricity"].value then
entity.energy_source = {type = "electric", usage_priority = "secondary-input", drain = "2kW"}
entity.energy_per_item = "4kJ"
end