modelResistor

Linear resistor of analog electrical library

Extends from Interfaces.OnePort (OnePort partial model of analog electrical library).

Information

The ideal linear resistor is built in bondgraphic technology from a bond graph R element, a 1-junction, and three bonds. A-causal bonds must be used here, because the causality depends on the embedding of the resistor in its environment.


Parameters:

 R:  Resistance (default value = 1 Ohm)

Parameters

TypeNameDefaultDescription
Modelica.SIunits.ResistanceR1Resistance

Connectors

TypeNameDefaultDescription
Modelica.Electrical.Analog.Interfaces.PositivePinp (from OnePort)Left electrical connector
Modelica.Electrical.Analog.Interfaces.NegativePinn (from OnePort)Right electrical connector

Components

TypeNameDefaultDescription
Modelica.SIunits.Voltagev (from OnePort)Voltage drop between the two pins
Modelica.SIunits.Currenti (from OnePort)Current flowing from pin p to pin n