Time 使用Netlogo时间扩展计划事件-模型在计划事件之前运行的持续错误?

Time 使用Netlogo时间扩展计划事件-模型在计划事件之前运行的持续错误?,time,netlogo,scheduling,Time,Netlogo,Scheduling,正在尝试运行具有时间扩展的计划事件。手术过程中,患者/海龟以缓慢的速度进入,然后在返回前几个小时内,速度增加。无法通过此错误: Extension exception: Attempted to schedule an event for tick 168.0 which is before the present 'moment' of 219.00864034561383 error while patch -10 -10 running TIME:SCHEDULE-REPE

正在尝试运行具有时间扩展的计划事件。手术过程中,患者/海龟以缓慢的速度进入,然后在返回前几个小时内,速度增加。无法通过此错误:

Extension exception: Attempted to schedule an event for tick 168.0 which is
        before the present 'moment' of 219.00864034561383
error while patch -10 -10 running TIME:SCHEDULE-REPEATING-EVENT-WITH-PERIOD
甚至测试它的其余部分。3年前我发现有人有同样的问题,但在这里或GitHub都找不到修复或更新

任何人都有解决这个问题的其他来源,或者有其他问题/答案解决这个问题?如果没有,我会在GitHub页面上发布,征求创建者的建议

to patients-arrive

ask patch -10 -10
    
     [sprout-patients random-poisson  0.0000001                       
     [set shape "person"                                                               
      set time_arrived ticks
      set condition random-float 1.0
      set los 0
      set complete? false
      move-to one-of arrivals
  ]]
                                                                             
  
time:schedule-repeating-event-with-period patch -10 -10 [                            
    [] ->  
   sprout-patients random-poisson   0.1                               
  [set shape "person"                                                                 
   set time_arrived ticks
   set condition random-float 1.0
   set los 0
   set complete? false
   move-to one-of arrivals
  ]]
   peak-start 24.0 "hours"
 time:go-until time:plus tick-datetime 6.0 "hour" 

end 

峰值开始设置为168个刻度

正在查找另一个时间延长功能,并从Railsback中找到一条非常有用的注释,大意是当前版本的Netlogo(版本6)与计划事件不兼容。我想这就解决了


如果我听说有兼容性,我将再次发布

在查找另一个时间扩展功能时,发现Railsback提供了一条非常有用的评论,大意是当前版本的Netlogo(版本6)与计划事件不兼容。我想这就解决了


如果我听说有兼容性,我将再次发布

ps GitHub参考建议时间:is after primitive来克服这个问题,但没有给出示例。我要求海龟的创建速度从每天14:00增加6小时,GitHub参考建议时间:是在原始之后,以克服这一点,但没有给出示例。我要求海龟的繁殖速度从每天14:00增加6小时