Opened 4 years ago
Last modified 3 years ago
#6390 new defect
Cannot extend from RealOutput
Reported by: | Martin Sjölund | Owned by: | Per Östlund |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | New Instantiation | Version: | 1.16.2 |
Keywords: | Cc: |
Description
connector ElectricCurrentOut extends Modelica.Blocks.Interfaces.RealOutput( final quantity= "ElectricCurrent", final unit="A", displayUnit="A"); annotation(uses(Modelica(version="4.0.0"))); end ElectricCurrentOut;
Error: Internal error Invalid connector type on component unit
Change History (5)
follow-up: 2 comment:1 by , 4 years ago
comment:2 by , 4 years ago
Replying to casella:
@perost, is this a trivial fix?
No, it's slightly complicated since the NF doesn't really handle connectors like this at the moment.
comment:3 by , 4 years ago
It could be possible to handle some of these (the ones that don't contain anything except extends/import maybe).
comment:4 by , 4 years ago
Well, if there is a workaround for the TransiEnt library I guess this is not top priority currently.
Note:
See TracTickets
for help on using tickets.
MWE:
gives
upon checking, while
without indication of the source code lines. No idea why.
@perost, is this a trivial fix?