modelResistance

Example model to test for the DC resistance two port model

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

This model shows how to use a two port resistance. In this example the resistance connects an ideal constant voltage source with a short circuit. The current flowing through the circuit depends just on the value of the two port resistance.

Components

TypeNameDefaultDescription
TwoPortResistancelineRLine resistance
Sources.ConstantVoltageconstantVoltageVoltage source
Modelica.Electrical.Analog.Basic.Groundground
Loads.Resistorshort_circuitShort circuit load
Sensors.GeneralizedSensorsenPower sensor

Revisions

  • June 4, 2014, by Marco Bonvini:
    Added model, documentation and results for regression test.