NL5 Forum Index  
 FAQ  •  Search  •  Memberlist  •  Usergroups   •   fChat   •  Register  •  Profile  •  Log in to check your private messages  •  Log in
 power dissipation in subcircuits View next topic
View previous topic
Post new topicReply to topic
Author Message
darko



Joined: 18 Aug 2009
Posts: 14

PostPosted: Thu Sep 03, 2009 9:42 am Reply with quoteBack to top

I have a circuit that contains a model for a diode in a subcircuit (lets call it D1). Because this diode contains a PWL parasitic capacitance, there is energy storage in the subcircuit (just like a real diode) so when I plot P(D1), I get both the dissipated and reacted energy. Is there a way to extract the power from just the resistive components of the subcircuit?

Donny Zimmanck
Hardware Engineer
Enphase Energy
View user's profileSend private message
nl5
Site Admin


Joined: 15 Jan 2009
Posts: 25

PostPosted: Thu Sep 03, 2009 11:20 am Reply with quoteBack to top

If I understand it right, you have a subcircuit (say X1) which contains diode, capacitor, and probably something else?

First, be careful with plotting P(X1): it does not handle right power of V/I sources in the subcircuit. If there are just passive components, it's OK. Will be fixed soon.

Second, you can plot any V/I/P at any specific component inside the subcircuit. Add a trace of "Function" type, and the function should be:

P(X1.D1)

Here X1 is subcurcuit component name, and D1 is a name of a diod inside a subcircuit. If you have more resistive components in the subcircuit, you can use a formula to add power on any components you'd like:

P(X1.D1)+P(X1.R1)+P(X1.R2)....
View user's profileSend private messageSend e-mail
nl5
Site Admin


Joined: 15 Jan 2009
Posts: 25

PostPosted: Thu Nov 05, 2009 4:01 pm Reply with quoteBack to top

nl5 wrote:
First, be careful with plotting P(X1): it does not handle right power of V/I sources in the subcircuit...

Fixed in 1.33. P trace can be used for all SubCir models.
View user's profileSend private messageSend e-mail
Display posts from previous:      
Post new topicReply to topic


 Jump to:   



View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum