Opened 5 years ago
Closed 5 years ago
#5625 closed defect (invalid)
Basic lookup error by the NF
Reported by: | Francesco Casella | Owned by: | Per Östlund |
---|---|---|---|
Priority: | blocker | Milestone: | 1.14.0 |
Component: | New Instantiation | Version: | |
Keywords: | Cc: | giovanni.mangola@… |
Description
@perost, please run the attached test.mos
file provided on the Total.mo
file I'm sending you by email.
The NF complains that
"[Total.mo:167:116-167:130:writable] Error: Variable N_des not found in scope FlexiCaL.FeedWater.FWPHs_Accurate.Sized_FWPHs.FWPH_11. Error: Error occurred while flattening model FlexiCaL.FeedWater.Tests.Tests_FWPHs_Accurate.Test_FWPH_11
This is weird, since the Test_FWPH_11 model contains an instance fWPH_11_1 of model FWPH_11, which extends FWPH_Base, which contains the declaration
parameter Integer N_des=6 "Number of nodes for thermal variables in the Desuperheating Section";
Attachments (1)
Change History (3)
by , 5 years ago
comment:1 by , 5 years ago
comment:2 by , 5 years ago
Cc: | added |
---|---|
Resolution: | → invalid |
Status: | new → closed |
I'm sorry, in the original test I put the setCommandLineOptions()
call after simulate, and in the test posted here I actually forgot that.
I confirm I can simulate the model with -d=newInst
, thanks!
Note:
See TracTickets
for help on using tickets.
Are you sure you're using the NF? I get that error when using the OF, but the model flattens and simulates just fine using the NF.