Struct SBGraph creation from model JSON input. #42
Replies: 1 comment
|
A general JSON representation of a given Modelica model used to compute the model structural dependencies can be defined as:
Making use of
WIP |
|
A general JSON representation of a given Modelica model used to compute the model structural dependencies can be defined as:
Making use of
WIP |
Uh oh!
There was an error while loading. Please reload this page.
The JSON format is quite similar to the one defined here. From the variable definitions of the model, we define the following nodes:
Then from the equations of the model, we can define:
From
a1[1]=((10-x1[1])^3)/R;:From:
From:
From
der(x1[N])=(a1[N]-x2[1])/C;:Finally, from
der(x2[1])=x1[N]/L;:An the final definition is:
All reactions