Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

Wrong (red cross) icon related to causal connecter when using SIunit

Wrong (red cross) icon related to causal connecter when using SIunit

I am using the following code:

within CybSim.Physiology;
encapsulated package Interfaces "Connectors and partial physiological entities"
  import SI = CybSim.Mechanisms.SIunits;
  ...
  connector inputDrug = input SI.MassFlowRate "input Drug mass flow rate connector";
  ...
end Interfaces;


where CybSim.Mechanisms.SIunits is defined by inheriting Modelica SIUnits:

within CybSim.Mechanisms;
encapsulated package SIunits
  "Additional units and methods required for CybSim"
  extends Modelica.SIunits;
  ....
end SIunits;


Although SI.MassFlowRate is correctly understood by Modelica in other CybSim (name of the library that I am developing) classes, however, the default icon associated with inputDrug connector is marked as wrong (red cross). This is solved if Modelica.SIunits is used instead of CybSim.Mechanisms.SIunits.

It seems a small bug of OMEdit (1.14).

Thank you very much in advance for your suggestions.

Manuel

Re: Wrong (red cross) icon related to causal connecter when using SIunit

Dear all,

Version 1.14.1 solves that bug  current/big_smile

Thank you

Manuel

There are 0 guests and 0 other users also viewing this topic
You are here: