{ "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 }, "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", "positiveFlowDirection": "intoComponent", "side": "left", "computation": { "mode": "equation", "inputs": [ "m_flow", "H_flow" ], "outputs": [ "p", "T" ] } }, { "name": "port_2", "kind": "physical", "domain": "pneumatic", "nominalRole": "bidirectional", "positiveFlowDirection": "intoComponent", "side": "right", "computation": { "mode": "equation", "inputs": [ "m_flow", "H_flow" ], "outputs": [ "p", "T" ] } } ], "parameters": { "gi": 1, "cvol": 0.057, "kth": 0, "sth": 0.1, "extemp": 293.15, "p0": 2.5, "T0": 20 }, "parameterUnits": { "cvol": "m3", "kth": "W/(m2*K)", "sth": "m2", "extemp": "K", "p0": "bar", "T0": "degC", "gi": "" }, "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", "positiveFlowDirection": "intoComponent", "side": "left", "computation": { "mode": "equation", "inputs": [], "outputs": [ "m_flow", "H_flow" ] } } ], "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", "positiveFlowDirection": "intoComponent", "side": "left", "computation": { "mode": "equation", "inputs": [], "outputs": [ "m_flow", "H_flow" ] } } ], "parameters": {}, "parameterUnits": {}, "parameterScientificNotation": {}, "rotation": 0, "mirrored": false } } ], "edges": [ { "id": "left", "source": "left_cap", "target": "tank", "sourceHandle": "port_1", "targetHandle": "port_1", "data": { "isContactEdge": false } }, { "id": "right", "source": "tank", "target": "right_cap", "sourceHandle": "port_2", "targetHandle": "port_1", "data": { "isContactEdge": false } } ], "simulation": { "t_start": 0, "t_stop": 0.02, "step": 0.01, "max_step": 0.001, "method": "BDF" } }