How to calculate laser turret energy demand?

Don't know how to use a machine? Looking for efficient setups? Stuck in a mission?
waduk
Filter Inserter
Filter Inserter
Posts: 372
Joined: Tue Feb 10, 2015 5:44 pm
Contact:

How to calculate laser turret energy demand?

Post 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 ?
User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12889
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: How to calculate laser turret energy demand?

Post 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.
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
waduk
Filter Inserter
Filter Inserter
Posts: 372
Joined: Tue Feb 10, 2015 5:44 pm
Contact:

Re: How to calculate laser turret energy demand?

Post by waduk »

Ahhh,...
Thank you so much ssilk!
I'm gonna calculate things ! This is so awesome !
Post Reply

Return to “Gameplay Help”