Download List

项目描述

StepSim is a lightweight step-based simulation module written in Python. It can do simple real-time simulations of discrete systems. StepSim supports step-by-step simulation or can run until a break condition occurs. Simulations are made up of containers and converters. A container stores a discrete amount of units of a certain type. A converter draws units from one or more containers and delivers the result to another container. StepSim does not even attempt to do any parallel processing. It processes converters round-robin in a fixed order.

系统要求

System requirement is not defined
Information regarding Project Releases and Project Resources. Note that the information here is a quote from Freecode.com page, and the downloads themselves may not be hosted on OSDN.

2012-02-25 08:26
0.5.4

此版本添加了 Container.units_delivered,交货到容器的单位总数进行计数。它改变了 Milestone.percent() 使用 Container.units_delivered 而不是 Container.stock。它将添加 Converter.max_units 和 Converter.units_delivered。Converter.draw() 现在将检查是否绘图资源之前,Converter.units_delivered 已达到 Converter.max_units。此版本添加了 Converter.set_max_units()。它会相应更改自述文件中的 doctests。次要更改和补充。
This release adds Container.units_delivered, which counts the total number of units delivered to a Container. It changed Milestone.percent() to use Container.units_delivered instead of Container.stock. It adds Converter.max_units and Converter.units_delivered. Converter.draw() will now check if Converter.units_delivered has reached Converter.max_units before drawing resources. This release adds Converter.set_max_units(). It changes doctests in the README accordingly. Minor changes and additions.

2011-09-19 00:23
0.5.3

此版本从转换器中删除的步骤()和替换的draw(),过程(),并提供(),这是由Simulation.step()调用。新方法返回True,如果转换器的倒计时所允许的行动,否则返回false。
This release removes step() from Converter and replaces it with draw(), process(), and deliver() ,which are called by Simulation.step(). The new methods return True if the Converter's countdown permitted the action, False otherwise.

2011-07-28 23:25
0.5.2

Stepsim现在更确定的里程碑计算将产生相同的输入,无论什么样的贡献转换器的顺序相同的结果。总的完整性里程碑百分比计算是固定的。现在可以导出一个。点图里程碑计算。
Stepsim is more deterministic now: milestone calculations will yield the same results for identical input, no matter what the order of contributing converters. The total completeness percentage calculation for milestones was fixed. A .dot graph can now be exported from milestone calculations.

2011-04-09 07:02
0.5.0

此版本增加了一个功能stepsim.milestones(),它的条件字符串和一个转换器列表和计算的里程碑将落成,以满足该条件。它改变默认的日志级别logging.WARNING,并增加了功能stepsim.loglevel(),以方便可以设置日志级别。有轻微的修正。
This release adds a function stepsim.milestones() that takes a condition string and a list of Converters and computes the milestones to be completed to meet the condition. It changes the default log level to logging.WARNING and adds the function stepsim.loglevel() to conveniently be able to set the log level. There are minor fixes.

2011-04-07 23:15
0.4.0

该Simulation.check()被添加到方便检查的使用字符串模拟条件。 Simulation.estimate_finish()增加了,这创造了一个仿真实例的副本,并运行它,直到出现一个断点条件。函数be_quiet()加入停止记录到stderr和stdout上。
The Simulation.check() was added to conveniently check a condition of the simulation using a string. Simulation.estimate_finish() was added, which creates a copy of the Simulation instance and runs it until a break condition occurs. The function be_quiet() was added to stop logging to stderr and stdout.

Project Resources