有什么新
v3.14.3(2025/03/23)
新功能
重大更改
Deprecations
Bug修复
使XMILE操作符解析不区分大小写 (issue #463 ). (@benslavin )
避免
ZeroDivisionError
当随机正常和随机指数中的拉伸为0时 (issue #465 ). (@enekomartinmartinez )
文件
性能
内部变化
允许传递TabData文件的编码 (issue #455 ). (@enekomartinmartinez )
v3.14.2(2024/11/12)
新功能
重大更改
Deprecations
Bug修复
文件
性能
内部变化
v3.14.1(2024/07/18)
新功能
重大更改
Deprecations
Bug修复
支持
numpy
2. (@enekomartinmartinez )允许var名称中有多种字体样式 (issue #443 ). (@rogersamso )
当lastcell不是单元格值时,允许Vensims GET DIRECT/XLS SUBCLARECT (issue #443 ). (@enekomartinmartinez )
允许Vensims GET DIRECT/XLS SUBTENT用单元格范围名称定义 (issue #261 ). (@enekomartinmartinez )
将文件名转换为原始文件
str
使它们在Windows路径中正常工作 (issue #443 ). (@enekomartinmartinez )Improve support for reading
pysd.py_backend.external.External
from all the spreadsheet files includying those types from open software ('.odf', '.ods', '.odt'). (@enekomartinmartinez)改善对阅读的支持
pysd.py_backend.external.External
来自CSV、Tab和任何其他类型的文本文件。 (@enekomartinmartinez )
文件
性能
内部变化
修复CI测试。 (@rogersamso )
仅在ubuntu和最低Python上运行CI覆盖范围。 (@enekomartinmartinez )
通过“tab”删除“sheet”
pysd.py_backend.external.External
以及遵循Vensim命名法的相关功能和类。 (@enekomartinmartinez )Add error message when no subscripts are read from
pysd.py_backend.external.ExtSubscript
during the model building. (@enekomartinmartinez)当
pysd.py_backend.external.External
cell/firstcell被解释为cellRange名称,但输入文件不是电子表格。 (@enekomartinmartinez )改进vensim转换器中引用参数的解析,以进行外部查找和外部脚注。 (@enekomartinmartinez )
v3.14.0(2024/04/24)
新功能
支持Vensim的 RANDOM EXPONENTIAL 功能 (issue #107 ). (@enekomartinmartinez )
重大更改
Deprecations
Bug修复
修复Vensim中的截断 RANDOM NORMAL 函数转换 (@enekomartinmartinez )
文件
将支持的随机函数添加到文档表中。 (@enekomartinmartinez )
性能
内部变化
添加随机函数测试,包括与Vensim输出和预期值的比较 (issue #107 ). (@enekomartinmartinez )
允许通过Python函数调用构建器添加多个导入。 (@enekomartinmartinez )
v3.13.4(2024/02/29)
新功能
重大更改
Deprecations
Bug修复
Fix initialization dependencies for
pysd.py_backend.statefuls.Smooth
in the builderpysd.builders.python.python_expressions_builder.SmoothBuilder
(issue #440). (@enekomartinmartinez)
文件
性能
内部变化
v3.13.3(2024/02/02)
新功能
重大更改
Deprecations
Bug修复
文件
Improve documentation for
netCDF4
dependency. (@enekomartinmartinez)
性能
内部变化
支持Python 3.12。 (@enekomartinmartinez )
支持
numpy
>= 1.24。 (@enekomartinmartinez )纠正测试中的一些警告管理。 (@enekomartinmartinez )
设置
numpy
要求>= 1.23 NEP29 . (@enekomartinmartinez )自定义错误消息时
netCDF4
缺少 (issue #435 ). (@enekomartinmartinez )
v3.13.2(2024/01/09)
新功能
重大更改
Deprecations
Bug修复
通过添加对XMILE DELAY功能的支持 DelayFixed (issue #433). (@enekomartinmartinez )
文件
性能
内部变化
v3.13.1(2024/01/02)
新功能
重大更改
Deprecations
Bug修复
修复错误
pysd.py_backend.output.ModelOutput
初始化所有处理程序,从而导入 netCDF4 when unnecessary (issue #431). (@enekomartinmartinez )
文件
性能
内部变化
v3.13.0(2023/12/25)
新功能
包含新方法
pysd.py_backend.model.Model.copy()
它允许复制模型 (issue #131 ). (@enekomartinmartinez )pysd.py_backend.model.Model.select_submodel()
现在采取可选论点 inplace when set toFalse
it will return a modified copy of the model instead of modifying the original model (issue #131). (@enekomartinmartinez )pysd.py_backend.model.Model.export()
如果更改,现在还将保存时间分量信息(例如最终时间、时间步.)。 (@enekomartinmartinez )
重大更改
Deprecations
Bug修复
设置的指针
pysd.py_backend.statefuls.DelayFixed
初始化期间为0 (issue #427 ). (@enekomartinmartinez )pysd.py_backend.model.Model.export()
现在与Macros一起使用。 (@enekomartinmartinez )
文件
改进方法的文档
pysd.py_backend.model.Model
和pysd.py_backend.model.Macro
包括交叉引用并重写来自pysd.py_backend.model.Macro.set_components()
. (@enekomartinmartinez )包括有关新方法的文档
pysd.py_backend.model.Model.copy()
并更新来自pysd.py_backend.model.Model.select_submodel()
. (@enekomartinmartinez )
性能
提高性能,
pysd.py_backend.output.DataFrameHandler
通过在运行结束时创建运行机 (issue #374 和 issue #330 ). (@easyas314159 和 @enekomartinmartinez )
内部变化
变老
pysd.py_backend.model.Macro.set_components()
到pysd.py_backend.model.Macro._set_components()
,并创建具有相同名称的新方法,而不需要 new argument. (@enekomartinmartinez )变老
pysd.py_backend.model.Macro.set_stateful()
到pysd.py_backend.model.Macro._set_stateful()
. (@enekomartinmartinez )使集成测试仅过滤特定的警告。 (@enekomartinmartinez )
将警告包括在
pysd.py_backend.model.Macro.set_components()
当更改组件的行为时 (issue #58 ). (@enekomartinmartinez )
v3.12.0 (2023/10/02)
新功能
重大更改
删除对Python 3.7和3.8的支持。 (@enekomartinmartinez )
更新CellRange检索以兼容
openpyxl
>= 3.1。它打破了较低版本的代码。 (@enekomartinmartinez )
Deprecations
Bug修复
更新基准测试工具以避免
FutureWarning
对于位置关键字来自pandas
. (@enekomartinmartinez )
文件
更新要求。 (@enekomartinmartinez )
性能
内部变化
更新用于构建文档的库,并 .readthedocs.yml. (@enekomartinmartinez )
使用武力
xarray
>= 2023.09。 (@enekomartinmartinez )使用 pandas[excel] instead of xlrd dependency in the requirements. (@gdrosos )
v3.11.0(2023/08/01)
新功能
添加一次运行一个或几个步骤的模型的可能性,并在过程中更新模型变量。 (@rogersamso )
重大更改
Deprecations
Bug修复
文件
添加 Running models one (or more) step(s) at a time section in 高级用法. (@rogersamso )
性能
内部变化
修改签名
pysd.py_backend.output.ModelOutput
课它现在只接受结果文件的路径 (@rogersamso )添加
pysd.py_backend.output.ModelOutput.collect()
法在pysd.py_backend.output.ModelOutput
课 (@rogersamso )添加
pysd.py_backend.model.Model.set_stepper()
和pysd.py_backend.model.Model.step()
方法对pysd.py_backend.model.Model
课 (@rogersamso )将几个内部方法添加到
pysd.py_backend.model.Model
类,以避免代码重复。 (@rogersamso )添加
FutureWarning
对于Python 3.7支持弃用。 (@enekomartinmartinez )
v3.10.0(2023/04/28)
新功能
解析TABBED ARRAYS Vensim函数。 (@rogersamso )
添加对Vensim的支持 POWER 功能 (@rogersamso )
添加以netEDF格式传递data_files的可能性。 (@rogersamso )
添加对XMILE的非负流量和股票的支持。 (@enekomartinmartinez )
添加对XMILE的Min和MAX函数的支持,并带有一个参数。 (@enekomartinmartinez )
重大更改
Deprecations
Bug修复
将final_subscs设置为ELMSYS函数的空字典
pysd.builders.python_expressions_builder.CallBuilder.build_function_call()
. (@rogersamso )将不可更改的数组的comp_subtype定义为不可更改。这样做是
pysd.builders.python.python_expressions_builder.ArrayBuilder.build()
. (@rogersamso )
文件
添加有关松弛频道的信息https://slofile.com/slack/sdtoolsandmet-slj3251。 (@enekomartinmartinez )
更新XMILE库存部分。 (@enekomartinmartinez )
性能
内部变化
将每周计划运行添加到所有CI工作流程,每周一06:00 UTC运行。 (@EwoutH )
修复Python 3.11的CI管道,并删除Python 3.10管道,支持3.11。 (@kinow )
添加非负参数
pysd.translators.structures.abstract_expressions.IntegStructure
. (@enekomartinmartinez )
v3.9.1(2023/03/11)
新功能
添加
numpy.pi
作为对函数调用的转换 PI(). (@lionel42 )
重大更改
Deprecations
Bug修复
设置
numpy
<1.24以避免最小平方方程中的错误pysd.py_backend.allocation.allocate_available()
. (@enekomartinmartinez )使用时保留组件的属性
pysd.py_backend.model.Macro.set_components()
以避免丢失坐标或论点信息。 (@enekomartinmartinez )设置
openpyxl
<3.1以避免由于非向后兼容更改而导致的错误。 (@enekomartinmartinez )在随机函数中包含时间依赖性,以避免它们使用恒定缓存。 (@enekomartinmartinez )
文件
性能
内部变化
使用ubuntu-latest运行Python 3.11测试(hdf 5-header需要使用apt manager安装)。 (@enekomartinmartinez )
v3.9.0(2022/12/15)
新功能
Parses and ignores reality check functions during translation of Vensim models. (@rogersamso)
重大更改
Deprecations
Bug修复
修复模块和子模块中变量的分类问题 (issue #388 ).当模型的视图包含3个子级别(例如energy-transforming. loss),但另一个视图仅定义了其中两个子级别(例如energy-transforming)时,第二个视图中的变量将被放置在主模型文件中。现在,如果发生这种情况,第二个视图中的变量将被放置在main.py文件中(即energy/transformation/main.py)。 (@rogersamso )
修复了将连字符作为第一个值传递给 --subview-sep 论点 (issue #388 ). (@rogersamso )
修复解析初始条件时CLI上的错误 (issue #395 ). (@rogersamso )
文件
的 Splitting Vensim views in different files section in 命令行用法 has been updated to include an example of the usage of the --subview-sep CLI argument. (@rogersamso )
性能
内部变化
的
_merge_nested_dicts()
方法从pysd.translators.vensim.vensim_file.VensimFile
类已成为静态方法,因为它不需要访问实例的任何属性,而且它确实有助于单元测试。 (@rogersamso )的 pysd/translators/vensim/parsing_grammars/element_object.peg grammar has been modified to be able to parse reality check elements. (@rogersamso )
pysd.translators.vensim.vensim_element.Constraint
和pysd.translators.vensim.vensim_element.TestInputs
添加了类,这些类继承自新创建的pysd.translators.vensim.vensim_element.GenericComponent
,其中包括parse()
和get_abstract_component()
方法. (@rogersamso 和 @enekomartinmartinez )的
pysd.translators.structures.abstract_model.AbstractSection
类现在有两个额外的属性 (constraints
和input_tests
),其中持有pysd.translators.structures.abstract_model.AbstractConstraint
和pysd.translators.structures.abstract_model.AbstractTestInputs
对象 (@rogersamso )
v3.8.0 (2022/11/03)
新功能
添加带有帮助器函数的ncfile.py模块,以将使用PySD生成的netEDF文件中的数据_vars的子集或全部输出到
pandas.DataFrame
、csv或tab文件。 (@rogersamso )增加了初始化子集或所有外部对象并将其输出到netEDF的可能性,然后从文件初始化外部对象。 (@rogersamso )
重大更改
Deprecations
弃用
pysd.py_backend.model.Model._get_dependencies()
代之以pysd.py_backend.model.Model.get_dependencies()
. (@enekomartinmartinez )
Bug修复
Include new class
pysd.py_backend.utils.Dependencies
to return bypysd.py_backend.model.Model.get_dependencies()
(issue #379). (@lionel42)
文件
更新 入门 包含有关如何使用netEDF文件的新帮助器函数的说明的页面。 (@rogersamso )
更新 高级用法 包含有关如何将外部数据输出到netEDF并从中初始化模型的说明的页面。 (@rogersamso )
更新引用信息,以包括在JOSS上发表的新论文。 (@enekomartinmartinez )
性能
从netEDF文件初始化外部对象比从电子表格文件读取要快得多。 (@rogersamso )
内部变化
添加
pysd.py_backend.model.Macro.serialize_externals()
和pysd.py_backend.model.Macro.initialize_external_data()
方法,以及一些其他私人方法。 (@rogersamso )添加
pysd.py_backend.utils.UniqueDims
用于使用唯一名称重命名模型维的类。 (@rogersamso )力
pysd.py_backend.external.External
对象始终具有完整的元素尺寸,缺失的尺寸将被填充 numpy.nan. (@enekomartinmartinez )添加 dependabot GitHub Operations的配置更新。 (@EwoutH )
Include new error messages for initialization of
pysd.py_backend.lookups.HardcodedLookups
(issue #376). (@enekomartinmartinez)当转换的变量具有多个类型或子类型时,包括新的警告消息。 (@enekomartinmartinez )
将CI测试设置为在2个核心中并行运行。 (@enekomartinmartinez )
v3.7.1(2022/09/19)
新功能
重大更改
Deprecations
Bug修复
用修复错误
pandas.DataFrame
1.5.0 (issue #366 ). (@enekomartinmartinez )
文件
性能
内部变化
v3.7.0(2022/09/19)
新功能
模拟结果现在可以存储为netCDF4文件。 (@rogersamso )
CLI还接受-o参数后的netCDF 4文件路径。 (@rogersamso )
重大更改
Deprecations
Bug修复
修复WHITE LOOKUPS参数具有后缀时的错误。 (@enekomartinmartinez )
修复了带有多个后缀变量的CSV文件输出的错误。 (@rogersamso )
修复了未定义范围的所有后缀的变量中缺少维度的错误 (issue #364 ). (@enekomartinmartinez )
修复运行具有可变最终时间或时间步和进度条的模型时的错误 (issue #361 ). (@enekomartinmartinez )
文件
添加 Storing simulation results on a file section in the 入门 page. (@rogersamso )
将手册信息包括在 入门 页. (@enekomartinmartinez )
包括介绍 有关该项目 页. (@enekomartinmartinez )
性能
将输出导出为netCDF 4比导出pandas DataFrame快得多,特别是对于大型模型。 (@rogersamso )
内部变化
让PySD与
parsimonius
0.10.0. (@enekomartinmartinez )为测试添加netCDF4依赖项。 (@rogersamso )
改进用参数替换库存时的警告消息。 (@enekomartinmartinez )
在某些测试中包括更多pytest参数化,并让它们转换临时目录中的模型。 (@enekomartinmartinez )
在GHA工作流程中包括lyche-action以检查链接。 (@enekomartinmartinez )
更新许可证。 (@enekomartinmartinez )
包括 Maintained? Yes and Contributions welcome badges. (@enekomartinmartinez )
更新到新存储库位置的链接。 (@enekomartinmartinez )
将相对精度从1 e-10降低到1 e-5,以计算保存时间和最终时间。 (@enekomartinmartinez )
添加eSYS集成方法的收敛测试。 (@enekomartinmartinez )
在GHA工作流程中包括构建文档检查,以避免phinx发出警告。 (@enekomartinmartinez )
v3.6.1(2022/09/05)
新功能
重大更改
Deprecations
Bug修复
文件
性能
内部变化
设置
parsimonius
要求为0.9.0,以避免最新版本中发生突发性变化。等待更新PySD以运行它parsimonious
0.10.0. (@enekomartinmartinez )
v3.6.0(2022/08/31)
新功能
当变量在多个视图中定义时、当控制变量出现在视图中或当变量没有在任何视图中作为 workbench variable (issue #357). (@enekomartinmartinez )
强制模块中的变量按字母顺序保存,以便能够比较版本之间的差异(仅适用于按视图拆分的模型)。 (@enekomartinmartinez )
重大更改
Deprecations
Bug修复
始终对主文件中的控制变量进行分类 (issue #357 ). (@enekomartinmartinez )
文件
性能
内部变化
v3.5.2(2022/08/15)
新功能
重大更改
Deprecations
Bug修复
制作草图 font_size optional. (@enekomartinmartinez )
文件
正确的错别字。
性能
内部变化
v3.5.1(2022/08/11)
新功能
重大更改
Deprecations
Bug修复
修复当 :EXCEPT: keyword is used with subscript subranges (issue #352 ). (@enekomartinmartinez )
Fix bug of precision error for
pysd.py_backend.allocation.allocate_by_priority()
(issue #353). (@enekomartinmartinez)修复常量缓存分配的bug。 (@enekomartinmartinez )
文件
性能
提高阅读成绩
pysd.py_backend.external.External
通过将数据加载到内存中,来将具有CellRange名称的数据pandas
.建议的openpyxl
开发人员,这是提高性能的一种可能方法,以避免每次解析所有行以获取数据 (issue 1867 in openpyxl ). (@enekomartinmartinez )
内部变化
v3.5.0(2022/07/25)
新功能
Add support for subscripted arguments in
pysd.py_backend.functions.ramp()
andpysd.py_backend.functions.step()
(issue #344). (@enekomartinmartinez)
重大更改
Deprecations
Bug修复
修复与1D GET表达中元素顺序相关的错误 (issue #343 ). (@enekomartinmartinez )
修复按优先级分配中请求0值中的错误 (issue #345 ). (@enekomartinmartinez )
修复台阶和坡道开始时间中的数字错误。 (@enekomartinmartinez )
文件
包括新的PySD徽标。 (@enekomartinmartinez )
性能
内部变化
忽略' Distutils版本类已被弃用。使用Packing.Version代替测试中的错误,因为它是 xarray. (@enekomartinmartinez )
当后缀范围在变量引用中重复时,添加警告消息。 (@enekomartinmartinez )
v3.4.0(2022/06/29)
新功能
Add support for Vensim's ALLOCATE AVAILABLE (
pysd.py_backend.allocation.allocate_available()
) function (issue #339). Integer allocation cases have not been implemented neither the fixed quantity and constant elasticity curve priority functions. (@enekomartinmartinez)
重大更改
Deprecations
Bug修复
文件
改进
pysd.py_backend.allocation
module. (@enekomartinmartinez )
性能
内部变化
添加一个类来管理优先级配置文件,以便它也可以由 many-to-many allocation . (@enekomartinmartinez )
v3.3.0(2022/06/22)
新功能
Add support for Vensim's ALLOCATE BY PRIORITY (
pysd.py_backend.allocation.allocate_by_priority()
) function (issue #263). (@enekomartinmartinez)
重大更改
Deprecations
Bug修复
修复使用子范围定义更大范围的bug (issue #335 ). (@enekomartinmartinez )
文件
性能
内部变化
改进错误消息,
pysd.py_backend.External
对象 (@enekomartinmartinez )
v3.2.0(2022/06/10)
新功能
Add support for Vensim's GET TIME VALUE (
pysd.py_backend.functions.get_time_value()
) function (issue #332). Not all cases have been implemented. (@enekomartinmartinez)Add support for Vensim's VECTOR SELECT (
pysd.py_backend.functions.vector_select()
) function (issue #266). (@enekomartinmartinez)
重大更改
Deprecations
Bug修复
文件
性能
内部变化
v3.1.0(2022/06/02)
新功能
Add support for Vensim's VECTOR SORT ORDER (
pysd.py_backend.functions.vector_sort_order()
) function (issue #326). (@enekomartinmartinez)Add support for Vensim's VECTOR RANK (
pysd.py_backend.functions.vector_rank()
) function (issue #326). (@enekomartinmartinez)Add support for Vensim's VECTOR REORDER (
pysd.py_backend.functions.vector_reorder()
) function (issue #326). (@enekomartinmartinez)
重大更改
Deprecations
Bug修复
文件
添加剖面 添加新功能 为开发人员提供示例。 (@enekomartinmartinez )
性能
内部变化
包括公关模板。
v3.0.1 (2022/05/26)
新功能
重大更改
Deprecations
Bug修复
收件箱订阅词典
pysd.py_backend.data.TabData
对象 (@enekomartinmartinez )
文件
改进测试/README.md.
文档中的小改进。
性能
内部变化
将Python 3.10添加到CI管道并将其包含在支持的版本列表中。 (@enekomartinmartinez )
正确的LICENSE文件扩展名 setup.py. (@enekomartinmartinez )
离开 importlib's
load_module()
toexec_module()
. (@enekomartinmartinez )删除与以下相关的警告
set
使用. (@enekomartinmartinez )将所有缺失的测试移至
pytest
. (@enekomartinmartinez )从测试中删除警告消息,如果有任何警告,则使测试失败。 (@enekomartinmartinez )
v3.0.0(2022/05/23)
新功能
新 Abstract Model Representation 转换和构建工作流程将允许在未来添加新的输出语言。 (@enekomartinmartinez )
向
pysd.py_backend.model.Macro
为了更容易获取某些信息:namespace
,subscripts
,dependencies
,modules
,doc
. (@enekomartinmartinez )- 更干净的Python模型: (@enekomartinmartinez )
_namespace
和_dependencies
字典已从文件中删除。变量原始名称、依赖项元数据现在通过
pysd.py_backend.components.Component.add()
装饰器,而不是将它们放在文档字符串中。变量方程的合并现在是使用预先分配的数组的坐标来完成的,而不是使用 magic 功能
pysd.py_backend.utils.xrmerge()
.排列和子集数组现在可以就地完成,而不是使用神奇函数
pysd.py_backend.utils.rearrange()
.
重大更改
提出论点
flatten_output
从run()
到True
在默认情况下此前它被设定为False
在默认情况下 (@enekomartinmartinez )将模型的文档字符串移动到属性,
doc
.因此,它不再可调用。 (@enekomartinmartinez )则允许所述函数
pysd.py_backend.functions.pulse()
还可以执行以下操作pysd.py_backend.functions.pulse_train()
和pysd.py_backend.functions.pulse_magnitude()
. (@enekomartinmartinez )改变的第一个参数
pysd.py_backend.functions.active_initial()
,现在是 stage of the model and not the time. (@enekomartinmartinez )函数函数
pysd.py_backend.utils.rearrange()
使其能够执行简单的重新排列案例以供用户交互。 (@enekomartinmartinez )移动
pysd.py_backend.statefuls.Model
和pysd.py_backend.statefuls.Macro
到pysd.py_backend.model.Model
和pysd.py_backend.model.Macro
,分别。 (@enekomartinmartinez )使用管理各种查找
pysd.py_backend.lookups.Lookups
课 (@enekomartinmartinez )在查找函数中包括第二个可选参数,以在带后缀的变量作为参数传递时设置最终坐标。 (@enekomartinmartinez )
Deprecations
去除
pysd.py_backend.utils.xrmerge()
,pysd.py_backend.functions.pulse_train()
,pysd.py_backend.functions.pulse_magnitude()
,pysd.py_backend.functions.lookup()
,pysd.py_backend.functions.lookup_discrete()
,pysd.py_backend.functions.lookup_extrapolation()
,pysd.py_backend.functions.logical_and()
,pysd.py_backend.functions.logical_or()
,pysd.py_backend.functions.bounded_normal()
,pysd.py_backend.functions.log()
. (@enekomartinmartinez )删除旧的转换和构建文件 (
pysd.translation
). (@enekomartinmartinez )
Bug修复
加载模型时生成模型的文档,以避免在替换变量值时丢失信息 (issue #310 , PR #312 ). (@enekomartinmartinez )
使随机函数返回与变量形状相同的数组,以避免在维度上重复值 (issue #309 , PR #312 ). (@enekomartinmartinez )
修复当Vensim :MACRO: definition is not at the top of the model file (issue #306 , PR #312 ). (@enekomartinmartinez )
让构建器使用主范围和子范围识别脚注,以允许像Vensim一样使用脚注作为数字值 (issue #296 , issue #301 , PR #312 ). (@enekomartinmartinez )
修复函数和查找名称匹配错误的错误 (issue #116 , PR #312 ). (@enekomartinmartinez )
解析Xmile模型不敏感地案例并忽略新台词角色 (issue #203 , issue #253 , PR #312 ). (@enekomartinmartinez )
Add support for Vensim's :EXCEPT: keyword (issue #168, issue #253, PR #312). (@enekomartinmartinez)
添加对Xmile的FORCST和SAFEDIV功能的支持 (issue #154 , PR #312 ). (@enekomartinmartinez )
添加对Xmile的订阅支持 (issue #289 , PR #312 ). (@enekomartinmartinez )
Fix numeric error bug when using
return_timestamps
and time step with non-integer values. (@enekomartinmartinez)
文件
查看整个文档,对它进行演示,并描述新功能。 (@enekomartinmartinez )
性能
几个方程中定义的变量现在被分配给预先分配的数组,而不是使用
pysd.py_backend.utils.xrmerge()
. (@enekomartinmartinez )数组的排列和子集现在可以就地完成,而不是使用神奇函数
pysd.py_backend.utils.rearrange()
. (@enekomartinmartinez )Parsimonious的语法每次转换只编译一次。 (@enekomartinmartinez )
内部变化
模型的转换和构建已完全修改,以使用 Abstract Model Representation . (@enekomartinmartinez )