Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

How to plot Power (W) vs Voltage (V) ?

How to plot Power (W) vs Voltage (V) ?

I have download openmodelica repo in this link : PVSystems Repo.
I have run a PVarray verification simulation [/PVSystems/Examples/Verification/PVArrayVerification]. I want to plot Power (W) vs Voltage (V) as in the picture :https://ibb.co/SmSmhGf. How to do that?
Thank you

Re: How to plot Power (W) vs Voltage (V) ?

you could use the parametric plot in Plotting view (spiral solid line under menu bar)

Re: How to plot Power (W) vs Voltage (V) ?

Yes, I tried that. I only managed to plot the Voltage VS Current. I don't know yet how to plot Power (W) vs Voltage (V). I think I need to calculate the power value (P = V x I) first. Can that be done in the  "Plotting" perspectiv?

Re: How to plot Power (W) vs Voltage (V) ?

yes you have to define P first in your model (i.e. calulate variable P = V * I)

Re: How to plot Power (W) vs Voltage (V) ?

Ok, I will try. Thank you...

There are 0 guests and 0 other users also viewing this topic
You are here: