Opened 7 years ago

Last modified 15 months ago

#4645 closed enhancement

Enhance diode and GTO view — at Version 6

Reported by: massimo ceraolo Owned by: Adeel Asghar
Priority: blocker Milestone: 1.22.0
Component: OMEdit Version: v1.13.0-dev-nightly
Keywords: Cc:

Description (last modified by massimo ceraolo)

In MA ticket 2162 there have been a discussion on the diode symbol. The IEC has the disadvantage that an erroneous connection between anode and cathode is hardly visible. Dropping that line solves this, but is against the effort of making Modelica symbols as IEC compliant as possible.
The decision was to keep the IEC symbol.

However it may occur to newbies that a line is inadvertently drawn between anode and cathode. This is crazy but happens. It produces an issue which is difficult to spot.

Dymola solves this using a graphical representation which does some difference between a correct diode and a short circuit diode (Dymola.png)
OMEdit does not make any difference (OM.png)
Is it possible to consider something also for OMEdit?

Change History (8)

by massimo ceraolo, 7 years ago

Attachment: Dymola.png added

by massimo ceraolo, 7 years ago

Attachment: OM.png added

comment:1 by Adeel Asghar, 7 years ago

I think the MA ticket number is wrong.

comment:3 by massimo ceraolo, 7 years ago

Description: modified (diff)

comment:4 by Martin Sjölund, 7 years ago

What's the Modelica code used for the screenshots?

in reply to:  4 comment:5 by massimo ceraolo, 7 years ago

Replying to sjoelund.se:

What's the Modelica code used for the screenshots?

model DIODES
  Modelica.Electrical.Analog.Ideal.IdealDiode diode annotation (Placement(
        transformation(
        extent={{-10,-10},{10,10}},
        rotation=90,
        origin={-12,0})));
  Modelica.Electrical.Analog.Ideal.IdealDiode diode_SHORTED annotation (
      Placement(transformation(
        extent={{-10,-10},{10,10}},
        rotation=90,
        origin={12,0})));
equation 
  connect(diode_SHORTED.n, diode_SHORTED.p)
    annotation (Line(points={{12,10},{12,-10}}, color={0,0,255}));
end DIODES;

Last edited 7 years ago by massimo ceraolo (previous) (diff)

comment:6 by massimo ceraolo, 7 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.