1333 lines
36 KiB
JSON
1333 lines
36 KiB
JSON
{
|
||
"validation": {
|
||
"valid": true,
|
||
"errorCount": 0,
|
||
"warningCount": 0,
|
||
"issues": [],
|
||
"system": {
|
||
"schemaVersion": "3",
|
||
"unitSystem": "SI",
|
||
"componentCount": 4,
|
||
"connectionCount": 2,
|
||
"name": "closed-tank"
|
||
}
|
||
},
|
||
"simulation": {
|
||
"t_start": 0.0,
|
||
"t_stop": 0.02,
|
||
"sample_step": 0.01,
|
||
"max_step": 0.001,
|
||
"method": "BDF"
|
||
},
|
||
"model": {
|
||
"name": "closed-tank",
|
||
"components": [
|
||
{
|
||
"id": "tank",
|
||
"type": "amesim_pnch023",
|
||
"parameters": [
|
||
{
|
||
"name": "gi",
|
||
"label": "介质物性模型(gi)",
|
||
"quantity": "dimensionless",
|
||
"unit": "",
|
||
"default": 0.0,
|
||
"minimumExclusive": false,
|
||
"minimum": 0.0,
|
||
"maximum": 99.0,
|
||
"editor": "amesimGasReference",
|
||
"description": "选择本元件使用的气体介质定义索引;0 表示内置空气,1–99 引用画布中的介质定义组件。",
|
||
"value": 1.0
|
||
},
|
||
{
|
||
"name": "cvol",
|
||
"label": "气室容积",
|
||
"quantity": "volume",
|
||
"unit": "m3",
|
||
"default": 0.057,
|
||
"minimumExclusive": true,
|
||
"minimum": 0.0,
|
||
"description": "气室内部用于储存气体的固定有效容积。",
|
||
"value": 0.057
|
||
},
|
||
{
|
||
"name": "kth",
|
||
"label": "换热系数",
|
||
"quantity": "heat_transfer_coefficient",
|
||
"unit": "W/(m2*K)",
|
||
"default": 0.0,
|
||
"minimumExclusive": false,
|
||
"minimum": 0.0,
|
||
"description": "气室与环境之间的对流换热系数,与换热面积共同决定换热功率。",
|
||
"value": 0.0
|
||
},
|
||
{
|
||
"name": "sth",
|
||
"label": "换热面积",
|
||
"quantity": "area",
|
||
"unit": "m2",
|
||
"default": 0.1,
|
||
"minimumExclusive": false,
|
||
"minimum": 0.0,
|
||
"description": "气室与环境进行热交换的有效表面积。",
|
||
"value": 0.1
|
||
},
|
||
{
|
||
"name": "extemp",
|
||
"label": "外部温度",
|
||
"quantity": "temperature",
|
||
"unit": "K",
|
||
"default": 293.15,
|
||
"minimumExclusive": true,
|
||
"minimum": 0.0,
|
||
"description": "气室外部环境的绝对温度,用于计算气体与环境之间的换热。",
|
||
"value": 293.15
|
||
},
|
||
{
|
||
"name": "p0",
|
||
"label": "初始压力",
|
||
"quantity": "pressure",
|
||
"unit": "Pa",
|
||
"default": 100000.0,
|
||
"minimumExclusive": true,
|
||
"minimum": 0.0,
|
||
"description": "仿真开始时气室内气体的绝对压力。",
|
||
"value": 250000.0
|
||
},
|
||
{
|
||
"name": "T0",
|
||
"label": "初始温度",
|
||
"quantity": "temperature",
|
||
"unit": "K",
|
||
"default": 293.15,
|
||
"minimumExclusive": true,
|
||
"minimum": 0.0,
|
||
"description": "仿真开始时气室内气体的绝对温度。",
|
||
"value": 293.15
|
||
}
|
||
],
|
||
"ports": [
|
||
{
|
||
"name": "port_1",
|
||
"kind": "physical",
|
||
"domain": "pneumatic",
|
||
"nominalRole": "bidirectional",
|
||
"positiveFlowDirection": "intoComponent",
|
||
"variables": [
|
||
{
|
||
"name": "p",
|
||
"role": "effort",
|
||
"connectionRule": "equal",
|
||
"label": "压力",
|
||
"quantity": "pressure",
|
||
"unit": "Pa",
|
||
"resultVisible": true,
|
||
"order": 10
|
||
},
|
||
{
|
||
"name": "m_flow",
|
||
"role": "flow",
|
||
"connectionRule": "sumToZero",
|
||
"label": "质量流量",
|
||
"quantity": "mass_flow",
|
||
"unit": "kg/s",
|
||
"resultVisible": true,
|
||
"order": 20
|
||
},
|
||
{
|
||
"name": "h_outflow",
|
||
"role": "stream",
|
||
"connectionRule": "streamMix",
|
||
"label": "流出比焓",
|
||
"quantity": "specific_enthalpy",
|
||
"unit": "J/kg",
|
||
"resultVisible": true,
|
||
"order": 30
|
||
},
|
||
{
|
||
"name": "volume",
|
||
"role": "signal",
|
||
"connectionRule": "directed",
|
||
"label": "外部容积",
|
||
"quantity": "volume",
|
||
"unit": "m3",
|
||
"resultVisible": false,
|
||
"order": 40
|
||
},
|
||
{
|
||
"name": "volume_flow",
|
||
"role": "signal",
|
||
"connectionRule": "directed",
|
||
"label": "外部容积变化率",
|
||
"quantity": "volume_flow",
|
||
"unit": "m3/s",
|
||
"resultVisible": false,
|
||
"order": 50
|
||
}
|
||
],
|
||
"computation": {
|
||
"mode": "equation",
|
||
"inputs": [
|
||
"m_flow",
|
||
"H_flow"
|
||
],
|
||
"outputs": [
|
||
"p",
|
||
"T"
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"name": "port_2",
|
||
"kind": "physical",
|
||
"domain": "pneumatic",
|
||
"nominalRole": "bidirectional",
|
||
"positiveFlowDirection": "intoComponent",
|
||
"variables": [
|
||
{
|
||
"name": "p",
|
||
"role": "effort",
|
||
"connectionRule": "equal",
|
||
"label": "压力",
|
||
"quantity": "pressure",
|
||
"unit": "Pa",
|
||
"resultVisible": true,
|
||
"order": 10
|
||
},
|
||
{
|
||
"name": "m_flow",
|
||
"role": "flow",
|
||
"connectionRule": "sumToZero",
|
||
"label": "质量流量",
|
||
"quantity": "mass_flow",
|
||
"unit": "kg/s",
|
||
"resultVisible": true,
|
||
"order": 20
|
||
},
|
||
{
|
||
"name": "h_outflow",
|
||
"role": "stream",
|
||
"connectionRule": "streamMix",
|
||
"label": "流出比焓",
|
||
"quantity": "specific_enthalpy",
|
||
"unit": "J/kg",
|
||
"resultVisible": true,
|
||
"order": 30
|
||
},
|
||
{
|
||
"name": "volume",
|
||
"role": "signal",
|
||
"connectionRule": "directed",
|
||
"label": "外部容积",
|
||
"quantity": "volume",
|
||
"unit": "m3",
|
||
"resultVisible": false,
|
||
"order": 40
|
||
},
|
||
{
|
||
"name": "volume_flow",
|
||
"role": "signal",
|
||
"connectionRule": "directed",
|
||
"label": "外部容积变化率",
|
||
"quantity": "volume_flow",
|
||
"unit": "m3/s",
|
||
"resultVisible": false,
|
||
"order": 50
|
||
}
|
||
],
|
||
"computation": {
|
||
"mode": "equation",
|
||
"inputs": [
|
||
"m_flow",
|
||
"H_flow"
|
||
],
|
||
"outputs": [
|
||
"p",
|
||
"T"
|
||
]
|
||
}
|
||
}
|
||
],
|
||
"resultVariables": [
|
||
{
|
||
"key": "tank.m",
|
||
"componentId": "tank",
|
||
"componentType": "amesim_pnch023",
|
||
"scope": "component",
|
||
"portName": null,
|
||
"name": "m",
|
||
"label": "质量",
|
||
"quantity": "mass",
|
||
"unit": "kg",
|
||
"category": "state",
|
||
"order": 10
|
||
},
|
||
{
|
||
"key": "tank.U",
|
||
"componentId": "tank",
|
||
"componentType": "amesim_pnch023",
|
||
"scope": "component",
|
||
"portName": null,
|
||
"name": "U",
|
||
"label": "内能",
|
||
"quantity": "internal_energy",
|
||
"unit": "J",
|
||
"category": "state",
|
||
"order": 20
|
||
},
|
||
{
|
||
"key": "tank.p",
|
||
"componentId": "tank",
|
||
"componentType": "amesim_pnch023",
|
||
"scope": "component",
|
||
"portName": null,
|
||
"name": "p",
|
||
"label": "压力",
|
||
"quantity": "pressure",
|
||
"unit": "Pa",
|
||
"category": "thermodynamic",
|
||
"order": 30
|
||
},
|
||
{
|
||
"key": "tank.T",
|
||
"componentId": "tank",
|
||
"componentType": "amesim_pnch023",
|
||
"scope": "component",
|
||
"portName": null,
|
||
"name": "T",
|
||
"label": "温度",
|
||
"quantity": "temperature",
|
||
"unit": "K",
|
||
"category": "thermodynamic",
|
||
"order": 40
|
||
},
|
||
{
|
||
"key": "tank.rho",
|
||
"componentId": "tank",
|
||
"componentType": "amesim_pnch023",
|
||
"scope": "component",
|
||
"portName": null,
|
||
"name": "rho",
|
||
"label": "密度",
|
||
"quantity": "density",
|
||
"unit": "kg/m³",
|
||
"category": "thermodynamic",
|
||
"order": 50
|
||
},
|
||
{
|
||
"key": "tank.u",
|
||
"componentId": "tank",
|
||
"componentType": "amesim_pnch023",
|
||
"scope": "component",
|
||
"portName": null,
|
||
"name": "u",
|
||
"label": "比内能",
|
||
"quantity": "specific_internal_energy",
|
||
"unit": "J/kg",
|
||
"category": "thermodynamic",
|
||
"order": 60
|
||
},
|
||
{
|
||
"key": "tank.h",
|
||
"componentId": "tank",
|
||
"componentType": "amesim_pnch023",
|
||
"scope": "component",
|
||
"portName": null,
|
||
"name": "h",
|
||
"label": "比焓",
|
||
"quantity": "specific_enthalpy",
|
||
"unit": "J/kg",
|
||
"category": "thermodynamic",
|
||
"order": 70
|
||
},
|
||
{
|
||
"key": "tank.port_1.p",
|
||
"componentId": "tank",
|
||
"componentType": "amesim_pnch023",
|
||
"scope": "port",
|
||
"portName": "port_1",
|
||
"name": "p",
|
||
"label": "压力",
|
||
"quantity": "pressure",
|
||
"unit": "Pa",
|
||
"category": "effort",
|
||
"order": 10
|
||
},
|
||
{
|
||
"key": "tank.port_1.m_flow",
|
||
"componentId": "tank",
|
||
"componentType": "amesim_pnch023",
|
||
"scope": "port",
|
||
"portName": "port_1",
|
||
"name": "m_flow",
|
||
"label": "质量流量",
|
||
"quantity": "mass_flow",
|
||
"unit": "kg/s",
|
||
"category": "flow",
|
||
"order": 20
|
||
},
|
||
{
|
||
"key": "tank.port_1.h_outflow",
|
||
"componentId": "tank",
|
||
"componentType": "amesim_pnch023",
|
||
"scope": "port",
|
||
"portName": "port_1",
|
||
"name": "h_outflow",
|
||
"label": "流出比焓",
|
||
"quantity": "specific_enthalpy",
|
||
"unit": "J/kg",
|
||
"category": "stream",
|
||
"order": 30
|
||
},
|
||
{
|
||
"key": "tank.port_2.p",
|
||
"componentId": "tank",
|
||
"componentType": "amesim_pnch023",
|
||
"scope": "port",
|
||
"portName": "port_2",
|
||
"name": "p",
|
||
"label": "压力",
|
||
"quantity": "pressure",
|
||
"unit": "Pa",
|
||
"category": "effort",
|
||
"order": 10
|
||
},
|
||
{
|
||
"key": "tank.port_2.m_flow",
|
||
"componentId": "tank",
|
||
"componentType": "amesim_pnch023",
|
||
"scope": "port",
|
||
"portName": "port_2",
|
||
"name": "m_flow",
|
||
"label": "质量流量",
|
||
"quantity": "mass_flow",
|
||
"unit": "kg/s",
|
||
"category": "flow",
|
||
"order": 20
|
||
},
|
||
{
|
||
"key": "tank.port_2.h_outflow",
|
||
"componentId": "tank",
|
||
"componentType": "amesim_pnch023",
|
||
"scope": "port",
|
||
"portName": "port_2",
|
||
"name": "h_outflow",
|
||
"label": "流出比焓",
|
||
"quantity": "specific_enthalpy",
|
||
"unit": "J/kg",
|
||
"category": "stream",
|
||
"order": 30
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "left_cap",
|
||
"type": "amesim_pnpl01",
|
||
"parameters": [],
|
||
"ports": [
|
||
{
|
||
"name": "port_1",
|
||
"kind": "physical",
|
||
"domain": "pneumatic",
|
||
"nominalRole": "bidirectional",
|
||
"positiveFlowDirection": "intoComponent",
|
||
"variables": [
|
||
{
|
||
"name": "p",
|
||
"role": "effort",
|
||
"connectionRule": "equal",
|
||
"label": "压力",
|
||
"quantity": "pressure",
|
||
"unit": "Pa",
|
||
"resultVisible": true,
|
||
"order": 10
|
||
},
|
||
{
|
||
"name": "m_flow",
|
||
"role": "flow",
|
||
"connectionRule": "sumToZero",
|
||
"label": "质量流量",
|
||
"quantity": "mass_flow",
|
||
"unit": "kg/s",
|
||
"resultVisible": true,
|
||
"order": 20
|
||
},
|
||
{
|
||
"name": "h_outflow",
|
||
"role": "stream",
|
||
"connectionRule": "streamMix",
|
||
"label": "流出比焓",
|
||
"quantity": "specific_enthalpy",
|
||
"unit": "J/kg",
|
||
"resultVisible": true,
|
||
"order": 30
|
||
},
|
||
{
|
||
"name": "volume",
|
||
"role": "signal",
|
||
"connectionRule": "directed",
|
||
"label": "外部容积",
|
||
"quantity": "volume",
|
||
"unit": "m3",
|
||
"resultVisible": false,
|
||
"order": 40
|
||
},
|
||
{
|
||
"name": "volume_flow",
|
||
"role": "signal",
|
||
"connectionRule": "directed",
|
||
"label": "外部容积变化率",
|
||
"quantity": "volume_flow",
|
||
"unit": "m3/s",
|
||
"resultVisible": false,
|
||
"order": 50
|
||
}
|
||
],
|
||
"computation": {
|
||
"mode": "equation",
|
||
"inputs": [],
|
||
"outputs": [
|
||
"m_flow",
|
||
"H_flow"
|
||
]
|
||
}
|
||
}
|
||
],
|
||
"resultVariables": [
|
||
{
|
||
"key": "left_cap.port_1.p",
|
||
"componentId": "left_cap",
|
||
"componentType": "amesim_pnpl01",
|
||
"scope": "port",
|
||
"portName": "port_1",
|
||
"name": "p",
|
||
"label": "压力",
|
||
"quantity": "pressure",
|
||
"unit": "Pa",
|
||
"category": "effort",
|
||
"order": 10
|
||
},
|
||
{
|
||
"key": "left_cap.port_1.m_flow",
|
||
"componentId": "left_cap",
|
||
"componentType": "amesim_pnpl01",
|
||
"scope": "port",
|
||
"portName": "port_1",
|
||
"name": "m_flow",
|
||
"label": "质量流量",
|
||
"quantity": "mass_flow",
|
||
"unit": "kg/s",
|
||
"category": "flow",
|
||
"order": 20
|
||
},
|
||
{
|
||
"key": "left_cap.port_1.h_outflow",
|
||
"componentId": "left_cap",
|
||
"componentType": "amesim_pnpl01",
|
||
"scope": "port",
|
||
"portName": "port_1",
|
||
"name": "h_outflow",
|
||
"label": "流出比焓",
|
||
"quantity": "specific_enthalpy",
|
||
"unit": "J/kg",
|
||
"category": "stream",
|
||
"order": 30
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "right_cap",
|
||
"type": "amesim_pnpl01",
|
||
"parameters": [],
|
||
"ports": [
|
||
{
|
||
"name": "port_1",
|
||
"kind": "physical",
|
||
"domain": "pneumatic",
|
||
"nominalRole": "bidirectional",
|
||
"positiveFlowDirection": "intoComponent",
|
||
"variables": [
|
||
{
|
||
"name": "p",
|
||
"role": "effort",
|
||
"connectionRule": "equal",
|
||
"label": "压力",
|
||
"quantity": "pressure",
|
||
"unit": "Pa",
|
||
"resultVisible": true,
|
||
"order": 10
|
||
},
|
||
{
|
||
"name": "m_flow",
|
||
"role": "flow",
|
||
"connectionRule": "sumToZero",
|
||
"label": "质量流量",
|
||
"quantity": "mass_flow",
|
||
"unit": "kg/s",
|
||
"resultVisible": true,
|
||
"order": 20
|
||
},
|
||
{
|
||
"name": "h_outflow",
|
||
"role": "stream",
|
||
"connectionRule": "streamMix",
|
||
"label": "流出比焓",
|
||
"quantity": "specific_enthalpy",
|
||
"unit": "J/kg",
|
||
"resultVisible": true,
|
||
"order": 30
|
||
},
|
||
{
|
||
"name": "volume",
|
||
"role": "signal",
|
||
"connectionRule": "directed",
|
||
"label": "外部容积",
|
||
"quantity": "volume",
|
||
"unit": "m3",
|
||
"resultVisible": false,
|
||
"order": 40
|
||
},
|
||
{
|
||
"name": "volume_flow",
|
||
"role": "signal",
|
||
"connectionRule": "directed",
|
||
"label": "外部容积变化率",
|
||
"quantity": "volume_flow",
|
||
"unit": "m3/s",
|
||
"resultVisible": false,
|
||
"order": 50
|
||
}
|
||
],
|
||
"computation": {
|
||
"mode": "equation",
|
||
"inputs": [],
|
||
"outputs": [
|
||
"m_flow",
|
||
"H_flow"
|
||
]
|
||
}
|
||
}
|
||
],
|
||
"resultVariables": [
|
||
{
|
||
"key": "right_cap.port_1.p",
|
||
"componentId": "right_cap",
|
||
"componentType": "amesim_pnpl01",
|
||
"scope": "port",
|
||
"portName": "port_1",
|
||
"name": "p",
|
||
"label": "压力",
|
||
"quantity": "pressure",
|
||
"unit": "Pa",
|
||
"category": "effort",
|
||
"order": 10
|
||
},
|
||
{
|
||
"key": "right_cap.port_1.m_flow",
|
||
"componentId": "right_cap",
|
||
"componentType": "amesim_pnpl01",
|
||
"scope": "port",
|
||
"portName": "port_1",
|
||
"name": "m_flow",
|
||
"label": "质量流量",
|
||
"quantity": "mass_flow",
|
||
"unit": "kg/s",
|
||
"category": "flow",
|
||
"order": 20
|
||
},
|
||
{
|
||
"key": "right_cap.port_1.h_outflow",
|
||
"componentId": "right_cap",
|
||
"componentType": "amesim_pnpl01",
|
||
"scope": "port",
|
||
"portName": "port_1",
|
||
"name": "h_outflow",
|
||
"label": "流出比焓",
|
||
"quantity": "specific_enthalpy",
|
||
"unit": "J/kg",
|
||
"category": "stream",
|
||
"order": 30
|
||
}
|
||
]
|
||
}
|
||
],
|
||
"connections": [
|
||
{
|
||
"id": "left",
|
||
"kind": "physical",
|
||
"domain": "pneumatic",
|
||
"endpoints": [
|
||
{
|
||
"component": "left_cap",
|
||
"port": "port_1"
|
||
},
|
||
{
|
||
"component": "tank",
|
||
"port": "port_1"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "right",
|
||
"kind": "physical",
|
||
"domain": "pneumatic",
|
||
"endpoints": [
|
||
{
|
||
"component": "right_cap",
|
||
"port": "port_1"
|
||
},
|
||
{
|
||
"component": "tank",
|
||
"port": "port_2"
|
||
}
|
||
]
|
||
}
|
||
],
|
||
"pressureFlowSystem": {
|
||
"unknownCount": 8,
|
||
"equationCount": 8,
|
||
"isSquare": true,
|
||
"unknowns": [
|
||
"tank.port_1.p",
|
||
"tank.port_1.m_flow",
|
||
"tank.port_2.p",
|
||
"tank.port_2.m_flow",
|
||
"left_cap.port_1.p",
|
||
"left_cap.port_1.m_flow",
|
||
"right_cap.port_1.p",
|
||
"right_cap.port_1.m_flow"
|
||
],
|
||
"equations": [
|
||
{
|
||
"id": "tank:port_1_pressure_state",
|
||
"owner": "component",
|
||
"ownerId": "tank",
|
||
"relation": "state",
|
||
"variables": [
|
||
"tank.port_1.p",
|
||
"tank.state"
|
||
],
|
||
"role": "effort"
|
||
},
|
||
{
|
||
"id": "tank:port_2_pressure_state",
|
||
"owner": "component",
|
||
"ownerId": "tank",
|
||
"relation": "state",
|
||
"variables": [
|
||
"tank.port_2.p",
|
||
"tank.state"
|
||
],
|
||
"role": "effort"
|
||
},
|
||
{
|
||
"id": "left_cap:zero_mass_flow",
|
||
"owner": "component",
|
||
"ownerId": "left_cap",
|
||
"relation": "constitutive",
|
||
"variables": [
|
||
"left_cap.port_1.m_flow"
|
||
],
|
||
"role": "flow"
|
||
},
|
||
{
|
||
"id": "right_cap:zero_mass_flow",
|
||
"owner": "component",
|
||
"ownerId": "right_cap",
|
||
"relation": "constitutive",
|
||
"variables": [
|
||
"right_cap.port_1.m_flow"
|
||
],
|
||
"role": "flow"
|
||
},
|
||
{
|
||
"id": "left:p",
|
||
"owner": "connection",
|
||
"ownerId": "left",
|
||
"relation": "equal",
|
||
"variables": [
|
||
"left_cap.port_1.p",
|
||
"tank.port_1.p"
|
||
],
|
||
"role": "effort"
|
||
},
|
||
{
|
||
"id": "left:m_flow",
|
||
"owner": "connection",
|
||
"ownerId": "left",
|
||
"relation": "sumToZero",
|
||
"variables": [
|
||
"left_cap.port_1.m_flow",
|
||
"tank.port_1.m_flow"
|
||
],
|
||
"role": "flow"
|
||
},
|
||
{
|
||
"id": "right:p",
|
||
"owner": "connection",
|
||
"ownerId": "right",
|
||
"relation": "equal",
|
||
"variables": [
|
||
"right_cap.port_1.p",
|
||
"tank.port_2.p"
|
||
],
|
||
"role": "effort"
|
||
},
|
||
{
|
||
"id": "right:m_flow",
|
||
"owner": "connection",
|
||
"ownerId": "right",
|
||
"relation": "sumToZero",
|
||
"variables": [
|
||
"right_cap.port_1.m_flow",
|
||
"tank.port_2.m_flow"
|
||
],
|
||
"role": "flow"
|
||
}
|
||
]
|
||
},
|
||
"unconnectedPorts": []
|
||
},
|
||
"success": true,
|
||
"status": "completed",
|
||
"partial": false,
|
||
"message": "Simulation completed.",
|
||
"simulatedUntil": 0.02,
|
||
"requestedStopTime": 0.02,
|
||
"variables": [
|
||
{
|
||
"key": "tank.m",
|
||
"componentId": "tank",
|
||
"componentType": "amesim_pnch023",
|
||
"scope": "component",
|
||
"portName": null,
|
||
"name": "m",
|
||
"label": "质量",
|
||
"quantity": "mass",
|
||
"unit": "kg",
|
||
"category": "state",
|
||
"order": 10
|
||
},
|
||
{
|
||
"key": "tank.U",
|
||
"componentId": "tank",
|
||
"componentType": "amesim_pnch023",
|
||
"scope": "component",
|
||
"portName": null,
|
||
"name": "U",
|
||
"label": "内能",
|
||
"quantity": "internal_energy",
|
||
"unit": "J",
|
||
"category": "state",
|
||
"order": 20
|
||
},
|
||
{
|
||
"key": "tank.p",
|
||
"componentId": "tank",
|
||
"componentType": "amesim_pnch023",
|
||
"scope": "component",
|
||
"portName": null,
|
||
"name": "p",
|
||
"label": "压力",
|
||
"quantity": "pressure",
|
||
"unit": "Pa",
|
||
"category": "thermodynamic",
|
||
"order": 30
|
||
},
|
||
{
|
||
"key": "tank.T",
|
||
"componentId": "tank",
|
||
"componentType": "amesim_pnch023",
|
||
"scope": "component",
|
||
"portName": null,
|
||
"name": "T",
|
||
"label": "温度",
|
||
"quantity": "temperature",
|
||
"unit": "K",
|
||
"category": "thermodynamic",
|
||
"order": 40
|
||
},
|
||
{
|
||
"key": "tank.rho",
|
||
"componentId": "tank",
|
||
"componentType": "amesim_pnch023",
|
||
"scope": "component",
|
||
"portName": null,
|
||
"name": "rho",
|
||
"label": "密度",
|
||
"quantity": "density",
|
||
"unit": "kg/m³",
|
||
"category": "thermodynamic",
|
||
"order": 50
|
||
},
|
||
{
|
||
"key": "tank.u",
|
||
"componentId": "tank",
|
||
"componentType": "amesim_pnch023",
|
||
"scope": "component",
|
||
"portName": null,
|
||
"name": "u",
|
||
"label": "比内能",
|
||
"quantity": "specific_internal_energy",
|
||
"unit": "J/kg",
|
||
"category": "thermodynamic",
|
||
"order": 60
|
||
},
|
||
{
|
||
"key": "tank.h",
|
||
"componentId": "tank",
|
||
"componentType": "amesim_pnch023",
|
||
"scope": "component",
|
||
"portName": null,
|
||
"name": "h",
|
||
"label": "比焓",
|
||
"quantity": "specific_enthalpy",
|
||
"unit": "J/kg",
|
||
"category": "thermodynamic",
|
||
"order": 70
|
||
},
|
||
{
|
||
"key": "tank.port_1.p",
|
||
"componentId": "tank",
|
||
"componentType": "amesim_pnch023",
|
||
"scope": "port",
|
||
"portName": "port_1",
|
||
"name": "p",
|
||
"label": "压力",
|
||
"quantity": "pressure",
|
||
"unit": "Pa",
|
||
"category": "effort",
|
||
"order": 10
|
||
},
|
||
{
|
||
"key": "tank.port_1.m_flow",
|
||
"componentId": "tank",
|
||
"componentType": "amesim_pnch023",
|
||
"scope": "port",
|
||
"portName": "port_1",
|
||
"name": "m_flow",
|
||
"label": "质量流量",
|
||
"quantity": "mass_flow",
|
||
"unit": "kg/s",
|
||
"category": "flow",
|
||
"order": 20
|
||
},
|
||
{
|
||
"key": "tank.port_1.h_outflow",
|
||
"componentId": "tank",
|
||
"componentType": "amesim_pnch023",
|
||
"scope": "port",
|
||
"portName": "port_1",
|
||
"name": "h_outflow",
|
||
"label": "流出比焓",
|
||
"quantity": "specific_enthalpy",
|
||
"unit": "J/kg",
|
||
"category": "stream",
|
||
"order": 30
|
||
},
|
||
{
|
||
"key": "tank.port_2.p",
|
||
"componentId": "tank",
|
||
"componentType": "amesim_pnch023",
|
||
"scope": "port",
|
||
"portName": "port_2",
|
||
"name": "p",
|
||
"label": "压力",
|
||
"quantity": "pressure",
|
||
"unit": "Pa",
|
||
"category": "effort",
|
||
"order": 10
|
||
},
|
||
{
|
||
"key": "tank.port_2.m_flow",
|
||
"componentId": "tank",
|
||
"componentType": "amesim_pnch023",
|
||
"scope": "port",
|
||
"portName": "port_2",
|
||
"name": "m_flow",
|
||
"label": "质量流量",
|
||
"quantity": "mass_flow",
|
||
"unit": "kg/s",
|
||
"category": "flow",
|
||
"order": 20
|
||
},
|
||
{
|
||
"key": "tank.port_2.h_outflow",
|
||
"componentId": "tank",
|
||
"componentType": "amesim_pnch023",
|
||
"scope": "port",
|
||
"portName": "port_2",
|
||
"name": "h_outflow",
|
||
"label": "流出比焓",
|
||
"quantity": "specific_enthalpy",
|
||
"unit": "J/kg",
|
||
"category": "stream",
|
||
"order": 30
|
||
},
|
||
{
|
||
"key": "left_cap.port_1.p",
|
||
"componentId": "left_cap",
|
||
"componentType": "amesim_pnpl01",
|
||
"scope": "port",
|
||
"portName": "port_1",
|
||
"name": "p",
|
||
"label": "压力",
|
||
"quantity": "pressure",
|
||
"unit": "Pa",
|
||
"category": "effort",
|
||
"order": 10
|
||
},
|
||
{
|
||
"key": "left_cap.port_1.m_flow",
|
||
"componentId": "left_cap",
|
||
"componentType": "amesim_pnpl01",
|
||
"scope": "port",
|
||
"portName": "port_1",
|
||
"name": "m_flow",
|
||
"label": "质量流量",
|
||
"quantity": "mass_flow",
|
||
"unit": "kg/s",
|
||
"category": "flow",
|
||
"order": 20
|
||
},
|
||
{
|
||
"key": "left_cap.port_1.h_outflow",
|
||
"componentId": "left_cap",
|
||
"componentType": "amesim_pnpl01",
|
||
"scope": "port",
|
||
"portName": "port_1",
|
||
"name": "h_outflow",
|
||
"label": "流出比焓",
|
||
"quantity": "specific_enthalpy",
|
||
"unit": "J/kg",
|
||
"category": "stream",
|
||
"order": 30
|
||
},
|
||
{
|
||
"key": "right_cap.port_1.p",
|
||
"componentId": "right_cap",
|
||
"componentType": "amesim_pnpl01",
|
||
"scope": "port",
|
||
"portName": "port_1",
|
||
"name": "p",
|
||
"label": "压力",
|
||
"quantity": "pressure",
|
||
"unit": "Pa",
|
||
"category": "effort",
|
||
"order": 10
|
||
},
|
||
{
|
||
"key": "right_cap.port_1.m_flow",
|
||
"componentId": "right_cap",
|
||
"componentType": "amesim_pnpl01",
|
||
"scope": "port",
|
||
"portName": "port_1",
|
||
"name": "m_flow",
|
||
"label": "质量流量",
|
||
"quantity": "mass_flow",
|
||
"unit": "kg/s",
|
||
"category": "flow",
|
||
"order": 20
|
||
},
|
||
{
|
||
"key": "right_cap.port_1.h_outflow",
|
||
"componentId": "right_cap",
|
||
"componentType": "amesim_pnpl01",
|
||
"scope": "port",
|
||
"portName": "port_1",
|
||
"name": "h_outflow",
|
||
"label": "流出比焓",
|
||
"quantity": "specific_enthalpy",
|
||
"unit": "J/kg",
|
||
"category": "stream",
|
||
"order": 30
|
||
}
|
||
],
|
||
"final": {
|
||
"tank.m": 0.1693725667550772,
|
||
"tank.U": 35649.82578397213,
|
||
"tank.p": 249999.99999999997,
|
||
"tank.T": 293.1499999999999,
|
||
"tank.rho": 2.9714485395627577,
|
||
"tank.u": 210481.69999999995,
|
||
"tank.h": 294615.74999999994,
|
||
"tank.port_1.p": 249999.99999999997,
|
||
"tank.port_1.m_flow": 0,
|
||
"tank.port_1.h_outflow": 294615.74999999994,
|
||
"tank.port_2.p": 249999.99999999997,
|
||
"tank.port_2.m_flow": 0,
|
||
"tank.port_2.h_outflow": 294615.74999999994,
|
||
"left_cap.port_1.p": 249999.99999999997,
|
||
"left_cap.port_1.m_flow": 0,
|
||
"left_cap.port_1.h_outflow": 294615.74999999994,
|
||
"right_cap.port_1.p": 249999.99999999997,
|
||
"right_cap.port_1.m_flow": 0,
|
||
"right_cap.port_1.h_outflow": 294615.74999999994
|
||
},
|
||
"diagnostics": {
|
||
"backend": "native-c",
|
||
"propertyWarnings": [],
|
||
"native": {
|
||
"success": true,
|
||
"status": "completed",
|
||
"message": "Simulation completed.",
|
||
"contactEvents": {
|
||
"checks": 0,
|
||
"denseCalls": 0,
|
||
"rootIterations": 0,
|
||
"transitions": 0,
|
||
"forceClipTransitions": 0
|
||
},
|
||
"propertyWarnings": [],
|
||
"outputSemantics": {
|
||
"version": 2,
|
||
"regularSamples": "actual-time-no-snap",
|
||
"internalTimeEvents": "left-adjacent-and-at-event",
|
||
"stateEvents": "left-adjacent-when-available-and-post-reset",
|
||
"sameTime": "last-accepted-state",
|
||
"replay": "saved-time-and-state-including-discrete-modes"
|
||
},
|
||
"jacobianReuse": {
|
||
"gasEvaluations": 0,
|
||
"gasReuses": 0,
|
||
"phEvaluations": 0,
|
||
"phReuses": 0,
|
||
"densityEvaluations": 0,
|
||
"densityReuses": 0,
|
||
"pipeEvaluations": 0,
|
||
"pipeReuses": 0
|
||
},
|
||
"solverControl": {
|
||
"reason": "",
|
||
"operation": "",
|
||
"returnCode": 1,
|
||
"sameTimeReturns": 0,
|
||
"maxSameTimeStreak": 0,
|
||
"returnTime": 0.02,
|
||
"internalTime": 0.02,
|
||
"lastStep": 0.000999313548187014,
|
||
"nextStep": 0.000999313548187014
|
||
},
|
||
"jacobianMode": "dense-difference",
|
||
"jacobianRhsCalls": 0,
|
||
"jacobianColoredEvals": 0,
|
||
"jacobianFallbacks": 0,
|
||
"jacobianChecks": 0,
|
||
"jacobianMismatches": 0,
|
||
"cvodeRhsCalls": 24,
|
||
"cvodeLinearRhsCalls": 2,
|
||
"backend": "native-c",
|
||
"method": "BDF",
|
||
"solver": "CVODE",
|
||
"sundialsVersion": "7.4.0",
|
||
"simulatedUntil": 0.02,
|
||
"solveSeconds": 0.0005082999996375293,
|
||
"solveCpuSeconds": 0,
|
||
"nfev": 26,
|
||
"acceptedSteps": 21,
|
||
"rejectedSteps": 0,
|
||
"stateTransitions": 0,
|
||
"solverStarts": 1,
|
||
"njev": 1,
|
||
"nlu": 2,
|
||
"maxAcceptedStep": 0.0010000000000000009,
|
||
"processWallSeconds": 1.1359746000016457,
|
||
"buildKey": "66c7d66262070dda0b558502b2c3004039a55ce5170eb515c9ec694ca4437845",
|
||
"cacheHit": false,
|
||
"buildSeconds": 6.046505599995726,
|
||
"buildDetails": {
|
||
"selectedModules": [
|
||
"properties"
|
||
],
|
||
"unitCount": 9,
|
||
"objectCacheHits": 3,
|
||
"objectCompilations": 6,
|
||
"preprocessSeconds": 2.206668599996192,
|
||
"compileSeconds": 6.729558499995619,
|
||
"compileWallSeconds": 2.077840500001912,
|
||
"linkSeconds": 0.4797404999990249,
|
||
"modelCacheHit": false,
|
||
"compilerLaunchRetries": 0,
|
||
"pruning": {
|
||
"models": {
|
||
"limitBytes": 268435456,
|
||
"beforeBytes": 268971602,
|
||
"afterBytes": 268226531,
|
||
"removedBytes": 745071,
|
||
"removedEntries": 1,
|
||
"skippedInUse": 0,
|
||
"skippedChanged": 0,
|
||
"skippedUnmanaged": 0,
|
||
"oversizedEntries": 0,
|
||
"overLimitBytes": 0,
|
||
"skippedConcurrentSweep": false,
|
||
"errors": []
|
||
},
|
||
"objects": {
|
||
"limitBytes": 134217728,
|
||
"beforeBytes": 36703294,
|
||
"afterBytes": 36703294,
|
||
"removedBytes": 0,
|
||
"removedEntries": 0,
|
||
"skippedInUse": 0,
|
||
"skippedChanged": 0,
|
||
"skippedUnmanaged": 0,
|
||
"oversizedEntries": 0,
|
||
"overLimitBytes": 0,
|
||
"skippedConcurrentSweep": false,
|
||
"errors": []
|
||
},
|
||
"orphanStages": {
|
||
"orphanStagesRemoved": 1,
|
||
"orphanStagesBytes": 197591,
|
||
"skippedInUse": 0,
|
||
"skippedUnmanaged": 18,
|
||
"skippedConcurrentSweep": false,
|
||
"errors": []
|
||
}
|
||
}
|
||
},
|
||
"resultStorage": {
|
||
"id": "run-f769d4e871194eb0ac06cf73e978d5eed47fa94f78454ad89c46ae10032f01fb",
|
||
"directory": "simresults/run-f769d4e871194eb0ac06cf73e978d5eed47fa94f78454ad89c46ae10032f01fb",
|
||
"directoryBase": "project",
|
||
"limitBytes": 1073741824,
|
||
"status": "completed",
|
||
"states": {
|
||
"blocks": 1,
|
||
"samples": 3,
|
||
"validBytes": 120,
|
||
"storedUntil": 0.02,
|
||
"incompleteTail": false,
|
||
"corrupt": false
|
||
},
|
||
"outputs": {
|
||
"blocks": 1,
|
||
"samples": 3,
|
||
"validBytes": 528,
|
||
"storedUntil": 0.02,
|
||
"incompleteTail": false,
|
||
"corrupt": false
|
||
}
|
||
}
|
||
},
|
||
"integration": {
|
||
"method": "BDF",
|
||
"rtol": 1e-08,
|
||
"totals": {
|
||
"nfev": 26,
|
||
"njev": 1,
|
||
"nlu": 2,
|
||
"acceptedStepCount": 21,
|
||
"rejectedStepCount": 0,
|
||
"stateTransitionCount": 0,
|
||
"solverStartCount": 1
|
||
}
|
||
},
|
||
"stateCount": 2,
|
||
"sampleCount": 3
|
||
},
|
||
"series": {
|
||
"time": [
|
||
0,
|
||
0.01,
|
||
0.02
|
||
],
|
||
"tank.m": [
|
||
0.1693725667550772,
|
||
0.1693725667550772,
|
||
0.1693725667550772
|
||
],
|
||
"tank.U": [
|
||
35649.82578397213,
|
||
35649.82578397213,
|
||
35649.82578397213
|
||
],
|
||
"tank.p": [
|
||
249999.99999999997,
|
||
249999.99999999997,
|
||
249999.99999999997
|
||
],
|
||
"tank.T": [
|
||
293.1499999999999,
|
||
293.1499999999999,
|
||
293.1499999999999
|
||
],
|
||
"tank.rho": [
|
||
2.9714485395627577,
|
||
2.9714485395627577,
|
||
2.9714485395627577
|
||
],
|
||
"tank.u": [
|
||
210481.69999999995,
|
||
210481.69999999995,
|
||
210481.69999999995
|
||
],
|
||
"tank.h": [
|
||
294615.74999999994,
|
||
294615.74999999994,
|
||
294615.74999999994
|
||
],
|
||
"tank.port_1.p": [
|
||
249999.99999999997,
|
||
249999.99999999997,
|
||
249999.99999999997
|
||
],
|
||
"tank.port_1.m_flow": [
|
||
0,
|
||
0,
|
||
0
|
||
],
|
||
"tank.port_1.h_outflow": [
|
||
294615.74999999994,
|
||
294615.74999999994,
|
||
294615.74999999994
|
||
],
|
||
"tank.port_2.p": [
|
||
249999.99999999997,
|
||
249999.99999999997,
|
||
249999.99999999997
|
||
],
|
||
"tank.port_2.m_flow": [
|
||
0,
|
||
0,
|
||
0
|
||
],
|
||
"tank.port_2.h_outflow": [
|
||
294615.74999999994,
|
||
294615.74999999994,
|
||
294615.74999999994
|
||
],
|
||
"left_cap.port_1.p": [
|
||
249999.99999999997,
|
||
249999.99999999997,
|
||
249999.99999999997
|
||
],
|
||
"left_cap.port_1.m_flow": [
|
||
0,
|
||
0,
|
||
0
|
||
],
|
||
"left_cap.port_1.h_outflow": [
|
||
294615.74999999994,
|
||
294615.74999999994,
|
||
294615.74999999994
|
||
],
|
||
"right_cap.port_1.p": [
|
||
249999.99999999997,
|
||
249999.99999999997,
|
||
249999.99999999997
|
||
],
|
||
"right_cap.port_1.m_flow": [
|
||
0,
|
||
0,
|
||
0
|
||
],
|
||
"right_cap.port_1.h_outflow": [
|
||
294615.74999999994,
|
||
294615.74999999994,
|
||
294615.74999999994
|
||
]
|
||
}
|
||
}
|