BuildingSystems.Electrical.DC.Lines.TwoPortResistance

# .BuildingSystems.Electrical.DC.Lines.TwoPortResistance

Model of a two port DC resistance

## Information

This model represents a resistance that connect two DC interfaces. This model can be used to represent a cable in a DC grid.

The model represents the lumped resistance as shown in the figure below.

## Revisions

- March 19, 2015, by Michael Wetter:
  Removed redeclaration of phase system in `Terminal_n` and `Terminal_p` as it is already declared to the be the same phase system, and it is not declared to be replaceable. This avoids a translation error in OpenModelica.
- January 14, 2015, by Marco Bonvini:
  Added equation that represents Joule losses
- June 2, 2014, by Marco Bonvini:
  Revised documentation.
- October 31, 2013, by Marco Bonvini:
  First implementation.

Generated at 2026-05-09T18:18:56Z by OpenModelicaOpenModelica 1.26.7 using GenerateDoc.mos