规范仿真模型库并完善前端交互
归档仿真模型并补充组件目录、建模规范与校验。 完善控制台、默认节点、视图适配及前端自动化测试。
This commit is contained in:
1 parent
f7f1078911
commit
bbc88a6bbb
71 files changed
+4574
-806
No files matched your search
@@ -2,7 +2,7 @@
|
||||
|
||||
> 此版本仅用于识别旧文件。新项目使用 [System XML v2](system-xml-v2.md),物理连接在 v2 中改为无序端点。
|
||||
|
||||
System XML 是 ReactFlow 前端与 PythonModels 仿真层之间的稳定交换格式。
|
||||
System XML 是 ReactFlow 前端与 `app.simulation` 仿真层之间的稳定交换格式。
|
||||
|
||||
## 基本约定
|
||||
|
||||
@@ -10,7 +10,7 @@ System XML 是 ReactFlow 前端与 PythonModels 仿真层之间的稳定交换
|
||||
- `unitSystem` 固定为 `SI`。组件参数必须保存为 SI 基准值,界面显示单位不进入数值换算语义。
|
||||
- 子元素顺序固定为 `Simulation`、`Components`、`Connections`。
|
||||
- `Component.id` 是稳定的仿真实例 ID;`name` 是用户可编辑的显示名称。
|
||||
- `Component.type` 是 PythonModels 模型类型;`componentType` 是前端组件类型。
|
||||
- `Component.type` 是仿真后端模型类型;`componentType` 是前端组件类型。
|
||||
- `Connection.source/target` 只标识图形拓扑端点,不代表仿真中的实际流动方向。正流和倒流由求解器决定。
|
||||
- v1 文档不携带结果数据;仿真结果通过运行接口返回。
|
||||
|
||||
|
||||
Reference in new issue
Block a user