15 lines
905 B
JSON
15 lines
905 B
JSON
{
|
|
"name": "closed-tank",
|
|
"simulation": {"t_start": 0, "t_stop": 0.02, "step": 0.01, "max_step": 0.001, "method": "BDF"},
|
|
"components": [
|
|
{"id": "air", "modelType": "amesim_ideal_air_medium", "parameters": {"gi": 1}, "position": {"x": 0, "y": 220}},
|
|
{"id": "tank", "modelType": "amesim_pnch023", "parameters": {"gi": 1, "p0": 2.5, "T0": 20}, "parameterUnits": {"p0": "bar", "T0": "degC"}, "position": {"x": 300, "y": 0}},
|
|
{"id": "left_cap", "modelType": "amesim_pnpl01", "position": {"x": 0, "y": 0}, "rotation": 180},
|
|
{"id": "right_cap", "modelType": "amesim_pnpl01", "position": {"x": 600, "y": 0}}
|
|
],
|
|
"connections": [
|
|
{"id": "left", "source": {"component": "left_cap", "port": "port_1"}, "target": {"component": "tank", "port": "port_1"}},
|
|
{"id": "right", "source": {"component": "tank", "port": "port_2"}, "target": {"component": "right_cap", "port": "port_1"}}
|
|
]
|
|
}
|