Conversion between W and J

Place to get help with not working mods / modding interface.
User avatar
Dysoch
Filter Inserter
Filter Inserter
Posts: 445
Joined: Fri Oct 18, 2013 2:27 pm
Contact:

Conversion between W and J

Post by Dysoch »

What is thegoing rate between Joules and Watts?

In my current version of DyTech, the last laser turret had 1350J energy consumption. Ingame thats 8,1kW. So thats a going rate of 6W per J.

But at lower values, that doesnt apply.

To explain: the laser turret 8, i want to have an energy usage of 550W. So simply divide it throu 6 and you get 91,66666J
But when i do that, ingame it gives 398W

So i probably guess its exponential, but at what rates.
Creator of:
- DyTech
- DyWorld
- DyWorld-Dynamics
- DyWorld-Dynamics 2
Active since Factorio 0.6
ficolas
Smart Inserter
Smart Inserter
Posts: 1068
Joined: Sun Feb 24, 2013 10:24 am
Contact:

Re: Conversion between W and J

Post by ficolas »

You can specify the power compsumion in watts, you dont need to use jules.
User avatar
Dysoch
Filter Inserter
Filter Inserter
Posts: 445
Joined: Fri Oct 18, 2013 2:27 pm
Contact:

Re: Conversion between W and J

Post by Dysoch »

ficolas wrote:You can specify the power compsumion in watts, you dont need to use jules.
Wen doing that with the laser turrets energy consumption, they use only 1/10th of the specified amount.
Creator of:
- DyTech
- DyWorld
- DyWorld-Dynamics
- DyWorld-Dynamics 2
Active since Factorio 0.6
ficolas
Smart Inserter
Smart Inserter
Posts: 1068
Joined: Sun Feb 24, 2013 10:24 am
Contact:

Re: Conversion between W and J

Post by ficolas »

Dysoch wrote:
ficolas wrote:You can specify the power compsumion in watts, you dont need to use jules.
Wen doing that with the laser turrets energy consumption, they use only 1/10th of the specified amount.
Because you specify the consumion when shooting, and the idle consumion is 1/10 of the amount.
User avatar
Dysoch
Filter Inserter
Filter Inserter
Posts: 445
Joined: Fri Oct 18, 2013 2:27 pm
Contact:

Re: Conversion between W and J

Post by Dysoch »

ficolas wrote:
Dysoch wrote:
ficolas wrote:You can specify the power compsumion in watts, you dont need to use jules.
Wen doing that with the laser turrets energy consumption, they use only 1/10th of the specified amount.
Because you specify the consumion when shooting, and the idle consumion is 1/10 of the amount.
When you specify 800w energy usage, it uses 80w WHEN shooting. Already filled it as a bug, but it was intentional. The devs said i must use J for energy_consumption.

Thats why i wanted to know the conversion between them
Creator of:
- DyTech
- DyWorld
- DyWorld-Dynamics
- DyWorld-Dynamics 2
Active since Factorio 0.6
User avatar
rk84
Filter Inserter
Filter Inserter
Posts: 556
Joined: Wed Feb 13, 2013 9:15 am
Contact:

Re: Conversion between W and J

Post by rk84 »

The conversion in this case depends on turret's rate of fire (6 shots per second). But as Kovarex said in your bug report, there is input_flow limiter and I believe that brings the consumption below 550W.

I assume limiter size depens alone on energy needed for one shot. What if you lower firing rate a little and add more energy consumpition and damage?
Test mode
Searching Flashlight
[WIP]Fluid handling expansion
[WIP]PvP gamescript
[WIP]Rocket Express
Autofill: The torch has been pass to Nexela
kovarex
Factorio Staff
Factorio Staff
Posts: 8207
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: Conversion between W and J

Post by kovarex »

rk84 wrote:The conversion in this case depends on turret's rate of fire (6 shots per second). But as Kovarex said in your bug report, there is input_flow limiter and I believe that brings the consumption below 550W.

I assume limiter size depens alone on energy needed for one shot. What if you lower firing rate a little and add more energy consumpition and damage?
Exactly, the consumption shown in the game is calculated as ConsumptionPerShot * Shots per second
Post Reply

Return to “Modding help”