MarioF
MarioF

Reputation: 3

How can I plot sin(t) with Modelica

I'm new using open modelica. I need to plot a sin(t)?

sin= sin fuction
t = time

You can see this

image

Upvotes: 0

Views: 87

Answers (1)

Adrian Pop
Adrian Pop

Reputation: 4231

Make a model.

model SinModel
   Real x;
equation
   x = sin(time);
end SinModel;

Then simulate SinModel and plot x.

Upvotes: 1

Related Questions