Opened 6 years ago
Closed 6 years ago
#5077 closed defect (fixed)
NFTyping.typeComponents fails on Modelica.Magnetic.FluxTubes example
Reported by: | casella | Owned by: | perost |
---|---|---|---|
Priority: | high | Milestone: | 2.0.0 |
Component: | New Instantiation | Version: | |
Keywords: | Cc: |
Description
Please check Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1. After completing NFInst.updateImplicitVariability, the NF fails during NFTyping.typeComponents with this error:
[Modelica trunk/Magnetic/FluxTubes.mo:6619:9-6666:92:writable] Error: Failed to deduce dimension 1 of tabris due to missing binding equation.
The binding equation is indeed present in the referred source code, so it's not clear to me why this happens at all.
Change History (2)
comment:1 Changed 6 years ago by casella
- Component changed from *unknown* to New Instantiation
- Milestone changed from Future to 2.0.0
- Owner changed from somebody to perost
comment:2 Changed 6 years ago by perost
- Resolution set to fixed
- Status changed from new to closed
Fixed in 1384428.
The issue wasn't really that the component was lacking a binding equation. The record instance itself had a binding equation which overrode the bindings on its fields, but this wasn't handled correctly when deducing dimensions.