Opened 11 years ago
Closed 8 years ago
#3077 closed defect (duplicate)
Error in parameter lookup
| Reported by: | Francesco Casella | Owned by: | Adrian Pop |
|---|---|---|---|
| Priority: | high | Milestone: | 1.12.0 |
| Component: | Frontend | Version: | trunk |
| Keywords: | Cc: | Patrick Täuber |
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 by , 11 years ago
| Milestone: | 1.9.2 → 1.9.3 |
|---|
comment:8 by , 9 years ago
| Milestone: | 1.11.0 → 1.12.0 |
|---|
Milestone moved to 1.12.0 due to 1.11.0 already being released.
Note:
See TracTickets
for help on using tickets.

Milestone changed to 1.9.3 since 1.9.2 was released.