Posted Tue, 18 Jul 2017 13:14:59 GMT by Rosario Notari
Hi!

I'm interested in the performance of the hydrodynamics modelling in WEST so,  I tried to complete the video tutorial posted in DHI account about tracer test.  However, I have found some differences in 17 version that I had tried to overcome and.... I had this error when I was cheking Instances (see attached picture):
Logging window error: Cannot open Palette Library: C:\Users\Public\Documents\DHI\WEST\data\blocks\MSL\WEST.IUWS.PaletteLib.xml

One of the main differences between my procedure and video procedure was that I had to add the code of my new model (ASM1TempTracer) to the wwtp.base.mdl (see attached picture) because no code was generated automatically as explain in the video (tracer video or Add component video tutorial). Is this code ok?

What can I do to solve my problem?

Thanks in advance
Posted Wed, 19 Jul 2017 06:18:40 GMT by Enrico Remigi WEST Product Owner
Hi,

[quote author=rarnaunot link=topic=20581.msg26568#msg26568 date=1500383699]
I have found some differences in 17 version
[/quote]
what do you mean?

[quote author=rarnaunot link=topic=20581.msg26568#msg26568 date=1500383699]
Logging window error: Cannot open Palette Library: C:\Users\Public\Documents\DHI\WEST\data\blocks\MSL\WEST.IUWS.PaletteLib.xml
[/quote]
That is some kind of 'signpost' that WEST uses for the PaletteLib property a newly created Instance.
A WEST.IUWS.PaletteLib.xml palette does not exist though and you are supposed to replace it with the appropriate palette: you could use the ASM1 palette, since you derived your new Instance from ASM1.

[quote author=rarnaunot link=topic=20581.msg26568#msg26568 date=1500383699]
One of the main differences between my procedure and video procedure was that I had to add the code of my new model (ASM1TempTracer) to the wwtp.base.mdl (see attached picture) because no code was generated automatically as explain in the video (tracer video or Add component video tutorial). Is this code ok?
[/quote]
You're right: that part is not (cannot be) automatically generated.
Yes, your code looks correct
Posted Thu, 20 Jul 2017 13:22:20 GMT by Rosario Notari
Hi,

I found some differences from the West videos's version to version 2017 like the absense of auto code generation or the absence of some buttons in the view (Check Instances for example).

From your second answer ("That is some kind of 'signpost' that WEST uses for the PaletteLib property a newly created Instance.
A WEST.IUWS.PaletteLib.xml palette does not exist though and you are supposed to replace it with the appropriate palette: you could use the ASM1 palette, since you derived your new Instance from ASM1." ) I guess that I should follow the next steps:

- Open Block Editor in version 2017 to open the Palette Library (I think it is the only way to see the Palette Library)
- Open a Palette Library.
- Copy the ASM1 palette in my new instance.

I have tried to "open a Palette Library" but the program is not cappable to find any palette archive (attached photo). Where should I find the palette documents?

Thanks in advance

Posted Thu, 20 Jul 2017 18:46:50 GMT by Enrico Remigi WEST Product Owner
[quote author=rarnaunot link=topic=20581.msg26573#msg26573 date=1500556940]
I found some differences from the West videos's version to version 2017 like the absense of auto code generation or the absence of some buttons in the view (Check Instances for example).
[/quote]
Both Code Generation and Check Instance are available in 2017, just like in 2016: a blue downward arrow and a green check symbol respectively.

No, you should not open the Palette in the Block Editor: you simply need to copy the PaletteLib property (a string) from the ASM1Temp Instance to your new Instance - in the Model Editor / Properties pane.

In any case, both the Palette and Icon Libs are stored in the WEST data/blocks/WESTforOPTIMIZATION/Icons folder.

You must be signed in to post in this forum.