Page 1 of 1

How to calculate laser turret energy demand?

Posted: Thu Mar 05, 2015 4:56 am
by waduk
Like the title said, how do i calculate such thing.
I made a simple test using single laser turret in independent electrical network against biters, but the energy demand doesn't makes sense to me (the info said it will draw 600KW), but many times it's only draw 400kW, but other times it can jump to 800-ish KW even more.
I read the wiki, not much there, using forum search result giving me this :
https://forums.factorio.com/forum/vie ... 556#p45556
Quote
After reading that, i'm getting more confused.
Heellp..really newbie here...just playing this game for 1 week or so..

Edit:

Ooh, one other thing, the range for Gun turret is 15-16 tiles and Laser is 25 tiles ?

Re: How to calculate laser turret energy demand?

Posted: Fri Mar 06, 2015 12:52 am
by ssilk

Code: Select all

      "electric-turret": {
        "laser-turret": {

          "attack_parameters": {
            "ammo_category": "electric",
            "ammo_type": {
              "action": [ {
                "action_delivery": [ {
                  "projectile": "laser",
                  "starting_speed": 0.28,
                  "type": "projectile"
                } ],
                "type": "direct"
              } ],
              "category": "laser-turret",
              "energy_consumption": "200kJ",
              "type": "projectile"
            },
            "cooldown": 20,
            "damage": 2,
...

          "energy_source": {
            "buffer_capacity": "201kJ",
            "drain": "6kW",
            "input_flow_limit": "1200kW",
            "type": "electric",
            "usage_priority": "primary-input"
          },
(JSON-Output from the FactorioLoaderLib https://github.com/alexaulbach/FactorioLoaderLib )

One shoot takes 200 kilo Joule. Then the laser cools down 20 ticks (1/3 sec). The input-flow to relaod is limited to 1200kW (1200 kW * 1/3 sec = 400 kJ, double as much as needed). the buffer is 201 kJ, one Joule more than needed. The steady drain, if not fireing is 6 kilo Watt.

If you take the needed energy to shoot one shoot (200 kJ) you can calculate, how much energy is needed to shoot one biter and compare that with the needed energy to create one piercing bullet. Such calculations are important to know the real cost of something.

Re: How to calculate laser turret energy demand?

Posted: Fri Mar 06, 2015 5:50 pm
by waduk
Ahhh,...
Thank you so much ssilk!
I'm gonna calculate things ! This is so awesome !