CODE program modifications and bugfixes

We changed our reporting tool in August, 2014. This page is not updated any more.
Click here for latest developments

Important: CODE is based on SCOUT. All modifications of SCOUT also affect CODE.

CODE download page

April 2014, SCOUT 3.93

Additional illuminants for color computations

If you need more light sources to compute color coordinates you can now import arbitrary intensity distributions from external text files. An example file (with light sources D50, D55, D75, F1, ..., F12) is distributed here:
Text file with additional illuminants
How it works is described on this page:
new helpfile section about additional illuminants
Additional export format
Optical constant objects can now export their data to text files with 3 columns: Spectral position, n, k

March 2014, CODE 3.92

New parameter fitting mode: 'Honey mode'
(See SCOUT history)

March 2014, CODE 3.91

Small improvements

Duplicate function of list of integral quantities has been fixed.
NFRC Ufactor and SHGC value can be computed for summer and winter conditions.
New integral quantity computing UV transmission: 'Tdw-ISO'.
New integral quantity computing UV transmission: 'Tuv'.
New integral quantity computing UV transmission: 'Tdw-K'.

July 2013

CODE 3.79

Doing it the American way ...
The list of integral quantities now contains objects to compute center-of-glass values following the procedures defined by NFRC. Visible transmittance, solar averaged spectral values, U-value and SHGC have been implemented.

July 2013

CODE 3.78

New color coordinates: CODE objects of type 'Color coordinate' now compute Chroma and Hue values, in addition to L*, a*, b*, X, Y, Z, x, y, z, L, a, b.

Objects of type 'Color angle variation' can now compute and optimize not only L*, a* and b* triples but also the color coordinate sets 'X, Y, Z', 'x, y, z', 'L, a, b' and 'L*, C*, h'.

Objects of type 'Color angle variation' can export their data to *.CSV files (comma separated text files that you can open with Excel, for example). Select the object in the list of integral quantities and use the new menu command 'Export data'.

May 2013

CODE 3.77
Bug fix:
Writing the results of a parameter fluctuation computation has been repared.

CODE download page

November 2012

CODE 3.69
After a long update break (sorry!) we continue to report about CODE progress.

New objects:

Parameter variation: A new object in the list of special computations. Shows how optical functions or integral quantities change with a parameter variation. Works like color box objects.

New integral quantitiy: Solar reflectance (SolarPACES)


New features:

Penalty shape function for integral quantities: This lets you refine the fitting procedure. Instead of always applying a least-square fit you can now set a user-defined expression which defines the penalty of deviations of simulated and target values. You can set, for example, a penalty of zero when the distance of simulated and target value is less than 1 % and go rapidly to very large values for distances larger than 1 % - you do not insist on perfect agreement in this case.

Changes of the EN 410 standard in 2011 can now be switched on or off in UV transmission computations.

Color angle variation: You can now set the type of illumination and the observation angle, also change the pens for drawing the angle dependence curves.

Color view objects: Set illumination and observation angle

Modified handling:

The list of integral quantities has now a 'Duplicate' command. This lets you easily generate copies of items.

May 2011

CODE 3.47:
A new list called 'Final numbers' has been added. It is a list of numbers that can be computed based on the current values of fit parameters, optical functions and integral quantities. You can refer to all these quantities using formula symbols and generate 'final numbers' of your choice.

You can now optionally exclude the computation of optical functions and integral quantities during a fit. This can save a lot of time if you work with large configurations involving many integral quantities for which you want to know the values after the fit only.

Integral objects of type 'Color view' do now store the settings for the illuminant and the fixed L* value. In addition, you can set the observation angle of the color computation to 2 or 10 degrees.
The corresponding view object can now display a colored rectangle based on the current a* and b* values and the user-defined fixed L* value. This behaviour is obtained setting display mode 5.

August 2010

CODE 3.33, batch control mechanism:
Entering many input files has been made much easier using the command 'Scan directory'. For an explanation of this command get the new SCOUT manual as PDF from the 'Things to read' page in our support section.
Use the command 'Fit all missing samples' of the batch control window if you want to apply the batch fit method for only those samples that have no results yet. This is useful if you have processed some of the samples manually already, using the command 'Fit this sample'.

The OLE property tec_value_nickname(i) returns the nickname of the integral quantity with index i (counted 1, 2, 3, ...).

The computation of U-values can now take into account the emissivity of the interior surface. Since the effective emissivity at this surface depends on conditions like ventilation or water coverage, this feature is an option that the user has to switch on explicitly and on purpose. Reducing the heat transport by simply applying a low-E coating at this position is not safe.

July 2010

CODE 3.32: The new object type 'Optical function fluctuation' in the list of special computations allows now to investigate how 2 arbitrary optical functions change under thickness fluctuations. The usage is very much like that of a color box object. However, you can now use an arbitrary optical function for the x-values and another one for the y-values. With optical functions you can refer to spectral values like average transmittance or to integral quantities.

CODE 3.31: Transmittance computation according to the Dutch standard NEN 2675 is now integrated in CODE.

July 2009 - July 2010

CODE 3.30: CODE is now ready for Unicode, i.e. international character sets. You can build user interfaces in Japanese, Chinese, Russian and whatever language you want to see.

Besides this, we have made numerous small modifications and several bugfixes.

Starting with version 3.29 you can set emissivity values in spectrum objects, using the menu command "File/Options/Parameters U value computation". Objects in the list of integral quantities that compute U- or g-values or temperatures have now the option to take over the emissivity values from the associated spectrum object. With this option selected, you can change the emissivity values in the spectrum object, and all related integral quantity objects take the new settings automatically for their computations. Version 3.28 features several small bugfixes (report command in some lists, main view scaling of optical constant graphs in main views, parameter variation, loading of old *.s98 configuration files, ...) and some new view items (will be documented later). You can use the new menu command File/Options/Appearance/Suppress thickness information ... in order to suppress the output of layer thickness values in layer stack views. This is practical if you would like to show the layer structure but hide explicit thickness values.

July 2009

CODE 3.16: You can now control the optimization of integral quantities by OLE automation. Get and set the target value addressing the property tec_value_target_value(index), and switch on the optimization of an integral quantity by setting the property tec_value_optimize(index) to 1. Assign the value 0 to switch optimization off. The tec_value_optimize property is an integer.

July 2009

CODE 3.16: We have re-entered missing items in type selection boxes which had been removed accidentally.

July 2009

CODE 3.15: During the last weeks we have re-build almost all objects related to the list of materials, i.e. those which are used to define optical constants. The consumption of Windows resources has been heavily reduced which should avoid problems loading large configurations. As a consequence of these changes the object types are different now - this has to be taken into account in numerous small procedures. We found and removed a large number of errors, mainly in drag&drop functions, but we cannot exclude the existance of some more. If you detect problems, please be patient and report to us what you observe. We will be eager to repair the software as quick as possible.

February 2007

CODE 2.80: Please read the remarks about the new SCOUT version 2.80 which apply to CODE as well.

January 2007

The OLE automation type library has been updated - you can now use again the same commands and properties that are available in SCOUT.

July 2006

The investigation of color stability of coatings is much easier now: There are objects (in the list of integral quantities) to compute and optimize the color variation with angle of incidence and the color variation due to parameter fluctuations. Up to now fluctuations of layer thickness values and master parameters are supported. Since you can control all other model parameters by master parameters, this means that you can investigate the influence of tolerances of any model parameter, in particular those used to generate optical constant?models for n and k.

Color?variations due to thickness or master parameter fluctuations will also show up in the?views of the 'Virtual Office Tower' (see list of integral quantities). The reflectance spectrum of every window is computed using its own realization of parameter values.

November 2004

As described for the SCOUT software, the layer stack definition window has been improved. On the left side you see a treeview of pre-defined layer stacks that you can drag into the layer stack definition. CODE looks for layer stack definitions in the database folders 'Substrates', 'Panes', 'Gases', 'Foils' and 'Coatings'.

In the list of integral quantities, there are now objects that compute the absorption of solar radiation (DIN and EN standard) in the first, second and third pane of multiple glazings.

January 2004

The Report command in the list of integral quantities works properly now.

The values of integral quantities can be accessed in the new list of 'Optical functions'. This way you can add these items to the batch control window.

January 2003

Version 2.1 is released: All changes of the SCOUT software are also made in CODE.

New integral quantities: g, color rendering index, emissivity, thermal transmittance U

21.1.2003: Sorry, we just found that the new SCOUT 2.13 version cannot read configurations properly in some cases. The problem is fixed now, please download the new program file from the download section (the small CODE 2.1 download only). Replace the program file Win_coat.exe by the new one.

January 2001

The computation of optical monitoring charts has been implemented in CODE.

December 2000

After some internal re-arrangements large CODE configurations require significantly less Windows resources.

October 2000

The new commands Parameter variation and Repeat parameter variation in the Actions submenu (see the description on the SCOUT bugfix page) can also be used in CODE. Besides the variation of the spectra, CODE also computes the variation of quantities like colors and integral reflection and transmission values. In combination with the new graphical capabilities of the workbook, these new commands are very poerful tools for thin film designs.

The actual values of integral quantities can now be displayed in views. Views can also contain color visualizations now.

September 2000

To view the appearance of coatings for architectural applications you can now visualize a virtual tower equipped with you newly designed layer stack. For each window of the building the reflectance spectrum and the corresponding color is computed (for unpolarized radiation) taking into account the appropriate angle of incidence.

January 2000

Parallel to the change from SCOUT_98 to SCOUT (version 2) we have changed the name Window Coating Designer to CODE (Coating Designer). This indicates that the software is useful not only for window coatings, but also for other kinds of layer stacks with optical functions.

August 99

An error in the computation of the color coordinate b* has been found and removed.

Juli 99

An error in the computation of the Lab-color coordinates has been found and removed. WCD computed always the absolute value of these quantities, now also the sign is computed correctly.

April 99

WCD now computes the quantities 'Dominant wavelength' and 'Purity'. The corresponding objects also show the position of the 'layer stack color' in the x-y-colorplane. While changing any of the model parameters, e.g. by sliding a layer thickness, you can watch an instant update of the color's location in the x-y-plane.

With 'Color view' objects you can also see instantly on the screen how the sample will look like. A rectangle is filled with the computed color of the spectrum. Although usually computer screens are not calibrated and the transformation of color coordinates to screen R,G,B-values is not really exact, this feature can be very instructive. In combination with the new feature that the angle of incidence now is a fit parameter that can be varied by sliders you can elegantly rotate a window coating with the mouse and see how its appearance changes.

The computed integral values can be accessed from other programs by OLE automation. An application example is given in the new helpfile.

January 99

WCD now supports the computation of the color coordinates X,Y,Z, x,y,z, Lab and L*a*b* for illuminants A, D65 and C both for 2? and 10? observation angle.

Also Light Transmittance and Light Reflectance are calculated for the illuminants A, D65 and C.

You can now compute the integration of the product of the layer stack reflectance or transmittance and a user-defined spectrum. The integral can be optimized like all other integral quantities. This feature is useful if you have to design a layer stack which absorbs as much radiation as possible from a given light source, such as in the case of solar absorbers for heating water or photovoltaic applications.

CODE main page