Opened 6 years ago
Last modified 6 years ago
#4908 new defect
[NF] Issues with inner/outer with redeclare
Reported by: | adrpo | Owned by: | perost |
---|---|---|---|
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.
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.