Opened 7 years ago
Last modified 7 years ago
#4908 new defect
[NF] Issues with inner/outer with redeclare
Reported by: | Adrian Pop | Owned by: | Per Östlund |
---|---|---|---|
Priority: | high | Milestone: | Future |
Component: | New Instantiation | Version: | |
Keywords: | Cc: |
Description
Attached model has an:
inner SimCenter simCenter( contributeToCycleSummary = true, redeclare TILMedia.VLEFluidTypes.TILMedia_InterpolatedWater fluid1, showExpertSummary = true);
where fluid1
is modifying: (nc_propertyCalculation = 1)
which
is then send to an outer: outer SimCenter simCenter
from which is used in an array inside Turbine_HP1
: Turbine_HP1.medium.nc_propertyCalculation
.
What i get is:
[C:/home/adrpo33/dev/OMTesting/ClaRa/SteamCycle_01_total.mo:1382:7-1382:145:writable] Error: Could not evaluate structural parameter (or constant): Turbine_HP1.medium.nc_propertyCalculation which gives dimensions of array: vleFluidNames. Array dimensions must be known at compile time.
Attachments (1)
Change History (2)
by , 7 years ago
Attachment: | SteamCycle_01_total.mo added |
---|
comment:1 by , 7 years ago
Note:
See TracTickets
for help on using tickets.
This model is from ClaRa library: www.claralib.com. Maybe we should add this library to our testing. I will contact them to ask if they have some github.com repository.