更新v2版本适配skill

This commit is contained in:
ljz committed 2026-09-18 01:40:58 +08:00
1 parent 7611f13208
commit 2f3f7d00ec
58 files changed
+180419 -526

No files matched your search

@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="1000" height="540" viewBox="0 0 1000 540">
<rect width="100%" height="100%" fill="#ffffff"/>
<style>text{font-family:Arial,"Microsoft YaHei",sans-serif;fill:#1f2937}.axis{stroke:#64748b;stroke-width:1}.grid{stroke:#e2e8f0;stroke-width:1}.curve{fill:none;stroke-width:2}</style>
<line class="grid" x1="82.00" y1="60.00" x2="82.00" y2="470.00"/>
<line class="grid" x1="82.00" y1="60.00" x2="968.00" y2="60.00"/>
<text x="82.00" y="492.00" text-anchor="middle" font-size="12">-0.001</text>
<text x="72.00" y="64.00" text-anchor="end" font-size="12">2.625e+05</text>
<line class="grid" x1="259.20" y1="60.00" x2="259.20" y2="470.00"/>
<line class="grid" x1="82.00" y1="142.00" x2="968.00" y2="142.00"/>
<text x="259.20" y="492.00" text-anchor="middle" font-size="12">0.0034</text>
<text x="72.00" y="146.00" text-anchor="end" font-size="12">2.575e+05</text>
<line class="grid" x1="436.40" y1="60.00" x2="436.40" y2="470.00"/>
<line class="grid" x1="82.00" y1="224.00" x2="968.00" y2="224.00"/>
<text x="436.40" y="492.00" text-anchor="middle" font-size="12">0.0078</text>
<text x="72.00" y="228.00" text-anchor="end" font-size="12">2.525e+05</text>
<line class="grid" x1="613.60" y1="60.00" x2="613.60" y2="470.00"/>
<line class="grid" x1="82.00" y1="306.00" x2="968.00" y2="306.00"/>
<text x="613.60" y="492.00" text-anchor="middle" font-size="12">0.0122</text>
<text x="72.00" y="310.00" text-anchor="end" font-size="12">2.475e+05</text>
<line class="grid" x1="790.80" y1="60.00" x2="790.80" y2="470.00"/>
<line class="grid" x1="82.00" y1="388.00" x2="968.00" y2="388.00"/>
<text x="790.80" y="492.00" text-anchor="middle" font-size="12">0.0166</text>
<text x="72.00" y="392.00" text-anchor="end" font-size="12">2.425e+05</text>
<line class="grid" x1="968.00" y1="60.00" x2="968.00" y2="470.00"/>
<line class="grid" x1="82.00" y1="470.00" x2="968.00" y2="470.00"/>
<text x="968.00" y="492.00" text-anchor="middle" font-size="12">0.021</text>
<text x="72.00" y="474.00" text-anchor="end" font-size="12">2.375e+05</text>
<line class="axis" x1="82.00" y1="470.00" x2="968.00" y2="470.00"/>
<line class="axis" x1="82.00" y1="60.00" x2="82.00" y2="470.00"/>
<text x="525.00" y="513.00" text-anchor="middle" font-size="13">time [s]</text>
<polyline class="curve" stroke="#2563eb" points="122.27,265.00 525.00,265.00 927.73,265.00"/>
<line x1="82.0" y1="23" x2="110.0" y2="23" stroke="#2563eb" stroke-width="3"/>
<text x="118.0" y="28" font-size="14">tank.压力</text>
</svg>

After

Width:  |  Height:  |  Size: 2.5 KiB

+10
View File
@@ -0,0 +1,10 @@
{"event": "progress", "progress": 0, "phase": "validation", "message": "正在校验 System XML", "activitySequence": 0, "activityKind": "idle", "currentTrialTime": null, "rhsCallCount": 0, "acceptedStepSequence": 0, "acceptedTime": null, "solverStepSequence": 0, "jacobianEvaluationCount": 0, "thermofluidClosureCount": 0}
{"event": "progress", "progress": 0, "phase": "compilation", "message": "正在解析组件与连接关系", "activitySequence": 0, "activityKind": "idle", "currentTrialTime": null, "rhsCallCount": 0, "acceptedStepSequence": 0, "acceptedTime": null, "solverStepSequence": 0, "jacobianEvaluationCount": 0, "thermofluidClosureCount": 0}
{"event": "progress", "progress": 0, "phase": "initialization", "message": "连接关系已解析,正在准备原生模型", "activitySequence": 0, "activityKind": "idle", "currentTrialTime": null, "rhsCallCount": 0, "acceptedStepSequence": 0, "acceptedTime": null, "solverStepSequence": 0, "jacobianEvaluationCount": 0, "thermofluidClosureCount": 0}
{"event": "progress", "progress": 0, "phase": "native-generation", "message": "正在生成原生模型代码", "simulatedTime": 0.0, "totalTime": 0.02, "activitySequence": 0, "activityKind": "idle", "currentTrialTime": null, "rhsCallCount": 0, "acceptedStepSequence": 0, "acceptedTime": null, "solverStepSequence": 0, "jacobianEvaluationCount": 0, "thermofluidClosureCount": 0}
{"event": "progress", "progress": 0, "phase": "native-cache-check", "message": "正在检查已编译模型缓存", "simulatedTime": 0.0, "totalTime": 0.02, "activitySequence": 0, "activityKind": "idle", "currentTrialTime": null, "rhsCallCount": 0, "acceptedStepSequence": 0, "acceptedTime": null, "solverStepSequence": 0, "jacobianEvaluationCount": 0, "thermofluidClosureCount": 0}
{"event": "progress", "progress": 0, "phase": "native-compilation", "message": "正在编译模型与缺失的原生模块", "simulatedTime": 0.0, "totalTime": 0.02, "activitySequence": 0, "activityKind": "idle", "currentTrialTime": null, "rhsCallCount": 0, "acceptedStepSequence": 0, "acceptedTime": null, "solverStepSequence": 0, "jacobianEvaluationCount": 0, "thermofluidClosureCount": 0}
{"event": "progress", "progress": 0, "phase": "native-linking", "message": "正在链接模型可执行文件", "simulatedTime": 0.0, "totalTime": 0.02, "activitySequence": 0, "activityKind": "idle", "currentTrialTime": null, "rhsCallCount": 0, "acceptedStepSequence": 0, "acceptedTime": null, "solverStepSequence": 0, "jacobianEvaluationCount": 0, "thermofluidClosureCount": 0}
{"event": "progress", "progress": 0, "phase": "integrating", "message": "正在进行时间积分与压力流量求解", "simulatedTime": 0.0, "totalTime": 0.02, "activitySequence": 1, "activityKind": "solver_initialization", "currentTrialTime": 0.0, "rhsCallCount": 0, "acceptedStepSequence": 0, "acceptedTime": 0.0, "solverStepSequence": 0, "jacobianEvaluationCount": 0, "thermofluidClosureCount": 0}
{"event": "progress", "progress": 100, "phase": "complete", "message": "正在汇总仿真结果", "simulatedTime": 0.02, "totalTime": 0.02, "activitySequence": 3, "activityKind": "native_solver", "currentTrialTime": 0.02, "rhsCallCount": 26, "acceptedStepSequence": 21, "acceptedTime": 0.02, "solverStepSequence": 0, "jacobianEvaluationCount": 0, "thermofluidClosureCount": 0}
{"event": "result", "simulationId": "bf94979994f14753a40e1eddb9dacc31", "status": "completed", "success": true, "actualEndTime": 0.02, "sampleCount": 3, "resultVariableCount": 19, "fullResult": "result.json"}
File diff suppressed because it is too large. Load diff
+4
View File
@@ -0,0 +1,4 @@
time,tank.m,tank.U,tank.p,tank.T,tank.rho,tank.u,tank.h,tank.port_1.p,tank.port_1.m_flow,tank.port_1.h_outflow,tank.port_2.p,tank.port_2.m_flow,tank.port_2.h_outflow,left_cap.port_1.p,left_cap.port_1.m_flow,left_cap.port_1.h_outflow,right_cap.port_1.p,right_cap.port_1.m_flow,right_cap.port_1.h_outflow
0.0,0.1693725667550772,35649.82578397213,249999.99999999997,293.1499999999999,2.9714485395627577,210481.69999999995,294615.74999999994,249999.99999999997,0.0,294615.74999999994,249999.99999999997,0.0,294615.74999999994,249999.99999999997,0.0,294615.74999999994,249999.99999999997,0.0,294615.74999999994
0.01,0.1693725667550772,35649.82578397213,249999.99999999997,293.1499999999999,2.9714485395627577,210481.69999999995,294615.74999999994,249999.99999999997,0.0,294615.74999999994,249999.99999999997,0.0,294615.74999999994,249999.99999999997,0.0,294615.74999999994,249999.99999999997,0.0,294615.74999999994
0.02,0.1693725667550772,35649.82578397213,249999.99999999997,293.1499999999999,2.9714485395627577,210481.69999999995,294615.74999999994,249999.99999999997,0.0,294615.74999999994,249999.99999999997,0.0,294615.74999999994,249999.99999999997,0.0,294615.74999999994,249999.99999999997,0.0,294615.74999999994
1 time tank.m tank.U tank.p tank.T tank.rho tank.u tank.h tank.port_1.p tank.port_1.m_flow tank.port_1.h_outflow tank.port_2.p tank.port_2.m_flow tank.port_2.h_outflow left_cap.port_1.p left_cap.port_1.m_flow left_cap.port_1.h_outflow right_cap.port_1.p right_cap.port_1.m_flow right_cap.port_1.h_outflow
2 0.0 0.1693725667550772 35649.82578397213 249999.99999999997 293.1499999999999 2.9714485395627577 210481.69999999995 294615.74999999994 249999.99999999997 0.0 294615.74999999994 249999.99999999997 0.0 294615.74999999994 249999.99999999997 0.0 294615.74999999994 249999.99999999997 0.0 294615.74999999994
3 0.01 0.1693725667550772 35649.82578397213 249999.99999999997 293.1499999999999 2.9714485395627577 210481.69999999995 294615.74999999994 249999.99999999997 0.0 294615.74999999994 249999.99999999997 0.0 294615.74999999994 249999.99999999997 0.0 294615.74999999994 249999.99999999997 0.0 294615.74999999994
4 0.02 0.1693725667550772 35649.82578397213 249999.99999999997 293.1499999999999 2.9714485395627577 210481.69999999995 294615.74999999994 249999.99999999997 0.0 294615.74999999994 249999.99999999997 0.0 294615.74999999994 249999.99999999997 0.0 294615.74999999994 249999.99999999997 0.0 294615.74999999994