Opened 10 years ago
Closed 7 years ago
#3077 closed defect (duplicate)
Error in parameter lookup
Reported by: | casella | Owned by: | adrpo |
---|---|---|---|
Priority: | high | Milestone: | 1.12.0 |
Component: | Frontend | Version: | trunk |
Keywords: | Cc: | ptaeuber |
Description
The model ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorHtc gives the following compilation error:
[...Examples.mo:1433:85-1433:104:writable]
Error: Variable gamma_nom not found in scope ThermoPower.Gas.Flow1DFV$Plant$Boiler$GasSide
The model generating the error looks like this:
model HeatExchanger parameter Real gamma_nom=150; ... Gas.Flow1DFV GasSide( redeclare model HeatTransfer = FlowDependentHeatTransferCoefficient(gamma_nom=gamma_nom));
OMC doesn't find gamma_nom in the scope of GasSide (which is correct), but then doesn't look for it in the scope of HeatExchanger, where it would be found.
Change History (9)
comment:1 Changed 10 years ago by sjoelund.se
- Milestone changed from 1.9.2 to 1.9.3
comment:2 Changed 9 years ago by sjoelund.se
- Milestone changed from 1.9.3 to 1.9.4
Moved to new milestone 1.9.4
comment:3 Changed 9 years ago by sjoelund.se
- Milestone changed from 1.9.4 to 1.9.5
Milestone pushed to 1.9.5
comment:4 Changed 9 years ago by sjoelund.se
- Milestone changed from 1.9.5 to 1.10.0
Milestone renamed
comment:5 Changed 8 years ago by ptaeuber
- Cc ptaeuber added
Will this problem be fixed with the new instantiation?
comment:6 Changed 8 years ago by adrpo
Yes, the new instantiation will handle this case.
comment:7 Changed 8 years ago by sjoelund.se
- Milestone changed from 1.10.0 to 1.11.0
Ticket retargeted after milestone closed
comment:8 Changed 8 years ago by sjoelund.se
- Milestone changed from 1.11.0 to 1.12.0
Milestone moved to 1.12.0 due to 1.11.0 already being released.
comment:9 Changed 7 years ago by casella
- Resolution set to duplicate
- Status changed from new to closed
Duplicate of #2660
Milestone changed to 1.9.3 since 1.9.2 was released.