主权项 |
1. A method, performed by a computer device, the method comprising:
selecting one or more input and output points in an executable graphical model in a modeling application, wherein the selecting is performed by the computer device;
simulating the executable graphical model over a plurality of time points, wherein the simulating is performed by the computer device;generating a time domain response plot for the executable graphical model based on the simulating, wherein the generating is performed by the computer device;obtaining matrices of partial derivatives based on the selected one or more input and output points at particular time points of the plurality of time points, wherein the matrices of partial derivatives include a first matrix of partial derivatives of a derivative function with respect to state variables, a second matrix of partial derivatives of the derivative function with respect to inputs, a third matrix of partial derivatives of an output function with respect to the state variables, and a fourth matrix of partial derivatives of the output function with respect to the inputs, and wherein the calculating is performed by the computer device;generating a frequency domain response plot for the executable graphical model based on the obtained matrices of partial derivatives, wherein the generating is performed by the computer device; andgenerating a bidomain simulator user interface, the bidomain simulator user interface comprising:the generated time domain response plot, andthe generated frequency domain response plot,wherein the generating is performed by the computer device. |