Skip to content

Resistor

Jonathan edited this page Aug 17, 2020 · 4 revisions

Resistor

The Resistor model represents a resistor with a fixed resistance.

Usage

  • The input design parameters that must be specified by the modeler when creating an instance of this Resistor component is resistance, R, in Ohms.

  • This component supports DC and AC (single or multiphase) power. At instantiation, this component's power type is unspecified. NPSS Power System Components need to have a power type in order to correctly run power calculations. For this component, the power type is typically set by calling the findSourcesAndPropagate() method at the top level assembly (see ElectricPort).

  • This component does not contain a node, and so starts each iteration with its port voltages unknown. The NPSS Power System Library requires that all components that contain nodes all have a prePass() method specified that pushes node voltage information, via their ports to all components that do not contain nodes and so do not know their voltages. The intent is that after all component prePass methods are automatically called, all components in the system will then have port voltages specified. Then during the normal iteration, components that don't contain nodes such as this one, will execute first. These components typically transmit power from one node to another and do not transform it from one kind to another (e.g. cables and breaker). These execute first in the solver sequence, and inside their calculate() methods, they calculate their currents, which are then passed via the ports, to all other components in the circuit. So after these nodeless transmission components execute, all electric port voltages and currents should be specified, and so all other components are free to run.

  • This component is a circuit component and, at this time, has not been set up to include thermal models.

  • Solver independents and dependents are not used in the Resistor component, and there is no sizing logic included in this component.

Clone this wiki locally