Opened 4 years ago
Last modified 3 years ago
#6390 new defect
Cannot extend from RealOutput
Reported by: | sjoelund.se | Owned by: | perost |
---|---|---|---|
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)
comment:1 follow-up: ↓ 2 Changed 4 years ago by casella
comment:2 in reply to: ↑ 1 Changed 4 years ago by perost
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 Changed 4 years ago by sjoelund.se
It could be possible to handle some of these (the ones that don't contain anything except extends/import maybe).
comment:4 Changed 4 years ago by casella
Well, if there is a workaround for the TransiEnt library I guess this is not top priority currently.
comment:5 Changed 3 years ago by casella
- Milestone 1.18.0 deleted
Ticket retargeted after milestone closed
MWE:
gives
upon checking, while
without indication of the source code lines. No idea why.
@perost, is this a trivial fix?