Hooked up port editor in the document tree
This commit is contained in:
@@ -125,6 +125,20 @@
|
||||
"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
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -147,7 +161,8 @@
|
||||
"declarations": [],
|
||||
"initial_equations": [],
|
||||
"equations": [
|
||||
"p.e = r*p.f;"
|
||||
"p.e = r*p.f;",
|
||||
"power = p.e*p.f;"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user