{ "file_format_version": 1, "format_version": 1, "id": "3b6780c7-488b-471e-a784-392db7632090", "name": "main_node", "root": { "50e6ef97-f686-4400-bc01-e5a352e8cc22": { "name": "some_bondgraph", "interface": { "ports": {} }, "parameters": {}, "implementation": { "implementation_type": "graph", "graph": { "components": { "43b3aee6-0b38-429b-9c6d-d38fc097297f": { "name": "C", "interface": { "ports": { "c87881f1-23b4-4a69-b586-8e3c7bf6e21e": { "port_type": "bond", "name": "p", "direction": "input", "multiplicity": false, "matrix_size": [ 1, 1 ], "description": "", "domain": "power", "causality_preference": "preferred_effort_out" }, "c62de8eb-e13b-4849-bea5-c8cc5332269e": { "port_type": "signal", "name": "state", "direction": "output", "multiplicity": false, "matrix_size": [ 1, 1 ], "description": "", "value_type": "real", "quantity": "", "unit": "" } } }, "parameters": { "parameter-d056bc27": { "name": "c", "value": "1", "value_type": "real", "matrix_size": [ 1, 1 ], "quantity": null, "unit": null, "description": null } }, "implementation": { "implementation_type": "equation", "declarations": [], "initial_equations": [ "state = 0;" ], "equations": [ "der(state) = p.f;", "p.e = state/c;" ] } }, "5a8b2e8d-489f-467b-8282-7e344dfad576": { "name": "R", "interface": { "ports": { "0ac7d4ea-77f7-4c0d-8e37-406ef66e4740": { "port_type": "bond", "name": "p", "direction": "input", "multiplicity": false, "matrix_size": [ 1, 1 ], "description": "", "domain": "power", "causality_preference": "indifferent" }, "d1f5aab2-7bff-4b1e-8697-98fb6c3d8f02": { "port_type": "signal", "name": "power", "direction": "output", "multiplicity": false, "matrix_size": [ 1, 1 ], "description": "Dissipated power", "value_type": "real", "quantity": null, "unit": null } } }, "parameters": { "parameter-d056bc27": { "name": "r", "value": "1", "value_type": "real", "matrix_size": [ 1, 1 ], "quantity": null, "unit": null, "description": null } }, "implementation": { "implementation_type": "equation", "declarations": [], "initial_equations": [], "equations": [ "p.e = r*p.f;", "power = p.e*p.f;" ] } }, "2804f2f1-6123-4a53-aff1-87a3a8202711": { "name": "Se", "interface": { "ports": { "5b6a8a0c-0875-402c-bd74-11d086aac372": { "port_type": "bond", "name": "p", "direction": "output", "multiplicity": false, "matrix_size": [ 1, 1 ], "description": "", "domain": "power", "causality_preference": "fixed_effort_out" }, "239bd18c-ff3d-4713-a5a4-0207973afb36": { "port_type": "signal", "name": "u", "direction": "input", "multiplicity": false, "matrix_size": [ 1, 1 ], "description": null, "value_type": "real", "quantity": null, "unit": null } } }, "parameters": { "parameter-d056bc27": { "name": "e", "value": "1", "value_type": "real", "matrix_size": [ 1, 1 ], "quantity": null, "unit": null, "description": null } }, "implementation": { "implementation_type": "equation", "declarations": [ "Real f;" ], "initial_equations": [], "equations": [ "p.e = u*e;", "f = p.f;" ] } }, "77701f68-b14c-4b98-8929-c5fba0261962": { "name": "R0", "interface": { "ports": { "4a3f69f2-b305-4305-92e3-3998634ff226": { "port_type": "bond", "name": "p", "direction": "input", "multiplicity": false, "matrix_size": [ 1, 1 ], "description": "", "domain": "power", "causality_preference": "indifferent" } } }, "parameters": { "parameter-d056bc27": { "name": "r", "value": "10", "value_type": "real", "matrix_size": [ 1, 1 ], "quantity": null, "unit": null, "description": null } }, "implementation": { "implementation_type": "equation", "declarations": [], "initial_equations": [], "equations": [ "p.e = r*p.f;" ] } }, "033b930e-bf79-403a-8b0b-a159f3c81ce9": { "name": "I", "interface": { "ports": { "0b9036b1-e4e4-437e-8c35-f5bb391b6cbd": { "port_type": "bond", "name": "p", "direction": "input", "multiplicity": false, "matrix_size": [ 1, 1 ], "description": "", "domain": "power", "causality_preference": "preferred_flow_out" }, "fb25f35d-4c0c-4cfa-92d4-1a18a71e2c11": { "port_type": "signal", "name": "state", "direction": "output", "multiplicity": false, "matrix_size": [ 1, 1 ], "description": "", "value_type": "real", "quantity": "", "unit": "" } } }, "parameters": { "parameter-d056bc27": { "name": "i", "value": "1", "value_type": "real", "matrix_size": [ 1, 1 ], "quantity": null, "unit": null, "description": null } }, "implementation": { "implementation_type": "equation", "declarations": [], "initial_equations": [ "state = 0;" ], "equations": [ "der(state) = p.e;", "p.f = state/i;" ] } }, "7e0f1689-4173-42c2-b0c3-4c01cd699fcc": { "name": "step", "interface": { "ports": { "37eb6e52-6e89-4e09-8923-43c6230f5486": { "port_type": "signal", "name": "y", "direction": "output", "multiplicity": false, "matrix_size": [ 1, 1 ], "description": null, "value_type": "real", "quantity": null, "unit": null } } }, "parameters": { "f609057b-7cd8-4a5d-9243-771c64426c29": { "name": "v", "value": "1.0", "value_type": "real", "matrix_size": [ 1, 1 ], "quantity": null, "unit": null, "description": null }, "86a87f91-fdc4-4662-9e8b-1855a1f4f577": { "name": "T", "value": "1.0", "value_type": "real", "matrix_size": [ 1, 1 ], "quantity": null, "unit": null, "description": null }, "901df6e3-671d-467b-91bb-a26654fbf6bb": { "name": "offset", "value": "0", "value_type": "real", "matrix_size": [ 1, 1 ], "quantity": null, "unit": null, "description": null } }, "implementation": { "implementation_type": "equation", "declarations": [], "initial_equations": [], "equations": [ "y = if time >= T then v+offset else offset;" ] } }, "aa0ff170-82d0-4f5e-9151-3b8478531e97": { "name": "const", "interface": { "ports": { "b39afdc2-a419-459a-bdf2-5358bf38103d": { "port_type": "signal", "name": "y", "direction": "output", "multiplicity": false, "matrix_size": [ 1, 1 ], "description": null, "value_type": "real", "quantity": null, "unit": null } } }, "parameters": { "dab851b3-cc1b-42af-878c-5229209fd74d": { "name": "v", "value": "1.0", "value_type": "real", "matrix_size": [ 1, 1 ], "quantity": null, "unit": null, "description": null } }, "implementation": { "implementation_type": "equation", "declarations": [], "initial_equations": [], "equations": [ "y = v;" ] } }, "2b3844e8-1875-40d0-ae4e-7a14ca217bce": { "name": "ramp", "interface": { "ports": { "5807dc83-d049-4f0f-9708-d041a752fcd0": { "port_type": "signal", "name": "y", "direction": "output", "multiplicity": false, "matrix_size": [ 1, 1 ], "description": null, "value_type": "real", "quantity": null, "unit": null } } }, "parameters": { "dc093514-3e2f-4424-9e4f-01a6437c4ca5": { "name": "d", "value": "1.0", "value_type": "real", "matrix_size": [ 1, 1 ], "quantity": null, "unit": null, "description": null }, "3e4487c8-a3b1-4a51-8aac-3cd66ce7a0b0": { "name": "offset", "value": "1.0", "value_type": "real", "matrix_size": [ 1, 1 ], "quantity": null, "unit": null, "description": null } }, "implementation": { "implementation_type": "equation", "declarations": [], "initial_equations": [], "equations": [ "y = offset + time*d;" ] } }, "c07a8cfb-323b-432b-8a6f-23b1a60eb593": { "name": "gain", "interface": { "ports": { "d5681d1d-70ee-4623-a41a-5a572e46d42c": { "port_type": "signal", "name": "y", "direction": "output", "multiplicity": false, "matrix_size": [ 1, 1 ], "description": null, "value_type": "real", "quantity": null, "unit": null }, "8bd1cc42-03b9-4c46-b31b-c1f46933dc9e": { "port_type": "signal", "name": "u", "direction": "input", "multiplicity": false, "matrix_size": [ 1, 1 ], "description": null, "value_type": "real", "quantity": null, "unit": null } } }, "parameters": { "a4a9e500-5297-45b2-ba5d-7854f2855ec5": { "name": "k", "value": "2.0", "value_type": "real", "matrix_size": [ 1, 1 ], "quantity": null, "unit": null, "description": null } }, "implementation": { "implementation_type": "equation", "declarations": [], "initial_equations": [], "equations": [ "y = k*u;" ] } }, "6596fb5f-0b16-4f9b-804b-5b8b81db4158": { "name": "j1", "interface": { "ports": { "44bfb5f7-d8bf-4922-bac8-a001c077893e": { "port_type": "bond", "name": "p", "direction": "input", "multiplicity": true, "matrix_size": [ 1, 1 ], "description": "", "domain": "power", "causality_preference": "single_flow_in" }, "30d830d5-adc9-4b84-960f-a7b51f68adf4": { "port_type": "signal", "name": "f", "direction": "output", "multiplicity": false, "matrix_size": [ 1, 1 ], "description": null, "value_type": "real", "quantity": null, "unit": null } } }, "parameters": {}, "implementation": { "implementation_type": "equation", "declarations": [ "parameter Real s[$p_N$] = $p_S$;" ], "initial_equations": [], "equations": [ "f = s[1] * p[1].f;", "sum(s[i] * p[i].e for i in 1:$p_N$) = 0;", "for i in 2:$p_N$ loop", " s[i] * p[i].f = s[i-1] * p[i-1].f;", "end for;" ] } }, "8e8dca73-2d11-4631-9c24-5e1a4e3b2920": { "name": "j0", "interface": { "ports": { "707394db-dff5-4591-b716-23f32b56d4a6": { "port_type": "bond", "name": "p", "direction": "input", "multiplicity": true, "matrix_size": [ 1, 1 ], "description": "", "domain": "power", "causality_preference": "single_effort_in" }, "a2709c23-7485-43b2-bc87-28a0f4c37c0b": { "port_type": "signal", "name": "e", "direction": "output", "multiplicity": false, "matrix_size": [ 1, 1 ], "description": null, "value_type": "real", "quantity": null, "unit": null } } }, "parameters": {}, "implementation": { "implementation_type": "equation", "declarations": [], "initial_equations": [], "equations": [ "e = p[1].e;", "sum(p[i].f for i in 1:$p_N$) = 0;", "for i in 2:$p_N$ loop", " p[i].e = p[i-1].e;", "end for;" ] } }, "ac5011ce-4659-4bdd-900a-63a1c779652c": { "name": "pulse", "interface": { "ports": { "69974610-3bd6-42c1-a8bb-afe6086ef0f3": { "port_type": "signal", "name": "y", "direction": "output", "multiplicity": false, "matrix_size": [ 1, 1 ], "description": null, "value_type": "real", "quantity": null, "unit": null } } }, "parameters": { "8e128f7a-cf97-4f27-a664-488921819395": { "name": "amplitude", "value": "1.0", "value_type": "real", "matrix_size": [ 1, 1 ], "quantity": null, "unit": null, "description": null }, "5ff17831-f2f9-4833-9e4b-4facf7c28c0c": { "name": "width", "value": "50.0", "value_type": "real", "matrix_size": [ 1, 1 ], "quantity": null, "unit": null, "description": "Pulse width in %" }, "b036592b-4dc0-498b-a966-7146cf9cf95b": { "name": "offset", "value": "0", "value_type": "real", "matrix_size": [ 1, 1 ], "quantity": null, "unit": null, "description": null }, "df82150d-973d-4a8a-9bd5-6ce21a2e8bbb": { "name": "period", "value": "1.0", "value_type": "real", "matrix_size": [ 1, 1 ], "quantity": null, "unit": null, "description": null }, "1195c93e-3309-494e-9a56-96e8fd5e330c": { "name": "nperiod", "value": "-1", "value_type": "int", "matrix_size": [ 1, 1 ], "quantity": null, "unit": null, "description": "Number of periods (<0 means infinite)" }, "3f5f7b5c-2794-4e75-a5c8-1ef2b0ecd87d": { "name": "startTime", "value": "0.0", "value_type": "real", "matrix_size": [ 1, 1 ], "quantity": null, "unit": null, "description": null } }, "implementation": { "implementation_type": "equation", "declarations": [ "Integer count;", "Modelica.Units.SI.Time T_start;", "Modelica.Units.SI.Time T_width=period*width/100;" ], "initial_equations": [ "initial algorithm", "count := integer((time-startTime)/period);", "T_start := startTime + count*period;" ], "equations": [ "when time >= (pre(count)+1)*period + startTime then", "\tcount = pre(count) + 1;", "\tT_start = time;", "end when;", "y = offset + (if (time < startTime or nperiod == 0 or (nperiod > 0 and count >= nperiod)) then 0 else if time < T_start + T_width then amplitude else 0);" ] } }, "ec0599cb-b57b-4194-b166-526d5cd5382a": { "name": "plusminus", "interface": { "ports": { "23a8b215-7c2f-4ccf-b020-4d274d7a228f": { "port_type": "signal", "name": "plus", "direction": "input", "multiplicity": true, "matrix_size": [ 1, 1 ], "description": null, "value_type": "real", "quantity": null, "unit": null }, "4c4771f8-22c8-4829-a060-913470e2b2fc": { "port_type": "signal", "name": "minus", "direction": "input", "multiplicity": true, "matrix_size": [ 1, 1 ], "description": null, "value_type": "real", "quantity": null, "unit": null }, "a186a0e1-7aea-4fb6-871c-0ba70d78b8ac": { "port_type": "signal", "name": "y", "direction": "output", "multiplicity": false, "matrix_size": [ 1, 1 ], "description": null, "value_type": "real", "quantity": null, "unit": null } } }, "parameters": {}, "implementation": { "implementation_type": "equation", "declarations": [], "initial_equations": [], "equations": [ "y = sum(plus) - sum(minus);" ] } } }, "connections": { "00c239f4-b281-4313-9577-15a81f272c2b": { "connection_type": "signal", "source": "37eb6e52-6e89-4e09-8923-43c6230f5486", "target": "239bd18c-ff3d-4713-a5a4-0207973afb36" }, "a5735621-1486-4e5e-be46-a5ba406dde78": { "connection_type": "bond", "source": "5b6a8a0c-0875-402c-bd74-11d086aac372", "target": "44bfb5f7-d8bf-4922-bac8-a001c077893e", "causality": "effort_out", "undesired": false }, "5c0d8fee-a366-4544-adb9-1ac3802a56a6": { "connection_type": "bond", "source": "44bfb5f7-d8bf-4922-bac8-a001c077893e", "target": "c87881f1-23b4-4a69-b586-8e3c7bf6e21e", "causality": "flow_out", "undesired": false }, "6523c7a3-868a-474b-8e7c-5fb4ee4443a4": { "connection_type": "bond", "source": "44bfb5f7-d8bf-4922-bac8-a001c077893e", "target": "0ac7d4ea-77f7-4c0d-8e37-406ef66e4740", "causality": "flow_out", "undesired": false }, "b9391149-a6b0-4b53-b338-d9e4990557ce": { "connection_type": "bond", "source": "44bfb5f7-d8bf-4922-bac8-a001c077893e", "target": "707394db-dff5-4591-b716-23f32b56d4a6", "causality": "effort_out", "undesired": false }, "6163366c-d693-4a9f-962d-27920e510131": { "connection_type": "bond", "source": "707394db-dff5-4591-b716-23f32b56d4a6", "target": "4a3f69f2-b305-4305-92e3-3998634ff226", "causality": "effort_out", "undesired": false }, "610f5a4d-6eff-487e-9782-d08d1f257cfa": { "connection_type": "bond", "source": "707394db-dff5-4591-b716-23f32b56d4a6", "target": "0b9036b1-e4e4-437e-8c35-f5bb391b6cbd", "causality": "effort_out", "undesired": false }, "909ab167-31cf-4b10-95ed-082878018970": { "connection_type": "signal", "source": "a2709c23-7485-43b2-bc87-28a0f4c37c0b", "target": "8bd1cc42-03b9-4c46-b31b-c1f46933dc9e" }, "42f8d11c-8b31-476a-8e56-dd1ac3703508": { "connection_type": "signal", "source": "69974610-3bd6-42c1-a8bb-afe6086ef0f3", "target": "23a8b215-7c2f-4ccf-b020-4d274d7a228f" }, "81e6b0d7-65f2-4edc-a303-6eee78ac1972": { "connection_type": "signal", "source": "5807dc83-d049-4f0f-9708-d041a752fcd0", "target": "4c4771f8-22c8-4829-a060-913470e2b2fc" } } } } } }, "metadata": { "icon_database": { "format_version": 1, "icons": { "43b3aee6-0b38-429b-9c6d-d38fc097297f": { "shapes": { "2a5bf670-c821-442b-9d46-1b07faa70722": { "layer": 0, "type": "text", "pos": [ -32, -32 ], "width": 64.0, "height": 64.0, "color": "#000000ff", "bold": true, "italic": false, "size": 64.0, "text": "C" } }, "port_positions": { "c87881f1-23b4-4a69-b586-8e3c7bf6e21e": [ -8, -8 ], "c62de8eb-e13b-4849-bea5-c8cc5332269e": [ 16, -32 ] } }, "5a8b2e8d-489f-467b-8282-7e344dfad576": { "shapes": { "2a5bf670-c821-442b-9d46-1b07faa70722": { "layer": 0, "type": "text", "pos": [ -32, -32 ], "width": 64.0, "height": 64.0, "color": "#000000ff", "bold": true, "italic": false, "size": 64.0, "text": "R" } }, "port_positions": { "0ac7d4ea-77f7-4c0d-8e37-406ef66e4740": [ -8, -8 ], "d1f5aab2-7bff-4b1e-8697-98fb6c3d8f02": [ 16, -32 ] } }, "033b930e-bf79-403a-8b0b-a159f3c81ce9": { "shapes": { "2a5bf670-c821-442b-9d46-1b07faa70722": { "layer": 0, "type": "text", "pos": [ -32, -32 ], "width": 64.0, "height": 64.0, "color": "#000000ff", "bold": true, "italic": false, "size": 64.0, "text": "I" } }, "port_positions": { "0b9036b1-e4e4-437e-8c35-f5bb391b6cbd": [ -8, -8 ], "fb25f35d-4c0c-4cfa-92d4-1a18a71e2c11": [ 16, -32 ] } }, "2804f2f1-6123-4a53-aff1-87a3a8202711": { "shapes": { "2a5bf670-c821-442b-9d46-1b07faa70722": { "layer": 0, "type": "text", "pos": [ -77, -32 ], "width": 152.0, "height": 64.0, "color": "#000000ff", "bold": true, "italic": false, "size": 64.0, "text": "MSe" } }, "port_positions": { "5b6a8a0c-0875-402c-bd74-11d086aac372": [ -8, -8 ], "239bd18c-ff3d-4713-a5a4-0207973afb36": [ -65, -29 ] } }, "77701f68-b14c-4b98-8929-c5fba0261962": { "shapes": { "2a5bf670-c821-442b-9d46-1b07faa70722": { "layer": 0, "type": "text", "pos": [ -32, -32 ], "width": 64.0, "height": 64.0, "color": "#000000ff", "bold": true, "italic": false, "size": 64.0, "text": "R" } }, "port_positions": { "4a3f69f2-b305-4305-92e3-3998634ff226": [ -8, -8 ] } }, "7e0f1689-4173-42c2-b0c3-4c01cd699fcc": { "shapes": { "9ed4189a-123b-431f-a6bc-bbf169487703": { "layer": 0, "type": "rectangle", "pos": [ -48, -48 ], "width": 96.0, "height": 96.0, "line_type": "solid", "line_thickness": 5.0, "corner_radius": 8.0, "line_color": "#00007fff", "fill_color": "#ebebebff" }, "ac1b7cf2-ce50-44b7-9f8f-077ca36f7369": { "layer": 4, "type": "line", "pos": [ -32, -32 ], "end": [ -32, 32 ], "line_type": "solid", "line_thickness": 3.0, "line_color": "#000000ff" }, "2e623060-349e-4a48-97b0-a81921df5870": { "layer": 2, "type": "line", "pos": [ -32, 32 ], "end": [ 32, 32 ], "line_type": "solid", "line_thickness": 3.0, "line_color": "#000000ff" }, "e231a6f0-da98-4e5d-ad1a-7c11048a50fb": { "layer": 3, "type": "line", "pos": [ -32, 14 ], "end": [ 3, 14 ], "line_type": "solid", "line_thickness": 2.0, "line_color": "#ffaa00ff" }, "43393c01-9198-4f64-a158-dc44dce92624": { "layer": 5, "type": "line", "pos": [ 3, 14 ], "end": [ 3, -13 ], "line_type": "solid", "line_thickness": 2.0, "line_color": "#ffaa00ff" }, "45e988a2-393d-4a4c-b692-6c0150072f73": { "layer": 6, "type": "line", "pos": [ 3, -13 ], "end": [ 32, -13 ], "line_type": "solid", "line_thickness": 2.0, "line_color": "#ffaa00ff" } }, "port_positions": { "37eb6e52-6e89-4e09-8923-43c6230f5486": [ -8, -8 ] } }, "aa0ff170-82d0-4f5e-9151-3b8478531e97": { "shapes": { "3563b7fb-f86d-4df4-90c8-fef103e253e9": { "layer": 0, "type": "rectangle", "pos": [ -48, -48 ], "width": 96.0, "height": 96.0, "line_type": "solid", "line_thickness": 5.0, "corner_radius": 8.0, "line_color": "#00007fff", "fill_color": "#ebebebff" }, "545a1285-8eca-4a11-8cf5-c9ac07d7ddd6": { "layer": 4, "type": "line", "pos": [ -32, -32 ], "end": [ -32, 32 ], "line_type": "solid", "line_thickness": 3.0, "line_color": "#000000ff" }, "2b8a18b0-7ca4-4c35-98c1-05efaacc6079": { "layer": 2, "type": "line", "pos": [ -32, 32 ], "end": [ 32, 32 ], "line_type": "solid", "line_thickness": 3.0, "line_color": "#000000ff" }, "15b1b956-ec01-44b9-86f7-6274801deffb": { "layer": 3, "type": "line", "pos": [ -32, -9 ], "end": [ 32, -9 ], "line_type": "solid", "line_thickness": 2.0, "line_color": "#ffaa00ff" } }, "port_positions": { "b39afdc2-a419-459a-bdf2-5358bf38103d": [ -8, -8 ] } }, "2b3844e8-1875-40d0-ae4e-7a14ca217bce": { "shapes": { "5088d827-d554-4d4a-b2f2-818b2488c5b2": { "layer": 0, "type": "rectangle", "pos": [ -48, -48 ], "width": 96.0, "height": 96.0, "line_type": "solid", "line_thickness": 5.0, "corner_radius": 8.0, "line_color": "#00007fff", "fill_color": "#ebebebff" }, "4d18c283-1f6a-404f-a2e3-85866dce36b6": { "layer": 4, "type": "line", "pos": [ -32, -32 ], "end": [ -32, 32 ], "line_type": "solid", "line_thickness": 3.0, "line_color": "#000000ff" }, "8433da05-3b9f-421e-9f56-170889d7a609": { "layer": 2, "type": "line", "pos": [ -32, 32 ], "end": [ 32, 32 ], "line_type": "solid", "line_thickness": 3.0, "line_color": "#000000ff" }, "47bf4d6c-bb28-4743-8672-cf39c4177242": { "layer": 3, "type": "line", "pos": [ -32, 23 ], "end": [ 32, -9 ], "line_type": "solid", "line_thickness": 2.0, "line_color": "#ffaa00ff" } }, "port_positions": { "5807dc83-d049-4f0f-9708-d041a752fcd0": [ -8, -8 ] } }, "c07a8cfb-323b-432b-8a6f-23b1a60eb593": { "shapes": { "14409738-45af-40c5-9c9e-827218d54a95": { "layer": 0, "type": "rectangle", "pos": [ -48, -48 ], "width": 96.0, "height": 96.0, "line_type": "solid", "line_thickness": 5.0, "corner_radius": 8.0, "line_color": "#00007fff", "fill_color": "#ebebebff" }, "630596d8-59a2-4bdc-a4be-bda53c0257b4": { "layer": 1, "type": "text", "pos": [ -34, -35 ], "width": 68.0, "height": 71.0, "color": "#00007fff", "bold": false, "italic": false, "size": 48.0, "text": "K" } }, "port_positions": { "d5681d1d-70ee-4623-a41a-5a572e46d42c": [ -8, -8 ] } }, "6596fb5f-0b16-4f9b-804b-5b8b81db4158": { "shapes": { "0b6fb297-1cf1-4f93-b64c-7e201dc09c19": { "layer": 0, "type": "text", "pos": [ -32, -32 ], "width": 64.0, "height": 64.0, "color": "#000000ff", "bold": true, "italic": false, "size": 64.0, "text": "1" } }, "port_positions": { "44bfb5f7-d8bf-4922-bac8-a001c077893e": [ -8, -8 ], "30d830d5-adc9-4b84-960f-a7b51f68adf4": [ 8, -32 ] } }, "8e8dca73-2d11-4631-9c24-5e1a4e3b2920": { "shapes": { "02c7e2f5-7490-4a5f-abc0-15a584403a9f": { "layer": 0, "type": "text", "pos": [ -32, -32 ], "width": 64.0, "height": 64.0, "color": "#000000ff", "bold": true, "italic": false, "size": 64.0, "text": "0" } }, "port_positions": { "707394db-dff5-4591-b716-23f32b56d4a6": [ -8, -8 ], "a2709c23-7485-43b2-bc87-28a0f4c37c0b": [ 9, -32 ] } }, "ac5011ce-4659-4bdd-900a-63a1c779652c": { "shapes": { "7a9115fe-4e40-49d9-ab50-2f399ca1038b": { "layer": 0, "type": "rectangle", "pos": [ -48, -48 ], "width": 96.0, "height": 96.0, "line_type": "solid", "line_thickness": 5.0, "corner_radius": 8.0, "line_color": "#00007fff", "fill_color": "#ebebebff" }, "80e150dc-07d3-4d27-9fe0-eecb82fb2689": { "layer": 4, "type": "line", "pos": [ -32, -32 ], "end": [ -32, 32 ], "line_type": "solid", "line_thickness": 3.0, "line_color": "#000000ff" }, "66c7fb78-2866-4f9f-9df2-95cfa4c57a2d": { "layer": 2, "type": "line", "pos": [ -32, 32 ], "end": [ 32, 32 ], "line_type": "solid", "line_thickness": 3.0, "line_color": "#000000ff" }, "b1b1f425-eea6-48e7-a61d-f9eb221984b7": { "layer": 3, "type": "line", "pos": [ -32, 14 ], "end": [ 3, 14 ], "line_type": "solid", "line_thickness": 2.0, "line_color": "#ffaa00ff" }, "0c0b7ec3-557d-4fb4-b8b8-b6b6a269ec55": { "layer": 5, "type": "line", "pos": [ 3, 14 ], "end": [ 3, -13 ], "line_type": "solid", "line_thickness": 2.0, "line_color": "#ffaa00ff" }, "e5c99d8a-69db-4915-b1e7-84ac5e52de02": { "layer": 6, "type": "line", "pos": [ 3, -13 ], "end": [ 32, -13 ], "line_type": "solid", "line_thickness": 2.0, "line_color": "#ffaa00ff" } }, "port_positions": { "69974610-3bd6-42c1-a8bb-afe6086ef0f3": [ -8, -8 ] } }, "ec0599cb-b57b-4194-b166-526d5cd5382a": { "shapes": { "ecbbad0e-67e3-4d13-ba25-7660f50bc38e": { "layer": 0, "type": "rectangle", "pos": [ -48, -48 ], "width": 96.0, "height": 96.0, "line_type": "solid", "line_thickness": 5.0, "corner_radius": 8.0, "line_color": "#00007fff", "fill_color": "#ebebebff" } }, "port_positions": { "23a8b215-7c2f-4ccf-b020-4d274d7a228f": [ -24, 9 ], "4c4771f8-22c8-4829-a060-913470e2b2fc": [ -24, -26 ], "a186a0e1-7aea-4fb6-871c-0ba70d78b8ac": [ 11, -8 ] } } } }, "graph_database": { "format_version": 1, "graphs": { "50e6ef97-f686-4400-bc01-e5a352e8cc22": { "shapes": {}, "component_positions": { "43b3aee6-0b38-429b-9c6d-d38fc097297f": [ 64, -384 ], "9ee2f42b-5ed1-446d-8790-c2a1df6b61d3": [ 64, -128 ], "5a8b2e8d-489f-467b-8282-7e344dfad576": [ 320, -128 ], "2804f2f1-6123-4a53-aff1-87a3a8202711": [ -192, -128 ], "9f392c28-6bef-4b10-9305-93e250747007": [ 64, 128 ], "77701f68-b14c-4b98-8929-c5fba0261962": [ 320, 128 ], "033b930e-bf79-403a-8b0b-a159f3c81ce9": [ -192, 128 ], "1455acad-931b-4caa-be71-aff4283507c6": [ 64, 384 ], "015a0697-69a9-43bf-9410-d2c8b44303f8": [ 64, 384 ], "4e3d1c6f-90a9-44bd-a91e-0619ce0cec63": [ -460, -100 ], "7e0f1689-4173-42c2-b0c3-4c01cd699fcc": [ -432, -128 ], "aa0ff170-82d0-4f5e-9151-3b8478531e97": [ -432, 48 ], "2b3844e8-1875-40d0-ae4e-7a14ca217bce": [ -428, 744 ], "bf08f999-bfe8-493a-9ad2-9c2965e17d6d": [ -504, -292 ], "c07a8cfb-323b-432b-8a6f-23b1a60eb593": [ 64, 308 ], "2cb26679-2488-4766-9ba2-b35c197e327f": [ 64, -128 ], "408a4376-47c4-456b-ba49-4594b7a18892": [ 64, 128 ], "6596fb5f-0b16-4f9b-804b-5b8b81db4158": [ 64, -128 ], "8e8dca73-2d11-4631-9c24-5e1a4e3b2920": [ 64, 128 ], "ac5011ce-4659-4bdd-900a-63a1c779652c": [ -432, 560 ], "ec0599cb-b57b-4194-b166-526d5cd5382a": [ -120, 656 ] }, "component_labels": { "43b3aee6-0b38-429b-9c6d-d38fc097297f": { "relative_position": [ 52, -44 ], "visible": true }, "9ee2f42b-5ed1-446d-8790-c2a1df6b61d3": { "relative_position": [ 0, 8 ], "visible": false }, "9f392c28-6bef-4b10-9305-93e250747007": { "relative_position": [ 0, 8 ], "visible": false }, "408a4376-47c4-456b-ba49-4594b7a18892": { "relative_position": [ 0, 8 ], "visible": false }, "2cb26679-2488-4766-9ba2-b35c197e327f": { "relative_position": [ 0, 8 ], "visible": false }, "6596fb5f-0b16-4f9b-804b-5b8b81db4158": { "relative_position": [ 0, 8 ], "visible": false }, "8e8dca73-2d11-4631-9c24-5e1a4e3b2920": { "relative_position": [ 0, 8 ], "visible": false } }, "connections": { "7e293c73-1e07-4d4c-b750-6f43870c71c4": { "points": [ [ -320, -128 ], [ -128, -128 ] ] }, "66414b62-ca76-4be6-8da4-72551f8ffc0e": { "points": [ [ 128, 160 ], [ 352, 96 ] ] }, "1f52dc5a-1847-4982-aabc-2538cf99a86f": { "points": [ [ 128, 160 ], [ 352, 224 ] ] } } } } }, "simulation_database": { "format_version": 1, "active_simulation": "7778ca68-7a36-401b-b4aa-236a44c5e771", "simulations": { "7778ca68-7a36-401b-b4aa-236a44c5e771": { "component": "50e6ef97-f686-4400-bc01-e5a352e8cc22", "name": "run bondgraph", "start_time": 0.0, "duration": 10.0, "use_timed_steps": true, "number_of_steps": 500, "step_size": 0.001, "method": "dassl", "dassl_tolerance": 1e-06 } } } } }