如何在NetLogo中缓慢降低定义比例的比例分布?

时间:2019-04-19 11:34:50

标签: netlogo percentage agent-based-modeling economics

我已经在一个经济体(世界)中建立了一些公司(代理机构),这些公司要么在家生产(公司拥有:离岸的?=否),要么已经对其生产进行了离岸(公司拥有:离岸的?=真)。 。在家里,公司具有特定的自动化级别,该级别最初在0到1之间随机。最高自动化级别达到了99%,因为它假定总会存在机器人无法执行的任务。

低技术工人与高技术工人(企业所有者:低技术工人比率与高技术工人比率)之间的就业比例定义如下:如果企业在国外生产,则就业被划分固定比例的低技能劳动力与高技能劳动力的比例为0.8。如果公司在家中生产,则劳动力将分为自动化机器人,低技能和高技能劳动力。自动化程度决定了已经使用的机器人的比例,而其余任务则在相同比例的低技能和高技能劳动力之间分配,分别为0.8和0.2。代码如下:

breed [ firms firm ]

firms-own [
  offshored?   ;; true or false
  low-skilled-labour-ratio   ;; defined as a fix ratio
  high-skilled-labour-ratio   ;; defined as a fix ratio
  firm-level-of-automation   ;; initially between 0 and 1 but constantly rising up to a maximum of 99%
]

to labour-automation-ratio
  ask firms [
    if offshored? = true [   ;; if the firms are offshored, labour is divided between low- and high-skilled labour at a defined ratio
      set low-skilled-labour-ratio 0.8
      set high-skilled-labour-ratio 0.2 ]
    if ( offshored? = false ) AND ( firm-level-of-automation < 0.99 ) [   ;; if the firms produce at home, labour is divided between the level of automation, low- and high-skilled labour at a defined ratio
      set low-skilled-labour-ratio ( ( 1 - firm-level-of-automation ) / 1 ) * 0.8
      set high-skilled-labour-ratio ( ( 1 - firm-level-of-automation ) / 1 ) * 0.2 ]
    if ( offshored? = false ) AND ( firm-level-of-automation = 0.99 ) [   ;; at maximum level of automation, only high-skilled labour is required from now on at a defined ratio
      set low-skilled-labour-ratio 0
      set high-skilled-labour-ratio ( 1 - firm-level-of-automation ) ] ]   
end

我在这里的问题是,到目前为止,一旦自动化水平跃升至99%,就将面临在家中生产的低技能劳动力。有没有一种数学上更平滑的方法可以缓慢地克服劳动?

0 个答案:

没有答案