We have no information on the maximal power emission or power consumption on LuaItemPrototype
I make a MOD to plan the production line and i can't calcul the electrical power
if u add some properties for power, sample:
power_production
power_usage
EDIT:
i mean other properties can add
speed_usage for assembling machine
module_slots
efficiency for beacon
[Request] power properties on LuaItemPrototype
Re: [Request] power properties on LuaItemPrototype
correct me if i am wrong but:
energy_usage = "200kW"
works whenever the item is in use and is independent of the crafting speed.
energy_usage = "200kW"
works whenever the item is in use and is independent of the crafting speed.
Re: [Request] power properties on LuaItemPrototype
Items have no power production or usage. That's the entity and even still that depends on modules and beacon effects on the entity runtime.
If you want to get ahold of me I'm almost always on Discord.
Re: [Request] power properties on LuaItemPrototype
the nominal values could are on luaitemprototype?
Re: [Request] power properties on LuaItemPrototype
Items have no power production or usage... they're just items. There's nothing special about them other than they build a specific entity when you click them in the world.Helfima wrote:the nominal values could are on luaitemprototype?
If you want to get ahold of me I'm almost always on Discord.
Re: [Request] power properties on LuaItemPrototype
As i said before, the energy used per 1 second (assumingly) is (energy_usage = "210kW")
The time to produce would be assembler crafting speed (crafting_speed = 1.25) divided by the recipes craft time (energy_required = 3), default being 0.5 (i think)
now, the total to craft an item from an assembly machine 3 (I may be wrong on the energy usage value, not sure) would be 504 watts over 2.4 seconds, in an equsion it would look like (3/1.25)*210 = 504, or (energy_required/assembler crafting)*energy_usage. Realistically all you need is energy usage in any real world situations unless you are using individual accumulators in some form of odd rig.
Unless i misunderstood and you are referring to fuel value, which is a value listed under item prototypes (fuel_value = "4MJ") for example will tell how much an item will burn (4Mj) when burnt. Minus the inefficiencies of the boiler/steam engine/etc.
The time to produce would be assembler crafting speed (crafting_speed = 1.25) divided by the recipes craft time (energy_required = 3), default being 0.5 (i think)
now, the total to craft an item from an assembly machine 3 (I may be wrong on the energy usage value, not sure) would be 504 watts over 2.4 seconds, in an equsion it would look like (3/1.25)*210 = 504, or (energy_required/assembler crafting)*energy_usage. Realistically all you need is energy usage in any real world situations unless you are using individual accumulators in some form of odd rig.
Unless i misunderstood and you are referring to fuel value, which is a value listed under item prototypes (fuel_value = "4MJ") for example will tell how much an item will burn (4Mj) when burnt. Minus the inefficiencies of the boiler/steam engine/etc.