Message Boards Message Boards

2 Replies
2 Total Likes
View groups...
Share this post:

How to simulate a Light Emmiting Diode LED in Modelica System Modeler

 I like to include a Light Emitting Diode LED to the simulation. But I do not find any model representing a LED.   Does anyone has a working model of a simple circuit wth the RC circuit?

Please comment or advice .
POSTED BY: Jose Calderon
2 Replies

You can use any of these components:

  • Modelica.Electrical.Analog.Ideal.IdealDiode
  • Modelica.Electrical.Analog.Semiconductors.Diode
  • Modelica.Electrical.Analog.Semiconductors.Diode2

The only thing is that the Voltage drop needs to be adjusted for the led color. Each has a different voltage drop.

POSTED BY: Jan Brugard
Posted 3 years ago

I also didn't found that anywhere. There is an Arduino example here. But a pure simulation would be nice.

POSTED BY: gus s
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract