Hello Community,
I have a question about how to approach the situation described in the subject of this thread.
I have already read this thread:
http://www.designers-guide.org/Forum/YaBB.pl?num=1262766115So it is clear to me (as Andrew Beckett wrote) that:
1. It's just that you can't model both voltage and current together, because the wreal represents a signal flow representation.
2. Yes, of course, you can have wreal_current and wreal_voltage disciplines in the same design - but a single node cannot be both (that's what I meant when I said that they can't be used together).
This is the situation. I have a block (DUT) which has an inout pin, let's call it vout.
The pin vout is connected to another block which is actually sinking current.
See picture 1.A very basic representation of what I need to model is described below.
See picture 2. If Isink=0, then vout=vmax (initially)
As Isink increases, the value of vout is reduced.
If Isink=Imax then vout=vmin, which is the minimum value expected for vout
If Isink increases to a value higher than Imax, then vout will go to zero and this also causes Isink to go to zero or in other words no current can be sinked if vout=0
Any idea/suggestion about how to approach this using only wreal?
The modeling approach can be simplified as desired.
The limitation is that I cannot add a new pin to represent for example the current separately and make vout react to it.
Thank you.