Declared in PowerNodeModel
Declaration
[Unit("W")]
[ReadOnly]
double NetPower;Description
Net power this node contributes to the bus, calculated directly from the voltages and currents at the In and Out terminals: NetPower = VoltageOut * CurrentOut - VoltageIn * CurrentIn
This is the power delivered to the external circuit by this node (the negative of the power absorbed by it). Under the flow-through convention, positive CurrentIn represents current entering at the In terminal and positive CurrentOut represents current exiting at the Out terminal.
A positive NetPower means the node is adding power to the bus (e.g. a solar panel producing power, a discharging battery). A negative NetPower means the node is consuming power from the bus (e.g. a power sink, a charging battery, resistive losses in a fuse/switch/component).
For a two-terminal element CurrentIn == CurrentOut, so this reduces to (VoltageOut - VoltageIn) * I. When one terminal is connected to ground and the bus has ZeroGroundPlane enabled, that terminal’s voltage and current are both zero, so the formula still represents the true energy exchange at the non-grounded terminal (e.g. V_out * I_out for a ground-referenced source or battery, -V_in * I_in for a ground-referenced load).