- Index
- » Programming
- » Modelica Language
- » How to plot y=x function in Modelica
Page Start Prev 1 Next End
How to plot y=x function in Modelica
How to plot y=x function in Modelica
Feb-05-17 18:51:21
What should I add to make this work. I know that this needs one more equation where I need to define the range x maybe ? Any help would be appreciated. Thank you in advance.
model Plot
Real y;
Real x;
equation
y=x;
end Plot;
Re: How to plot y=x function in Modelica
Feb-06-17 04:56:25
you can use time which is a built in variable,
model Plot
Real y;
equation
y=time;
end Plot;
- swaroop.katta
- 23 Posts
Re: How to plot y=x function in Modelica
Feb-06-17 17:45:34
If you are using OMEdit, you can just click the "New Parametric plot" button and it will open a plot where you can select any two variables to plot against each other.
- dersh
- 66 Posts
Page Start Prev 1 Next End
- Index
- » Programming
- » Modelica Language
- » How to plot y=x function in Modelica
There are 0 guests and 0 other users also viewing this topic