|
1 | 1 | {"format":"Transformational debugger info","version":1, |
2 | 2 | "info":{"name":"NonInteractingTanks.TwoConnectedTanks","description":""}, |
3 | 3 | "variables":{ |
4 | | -"tank1.h":{"comment":"","kind":"state","type":"Real","unit":"","displayUnit":"","source":{"info":{"file":"D:/SHRI1/github/OpenModelica-GUI/NonInteractingTanks/Tank.mo","lineStart":5,"lineEnd":5,"colStart":1,"colEnd":22},"typeLst":["NonInteractingTanks.TwoConnectedTanks","NonInteractingTanks.Tank"]}}, |
5 | | -"tank2.h":{"comment":"","kind":"state","type":"Real","unit":"","displayUnit":"","source":{"info":{"file":"D:/SHRI1/github/OpenModelica-GUI/NonInteractingTanks/Tank2.mo","lineStart":5,"lineEnd":5,"colStart":1,"colEnd":12},"typeLst":["NonInteractingTanks.TwoConnectedTanks","NonInteractingTanks.Tank2"]}}, |
6 | | -"der(tank1.h)":{"comment":"","kind":"derivative","type":"Real","unit":"","displayUnit":"","source":{"info":{"file":"D:/SHRI1/github/OpenModelica-GUI/NonInteractingTanks/Tank.mo","lineStart":5,"lineEnd":5,"colStart":1,"colEnd":22},"typeLst":["NonInteractingTanks.TwoConnectedTanks","NonInteractingTanks.Tank"]}}, |
7 | | -"der(tank2.h)":{"comment":"","kind":"derivative","type":"Real","unit":"","displayUnit":"","source":{"info":{"file":"D:/SHRI1/github/OpenModelica-GUI/NonInteractingTanks/Tank2.mo","lineStart":5,"lineEnd":5,"colStart":1,"colEnd":12},"typeLst":["NonInteractingTanks.TwoConnectedTanks","NonInteractingTanks.Tank2"]}}, |
8 | | -"tank2.Q1":{"comment":"","kind":"variable","type":"Real","unit":"","displayUnit":"","source":{"info":{"file":"D:/SHRI1/github/OpenModelica-GUI/NonInteractingTanks/Tank2.mo","lineStart":5,"lineEnd":5,"colStart":1,"colEnd":12},"typeLst":["NonInteractingTanks.TwoConnectedTanks","NonInteractingTanks.Tank2"]}}, |
9 | | -"tank2.T":{"comment":"","kind":"variable","type":"Real","unit":"","displayUnit":"","source":{"info":{"file":"D:/SHRI1/github/OpenModelica-GUI/NonInteractingTanks/Tank2.mo","lineStart":5,"lineEnd":5,"colStart":1,"colEnd":12},"typeLst":["NonInteractingTanks.TwoConnectedTanks","NonInteractingTanks.Tank2"]}}, |
| 4 | +"tank2.h":{"comment":"","kind":"state","type":"Real","unit":"","displayUnit":"","source":{"info":{"file":"D:/SHRI1/github/OpenModelica-GUI/NonInteractingTanks/Tank2.mo","lineStart":5,"lineEnd":5,"colStart":1,"colEnd":23},"typeLst":["NonInteractingTanks.TwoConnectedTanks","NonInteractingTanks.Tank2"]}}, |
| 5 | +"der(tank2.h)":{"comment":"","kind":"derivative","type":"Real","unit":"","displayUnit":"","source":{"info":{"file":"D:/SHRI1/github/OpenModelica-GUI/NonInteractingTanks/Tank2.mo","lineStart":5,"lineEnd":5,"colStart":1,"colEnd":23},"typeLst":["NonInteractingTanks.TwoConnectedTanks","NonInteractingTanks.Tank2"]}}, |
| 6 | +"tank1.Qo":{"comment":"","kind":"variable","type":"Real","unit":"","displayUnit":"","source":{"info":{"file":"D:/SHRI1/github/OpenModelica-GUI/NonInteractingTanks/Tank.mo","lineStart":5,"lineEnd":5,"colStart":1,"colEnd":22},"typeLst":["NonInteractingTanks.TwoConnectedTanks","NonInteractingTanks.Tank"]}}, |
| 7 | +"tank2.Q1":{"comment":"","kind":"variable","type":"Real","unit":"","displayUnit":"","source":{"info":{"file":"D:/SHRI1/github/OpenModelica-GUI/NonInteractingTanks/Tank2.mo","lineStart":5,"lineEnd":5,"colStart":1,"colEnd":23},"typeLst":["NonInteractingTanks.TwoConnectedTanks","NonInteractingTanks.Tank2"]}}, |
10 | 8 | "tank1.A":{"comment":"","kind":"parameter","type":"Real","unit":"","displayUnit":"","source":{"info":{"file":"D:/SHRI1/github/OpenModelica-GUI/NonInteractingTanks/Tank.mo","lineStart":4,"lineEnd":4,"colStart":1,"colEnd":29},"typeLst":["NonInteractingTanks.TwoConnectedTanks","NonInteractingTanks.Tank"]}}, |
11 | 9 | "tank1.Qin":{"comment":"","kind":"parameter","type":"Real","unit":"","displayUnit":"","source":{"info":{"file":"D:/SHRI1/github/OpenModelica-GUI/NonInteractingTanks/Tank.mo","lineStart":4,"lineEnd":4,"colStart":1,"colEnd":29},"typeLst":["NonInteractingTanks.TwoConnectedTanks","NonInteractingTanks.Tank"]}}, |
12 | 10 | "tank2.A":{"comment":"","kind":"parameter","type":"Real","unit":"","displayUnit":"","source":{"info":{"file":"D:/SHRI1/github/OpenModelica-GUI/NonInteractingTanks/Tank2.mo","lineStart":4,"lineEnd":4,"colStart":1,"colEnd":27},"typeLst":["NonInteractingTanks.TwoConnectedTanks","NonInteractingTanks.Tank2"]}}, |
13 | 11 | "tank2.V":{"comment":"","kind":"parameter","type":"Real","unit":"","displayUnit":"","source":{"info":{"file":"D:/SHRI1/github/OpenModelica-GUI/NonInteractingTanks/Tank2.mo","lineStart":4,"lineEnd":4,"colStart":1,"colEnd":27},"typeLst":["NonInteractingTanks.TwoConnectedTanks","NonInteractingTanks.Tank2"]}} |
14 | 12 | }, |
15 | 13 | "equations":[{"eqIndex":0,"tag":"dummy"}, |
16 | 14 | {"eqIndex":1,"section":"initial","tag":"assign","defines":["tank2.h"],"uses":["$START.tank2.h"],"equation":["$START.tank2.h"],"source":{"info":{"file":"","lineStart":0,"lineEnd":0,"colStart":0,"colEnd":0},"operations":[{"op":"info","display":"solved","data":["tank2.h = $START.tank2.h"]},{"op":"info","display":"solved","data":["tank2.h = $START.tank2.h"]}]}}, |
17 | | -{"eqIndex":2,"section":"initial","tag":"assign","defines":["tank1.h"],"uses":["$START.tank1.h"],"equation":["$START.tank1.h"],"source":{"info":{"file":"","lineStart":0,"lineEnd":0,"colStart":0,"colEnd":0},"operations":[{"op":"info","display":"solved","data":["tank1.h = $START.tank1.h"]},{"op":"info","display":"solved","data":["tank1.h = $START.tank1.h"]}]}}, |
18 | | -{"eqIndex":3,"tag":"alias","equation":[7],"section":"initial"}, |
19 | | -{"eqIndex":4,"tag":"alias","equation":[10],"section":"initial"}, |
20 | | -{"eqIndex":5,"tag":"alias","equation":[9],"section":"initial"}, |
21 | | -{"eqIndex":6,"tag":"alias","equation":[8],"section":"initial"}, |
22 | | -{"eqIndex":7,"section":"regular","tag":"assign","defines":["tank2.Q1"],"uses":["tank1.h","time"],"equation":["-(if time <= 5.0 then 0.0 else if tank1.h > 0.0 then sqrt(tank1.h) else 0.0)"],"source":{"info":{"file":"","lineStart":0,"lineEnd":0,"colStart":0,"colEnd":0},"operations":[{"op":"info","display":"solved","data":["tank2.Q1 = -(if time <= 5.0 then 0.0 else if tank1.h > 0.0 then sqrt(tank1.h) else 0.0)"]},{"op":"info","display":"solved","data":["tank2.Q1 = -(if time <= 5.0 then 0.0 else if tank1.h > 0.0 then sqrt(tank1.h) else 0.0)"]},{"op":"chain","display":"substitution","data":["tank1.Qo","-tank2.Q1"]}]}}, |
23 | | -{"eqIndex":8,"section":"regular","tag":"assign","defines":["der(tank1.h)"],"uses":["tank1.A","tank2.Q1","tank1.Qin"],"equation":["(tank1.Qin + tank2.Q1) / tank1.A"],"source":{"info":{"file":"D:/SHRI1/github/OpenModelica-GUI/NonInteractingTanks/Tank.mo","lineStart":12,"lineEnd":12,"colStart":1,"colEnd":22},"operations":[{"op":"info","display":"solved","data":["der(tank1.h) = (tank1.Qin + tank2.Q1) / tank1.A"]},{"op":"info","display":"solved","data":["der(tank1.h) = (tank1.Qin + tank2.Q1) / tank1.A"]},{"op":"before-after","display":"simplify","data":["der(tank1.h) = (tank1.Qin - (-tank2.Q1)) / tank1.A","der(tank1.h) = (tank1.Qin + tank2.Q1) / tank1.A"]},{"op":"chain","display":"substitution","data":["(tank1.Qin - tank1.Qo) / tank1.A","(tank1.Qin - (-tank2.Q1)) / tank1.A"]},{"op":"before-after","display":"differentiate d/dtime","data":["der(tank1.h)","der(tank1.h)"]}]}}, |
24 | | -{"eqIndex":9,"section":"regular","tag":"assign","defines":["tank2.T"],"uses":["tank2.Q1","tank2.V"],"equation":["tank2.V / tank2.Q1"],"source":{"info":{"file":"D:/SHRI1/github/OpenModelica-GUI/NonInteractingTanks/Tank2.mo","lineStart":11,"lineEnd":11,"colStart":1,"colEnd":11},"operations":[{"op":"info","display":"solved","data":["tank2.T = tank2.V / tank2.Q1"]},{"op":"info","display":"solved","data":["tank2.T = tank2.V / tank2.Q1"]}]}}, |
25 | | -{"eqIndex":10,"section":"regular","tag":"assign","defines":["der(tank2.h)"],"uses":["tank2.A","tank2.Q1"],"equation":["tank2.Q1 / tank2.A"],"source":{"info":{"file":"D:/SHRI1/github/OpenModelica-GUI/NonInteractingTanks/Tank2.mo","lineStart":10,"lineEnd":10,"colStart":1,"colEnd":16},"operations":[{"op":"info","display":"solved","data":["der(tank2.h) = tank2.Q1 / tank2.A"]},{"op":"info","display":"solved","data":["der(tank2.h) = tank2.Q1 / tank2.A"]},{"op":"before-after","display":"differentiate d/dtime","data":["der(tank2.h)","der(tank2.h)"]}]}} |
| 15 | +{"eqIndex":2,"tag":"alias","equation":[5],"section":"initial"}, |
| 16 | +{"eqIndex":3,"tag":"alias","equation":[6],"section":"initial"}, |
| 17 | +{"eqIndex":4,"section":"initial","tag":"assign","defines":["tank2.Q1"],"uses":["tank2.A","der(tank2.h)"],"equation":["$DER.tank2.h * tank2.A"],"source":{"info":{"file":"D:/SHRI1/github/OpenModelica-GUI/NonInteractingTanks/Tank2.mo","lineStart":12,"lineEnd":12,"colStart":1,"colEnd":16},"operations":[{"op":"info","display":"solved","data":["tank2.Q1 = $DER.tank2.h * tank2.A"]},{"op":"info","display":"solved","data":["tank2.Q1 = $DER.tank2.h * tank2.A"]},{"op":"before-after","display":"differentiate d/dtime","data":["der(tank2.h)","der(tank2.h)"]}]}}, |
| 18 | +{"eqIndex":5,"section":"regular","tag":"assign","defines":["tank1.Qo"],"uses":["tank2.h","time"],"equation":["max(0.0, if time <= 5.0 then 0.0 else sqrt(tank2.h))"],"source":{"info":{"file":"","lineStart":0,"lineEnd":0,"colStart":0,"colEnd":0},"operations":[{"op":"info","display":"solved","data":["tank1.Qo = max(0.0, if time <= 5.0 then 0.0 else sqrt(tank2.h))"]},{"op":"info","display":"solved","data":["tank1.Qo = max(0.0, if time <= 5.0 then 0.0 else sqrt(tank2.h))"]}]}}, |
| 19 | +{"eqIndex":6,"section":"regular","tag":"assign","defines":["der(tank2.h)"],"uses":["tank1.A","tank1.Qin","tank1.Qo"],"equation":["(tank1.Qin - tank1.Qo) / tank1.A"],"source":{"info":{"file":"D:/SHRI1/github/OpenModelica-GUI/NonInteractingTanks/Tank.mo","lineStart":14,"lineEnd":14,"colStart":1,"colEnd":22},"operations":[{"op":"info","display":"solved","data":["der(tank2.h) = (tank1.Qin - tank1.Qo) / tank1.A"]},{"op":"info","display":"solved","data":["der(tank2.h) = (tank1.Qin - tank1.Qo) / tank1.A"]},{"op":"chain","display":"substitution","data":["der(tank1.h)","der(tank2.h)"]},{"op":"before-after","display":"differentiate d/dtime","data":["der(tank1.h)","der(tank1.h)"]}]}}, |
| 20 | +{"eqIndex":7,"section":"regular","tag":"assign","defines":["tank2.Q1"],"uses":["tank2.A","der(tank2.h)"],"equation":["der(tank2.h) * tank2.A"],"source":{"info":{"file":"D:/SHRI1/github/OpenModelica-GUI/NonInteractingTanks/Tank2.mo","lineStart":12,"lineEnd":12,"colStart":1,"colEnd":16},"operations":[{"op":"info","display":"solved","data":["tank2.Q1 = der(tank2.h) * tank2.A"]},{"op":"info","display":"solved","data":["tank2.Q1 = der(tank2.h) * tank2.A"]},{"op":"before-after","display":"differentiate d/dtime","data":["der(tank2.h)","der(tank2.h)"]}]}} |
26 | 21 | ], |
27 | 22 | "functions":[ |
28 | 23 | ] |
|
0 commit comments