modelDCgen

Extends from Modelica.Electrical.Analog.Interfaces.OnePort (Component with two electrical pins p and n and current i from p to n).

Connectors

TypeNameDefaultDescription
PositivePinp (from TwoPin)Positive electrical pin
NegativePinn (from TwoPin)Negative electrical pin

Components

TypeNameDefaultDescription
SI.Voltagev (from TwoPin)Voltage drop of the two pins (= p.v - n.v)
SI.Currenti (from OnePort)Current flowing from pin p to pin n

Revisions

  • February 4, 2025, by Jelger Jansen:
    Added Modelica.Units. to one or multiple parameter(s) due to the removal of import in IDEAS/package.mo. See #1415 .
  • October 21, 2015 by Filip Jorissen:
    Changed class declaration to model declaration for issue 398.