前端进度条性能优化、仿真结束后后处理优化;后端C代码生成流程优化:先识别来源,再按照已知未知量需求排序,最后局部求解
This commit is contained in:
1 parent
0dcb465d84
commit
91bd9fb252
77 files changed
+11223
-551
No files matched your search
@@ -42,21 +42,6 @@ def amesim_pn3node_project() -> ReactFlowProjectPayload:
|
||||
physical_port("port_3", "bidirectional", "right"),
|
||||
],
|
||||
),
|
||||
component_node(
|
||||
"pipe_1",
|
||||
"pipe",
|
||||
[
|
||||
physical_port("port_a", "inlet", "left"),
|
||||
physical_port("port_b", "outlet", "right"),
|
||||
],
|
||||
{
|
||||
"length": 1.0,
|
||||
"diameter": 0.02,
|
||||
"lambda_darcy": 0.02,
|
||||
"p0": 100000.0,
|
||||
"T0": 300.0,
|
||||
},
|
||||
),
|
||||
component_node(
|
||||
"tank_1",
|
||||
"tank",
|
||||
@@ -87,9 +72,9 @@ def amesim_pn3node_project() -> ReactFlowProjectPayload:
|
||||
],
|
||||
edges=[
|
||||
physical_edge("edge-1", "cylinder_1", "port_b", "orifice_1", "port_a"),
|
||||
physical_edge("edge-2", "orifice_1", "port_b", "node_1", "port_2"),
|
||||
physical_edge("edge-3", "node_1", "port_1", "pipe_1", "port_a"),
|
||||
physical_edge("edge-4", "pipe_1", "port_b", "tank_1", "port_a"),
|
||||
physical_edge("edge-2", "orifice_1", "port_b", "node_1", "port_1"),
|
||||
# PN3NODE2 takes its reference temperature/pressure from storage.
|
||||
physical_edge("edge-3", "node_1", "port_2", "tank_1", "port_a"),
|
||||
physical_edge("edge-5", "node_1", "port_3", "pipe_2", "port_a"),
|
||||
physical_edge("edge-6", "pipe_2", "port_b", "tank_2", "port_a"),
|
||||
],
|
||||
|
||||
Reference in new issue
Block a user