异星工厂锅炉与蒸汽机机制

2014-12-31 11:00:08 k73游戏之家 作者:GhosterFT

异星工厂

以下这篇文章可能还是有一定的技术性,这方面的研究在之前也花了不少时间研究,而研究的方式则是通过游戏代码,也遇到了很多问题,以下分享相关的数据与讨论。

异星工厂锅炉与蒸汽机机制

关于水的温度

type = "fluid",
name = "water",
default_temperature = 15, (水刚刚被采出来就是15°C)
max_temperature = 100,
heat_capacity = "1KJ", (多少水1KJ,这个不太清楚)

蒸汽机的工作
type = "generator",
name = "steam-engine",
effectivity = 1,
fluid_usage_per_tick = 0.1, (这句话一直困惑着我,蒸汽机510KW的工作功率)
(这两行揭示了蒸汽机的工作原理,消耗水,获得能量,效率为1。而不是有个固定的换算公式,很严格的能量守恒)
energy_source =
type = "electric",
usage_priority = "secondary-output"
(这三行说明,太阳能、蓄电池的输出优先于蒸汽机)
以下截取太阳能和蓄电池作为互补
有关太阳能
type = "solar-panel",
name = "solar-panel",
energy_source =
type = "electric",
usage_priority = "primary-output" (初级供能)
production = "60kW"
有关蓄电池

type = "accumulator",
name = "basic-accumulator",
energy_source =
type = "electric",
buffer_capacity = "5MJ",
usage_priority = "terciary", (……哪位高材生看下)
input_flow_limit = "300kW",
output_flow_limit = "300kW"

关于水泵的采集
type = "offshore-pump",
name = "offshore-pump",
fluid = "water",
pumping_speed = 1, (液体的流动机理我一直都没找到,这里的速度1到底意味着啥仍然不清楚)

水的加热
type = "boiler",
name = "boiler",
energy_consumption = "390kW", (面板数据,就是锅炉的最大功率)
burner = (锅炉通过燃烧燃料来工作)
effectivity = 0.5, (燃烧效率0.5,也就是780KW的功率消耗燃料)
(对炼钢、蒸汽机,实际上是黑科技,效率都为1。在不考虑太阳能电池板的前提下,我主张多使用炼炉而不是电炉)
fuel_inventory_size = 1,
emissions = 0.1 / 6.5, (污染)
-- these are the pipe pictures - boiler is a pipe as well(在运送水方面,锅炉=水管)

再说有关于用电器
用电器都有待机能量损耗吗?答曰:不
只有少数几个,目前发现的有:机器人、爪子、激光炮塔
机器人:
建造机器人
type = "construction-robot",
name = "construction-robot",
max_payload_size = 1,
speed = 0.06,
max_energy = "300kJ", (“电池容量”)
energy_per_tick = "0.01kJ", (待机耗电)
speed_multiplier_when_out_of_energy = 0.2, (无电能时候减速)
energy_per_move = "1kJ", (移动耗电)
min_to_charge = 0.2, (充电时间)
max_to_charge = 0.95,
物流机器人
type = "logistic-robot",

name = "logistic-robot",
speed = 0.05,
max_energy = "300kJ",
energy_per_tick = "0.01kJ",
speed_multiplier_when_out_of_energy = 0.2,
energy_per_move = "1kJ",
min_to_charge = 0.2,
max_to_charge = 0.95,

爪子(以长爪子为例)
type = "inserter",
name = "long-handed-inserter",
energy_per_movement = 5000, (这几句说明抓一个物体所用的能量为一个定值(具体值忘了,不难计算出来),功率不同是抓取速度导致的,对于黄、长、蓝爪,这两个数据都是5000,对于智能臂,代码中的数据变为了7000,这就是智能臂速度和快速臂一样而耗电更多的原因)
energy_per_rotation = 5000,
rotation_speed = 0.02,
energy_source =
type = "electric",
usage_priority = "secondary-input",
drain = "0.4kW (待机能量,所有爪子相同)

激光炮塔
{
type = "electric-turret",
name = "laser-turret",
ammo_type =
type = "projectile",
category = "laser-turret",
energy_consumption = "200kJ", (每一发子弹耗能量,研究激光速度,工作电压会升高)
action =
type = "direct",
action_delivery =
type = "projectile",
projectile = "laser",
starting_speed = 0.28
energy_source =
type = "electric",
buffer_capacity = "201kJ", (本身相当于一个小电池)
input_flow_limit = "1200kW",
drain = "6kW", (待机能量)
usage_priority = "primary-input" (最优先的用电器!)

对于蒸汽机发电机理,现在待解决的问题:

(1)液体管道流动规则

(2)液体的单位制

我想搞清楚这两个整个机理就非常明了了

玩家评论

相关阅读

手游掌机排行