Hooked up port editor in the document tree

This commit is contained in:
2026-07-26 17:20:37 +02:00
parent b417d85477
commit 8b45674cd2
9 changed files with 610 additions and 30 deletions

View File

@@ -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;"
]
}
},