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
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.Resistance | R | 1 | Resistance |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Electrical.Analog.Interfaces.PositivePin | p (from OnePort) | Left electrical connector | |
| Modelica.Electrical.Analog.Interfaces.NegativePin | n (from OnePort) | Right electrical connector |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.Voltage | v (from OnePort) | Voltage drop between the two pins | |
| Modelica.SIunits.Current | i (from OnePort) | Current flowing from pin p to pin n |