173 lines
3.9 KiB
JSON
173 lines
3.9 KiB
JSON
{
|
|
"projectSchemaVersion": 2,
|
|
"name": "closed-tank",
|
|
"nodes": [
|
|
{
|
|
"id": "air",
|
|
"type": "simulationComponent",
|
|
"position": {
|
|
"x": 0,
|
|
"y": 220
|
|
},
|
|
"data": {
|
|
"label": "air",
|
|
"componentType": "amesim_ideal_air_medium",
|
|
"modelType": "amesim_ideal_air_medium",
|
|
"modelVersion": "0.2.0",
|
|
"ports": [],
|
|
"parameters": {
|
|
"gi": 1,
|
|
"property_model": 0.0
|
|
},
|
|
"parameterUnits": {
|
|
"gi": "",
|
|
"property_model": ""
|
|
},
|
|
"parameterScientificNotation": {},
|
|
"rotation": 0,
|
|
"mirrored": false
|
|
}
|
|
},
|
|
{
|
|
"id": "tank",
|
|
"type": "simulationComponent",
|
|
"position": {
|
|
"x": 300,
|
|
"y": 0
|
|
},
|
|
"data": {
|
|
"label": "tank",
|
|
"componentType": "amesim_pnch023",
|
|
"modelType": "amesim_pnch023",
|
|
"modelVersion": "0.1.0",
|
|
"ports": [
|
|
{
|
|
"name": "port_1",
|
|
"kind": "physical",
|
|
"domain": "pneumatic",
|
|
"nominalRole": "bidirectional",
|
|
"side": "left",
|
|
"positiveFlowDirection": "intoComponent"
|
|
},
|
|
{
|
|
"name": "port_2",
|
|
"kind": "physical",
|
|
"domain": "pneumatic",
|
|
"nominalRole": "bidirectional",
|
|
"side": "right",
|
|
"positiveFlowDirection": "intoComponent"
|
|
}
|
|
],
|
|
"parameters": {
|
|
"gi": 1,
|
|
"cvol": 0.057,
|
|
"kth": 0.0,
|
|
"sth": 0.1,
|
|
"extemp": 293.15,
|
|
"p0": 2.5,
|
|
"T0": 20
|
|
},
|
|
"parameterUnits": {
|
|
"gi": "",
|
|
"cvol": "m3",
|
|
"kth": "W/(m2*K)",
|
|
"sth": "m2",
|
|
"extemp": "K",
|
|
"p0": "bar",
|
|
"T0": "degC"
|
|
},
|
|
"parameterScientificNotation": {},
|
|
"rotation": 0,
|
|
"mirrored": false
|
|
}
|
|
},
|
|
{
|
|
"id": "left_cap",
|
|
"type": "simulationComponent",
|
|
"position": {
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
"data": {
|
|
"label": "left_cap",
|
|
"componentType": "amesim_pnpl01",
|
|
"modelType": "amesim_pnpl01",
|
|
"modelVersion": "0.1.0",
|
|
"ports": [
|
|
{
|
|
"name": "port_1",
|
|
"kind": "physical",
|
|
"domain": "pneumatic",
|
|
"nominalRole": "bidirectional",
|
|
"side": "left",
|
|
"positiveFlowDirection": "intoComponent"
|
|
}
|
|
],
|
|
"parameters": {},
|
|
"parameterUnits": {},
|
|
"parameterScientificNotation": {},
|
|
"rotation": 180,
|
|
"mirrored": false
|
|
}
|
|
},
|
|
{
|
|
"id": "right_cap",
|
|
"type": "simulationComponent",
|
|
"position": {
|
|
"x": 600,
|
|
"y": 0
|
|
},
|
|
"data": {
|
|
"label": "right_cap",
|
|
"componentType": "amesim_pnpl01",
|
|
"modelType": "amesim_pnpl01",
|
|
"modelVersion": "0.1.0",
|
|
"ports": [
|
|
{
|
|
"name": "port_1",
|
|
"kind": "physical",
|
|
"domain": "pneumatic",
|
|
"nominalRole": "bidirectional",
|
|
"side": "left",
|
|
"positiveFlowDirection": "intoComponent"
|
|
}
|
|
],
|
|
"parameters": {},
|
|
"parameterUnits": {},
|
|
"parameterScientificNotation": {},
|
|
"rotation": 0,
|
|
"mirrored": false
|
|
}
|
|
}
|
|
],
|
|
"edges": [
|
|
{
|
|
"id": "left",
|
|
"source": "left_cap",
|
|
"sourceHandle": "port_1",
|
|
"target": "tank",
|
|
"targetHandle": "port_1",
|
|
"data": {
|
|
"isContactEdge": false
|
|
}
|
|
},
|
|
{
|
|
"id": "right",
|
|
"source": "tank",
|
|
"sourceHandle": "port_2",
|
|
"target": "right_cap",
|
|
"targetHandle": "port_1",
|
|
"data": {
|
|
"isContactEdge": false
|
|
}
|
|
}
|
|
],
|
|
"simulation": {
|
|
"t_start": 0,
|
|
"t_stop": 0.02,
|
|
"step": 0.01,
|
|
"max_step": 0.001,
|
|
"method": "BDF"
|
|
}
|
|
}
|